Magnitude and Phase Information of the FFT

http://kr.mathworks.com/help/signal/examples/practical-introduction-to-frequency-domain-analysis.html#zmw57dd0e4405



2D shift

http://www.mathworks.com/matlabcentral/newsreader/view_thread/334354


My Code:

sz = 513;

gv = linspace(-1,1,sz);

[X,Y] = meshgrid(gv,gv);

[th,rh] = cart2pol(X,Y);


for ii=1:sz

    for jj=1:sz

        if th(ii,jj) < 0

            th(ii,jj) = th(ii,jj) + 2*pi;

        end

    end

end


m = zeros(sz);


m = m + perlinBandAnalyser(sz,1,5, @(n,noise,w) deal(w(n)*noise,0), ones(9,1));


close all;

figure, calcPSD(m, 'show', 'mesh');

figure, imshow(m, []);


ft_m = fft2(m);

ft_IanShift_m = ft_m;

%phase shift 

shiftAmount = 0.2*pi;

phase = angle(ft_IanShift_m); % Apply phase shift

amp = abs(ft_IanShift_m);

N = ceil(size(phase)/2);

  

    phase(:,2:N(2),:) = phase(:,2:N(2),:)+ shiftAmount;

    phase(:,(N(2)+1):(size(phase,2)),:) = phase(:,(N(2)+1):(size(phase,2)),:)- shiftAmount;

    

    ShiftedImage = amp.*exp(1i*phase); % Recombine magnitude and phase

    PhaseStim = real(ifft2(ShiftedImage)); % Perform inverse fourier transform

    

    Range = max(max(max(PhaseStim))) - min(min(min(PhaseStim)));

    PhaseStim = uint8(((PhaseStim - min(min(min(PhaseStim))))/Range)*255);


figure, imshow(PhaseStim,[]);



return;

'Cat.Storage > SubCat.Practice' 카테고리의 다른 글

[Directx12] 2. Anatomy of the sample code  (1) 2017.04.14
[Directx12] 1. Settings  (0) 2017.04.13
[Matlab] Define 2D sinc() function  (0) 2016.09.21
C++ binary read/write sample  (0) 2016.03.15
D3D11 Rendertarget setting example.  (0) 2016.01.06
Posted by Cat.IanKang
,

1. Using virtual addresses


It makes relocation of program is simple since program can be loaded anywhere in memory. In other words, any number of compiled applications can be loaded simultaneously. 


2. TLB (translation-lookaside buffer) 


In virtual memory system, performance is degraded due to page accesses. To reduce the number of page accesses, we are going to add what is called TLB. A TLB is part of the chip's memory-management unit (MMU), and is simply a hardware cache of popular virtual-to-physical address translations; thus, a better name would be an address-translation cache. Upon each virtual memory reference, the hardware first checks the TLB to see if the desired translation is held therein; if so, the translation is performed without having to consult the page table. 

Posted by Cat.IanKang
,

1) Clone Camera


About the App

Clone Camera, is a great app that combines multiple photo editing functions. You can create unique photos with Clone Camera's function of cloning figures of a person or other objects multiple times in one photo.


Developer's Note

"Compared to apps that claim to make exceptional photos, Clone Camera surpasses these apps' features with the ability to clone a person or object multiple times in a single photo.


When we made our app, our biggest focus was how to make it easy for our users. We did not want to just push new features into our app, but create and provide a better environment for our users. After we looked at the sample codes, SDK documents, and the "S Note," we were convinced that the Samsung Pen SDK and Look SDK could give our users a new experience.


Samsung Mobile SDK has plenty of useful functions and each function has different characteristics and advantages. We noticed that Hovering and Air Button functions were essential for overcoming the existing touch interface limitations. Since hovering actions can be separated from touch actions, we can create more features by combining the two. For example, we can easily switch from "View" mode to "Editing" mode when the S Pen is used, as well as moving images by hovering at the edges of the screen, just like the tool "Smart Scroll."





2) Skedio


About the App

Skedio, is a vector based drawing app with rich editing capabilities which enables users to produce or edit a high quality illustration very easily. With Skedio, any object, from simple line to complex free-form curve or text label, can be edited independently.


Developer's Note

"Skedio is an app for sketching and illustration. It lets users easily create professionally looking, high quality drawings. Its shape, size and position can be precisely tuned for it to find exactly the right place in the resulting masterpiece. Also, Skedio is a powerful tool for communicating your ideas by sharing drawings with friends, family, or colleagues.


In our project we found hovering capabilities extremely useful. Hovering events give users some additional information beneath the tip of the active pen before actually touching the screen. This creates an additional dimension of user interface, which traditional touch interfaces lack. Also, the Air Button is a great idea. It allows you to create dynamic context-dependent menus that are quickly accessible with the help of side button on S Pen.


There is no special magic trick. Some general advice that we can give, is not to be afraid to experiment. Samsung Mobile SDK gives developers a handful of great functionality at no cost. Moreover, Samsung keeps enhancing and improving SDK. It is getting more and more powerful with each new release."




Posted by Cat.IanKang
,

1) WaerCar (http://devpost.com/software/wearcar--2)


Supporting Functions

Supporting Car Control Function through Samsung Gear A. Remote Car’s Engine Start/Stop B. Remote Car’s Battery On/Off C. Remote Car’s Door Open/Close D. Remote Car’s Buzzer Control E. Remote Car’s Light Control

Supporting Abnormal Warning through Samsung Gear A. Door Open Warning B. Trunk Open Warning C. Light On Warning

The Host Mobile phone, which connects with Gear, also has same Car Control functions.


Merits:


User can easily open car’s door and start engine without Car Key by my APP.

User can remotely command warming up the car in winter by my APP.

Prevention to discharge car batter through Light on Warning message in my APP.

Prevention to be robbed car by Door and Trunk Open Warning message in my APP.

my APP can apply to general car even if the car is not recent model through my Bluetooth control module. (We applied our APP to the 2002 SUV car in my demo movies)

Supporting security communication and fairing.


** If this APP is installed in user mobile phone, the Gear APP is automatically installed in the Gear by the Samsung Gear Manager. The install duration time by the Samsung Gear Manager is around 1~2 minutes.






2) walk match


Random match with other country's competitor. 7 days of walk match motivates your exercise!


Enjoy your WALKING LIFE !


We are 'Integrated Type' so you must install mobile application, only support English







3) Wordjoy (http://devpost.com/software/wordjoy)


WordJoy enables you to grow your English vocabulary by enabling you to learn new words every day from your Samsung Gear 2 Watch.


Main features:


Word of the Day with definitions and examples

Random words - Study random words whenever you want



4) Slide Easy (http://devpost.com/software/slide-easy--2)


SlideEasy offers completely new way of running presentations !


With this app we wanted to demonstrate innovative use of Samsung smartwatch as a presentation helper tool.


First you need to load presentation pdf, add slide notes and configure things like time limits for presentation and optionally time limits for individual slides. Please note that setting both total time limit for presentation and limits for individual slides are optional. You can set slide times it if you wish to see separate time chart in a given slide and being reminded with smartwatch buzz alarms about exceeding time.


You may also want to set total presentation time and let app to share it equally between all slides. Than you may activate Gear gestures and time alarms settings. Configuration options are even more advances as you can choose what type of helper screen you want to see on your phone while the presentation is in the live mode. So you might prefer to see just a note in a full screen, timers or everything at the same time.


Finally you tap Start, and presentation goes live on the big screen or projector connected via MHL cable. Connecting phone with secondary display using MHL cable is not necessary to see how app is working but is recommended to have optimal big screen presentation effect.


Now you may change presentation slides tapping on the left or right part of your smartwatch screen.


Instead of tapping you might prefer to use gestures. With smartwatch on your right wrist you need to make a quick hand movement to the left side in order to switch to the next slide -it's a bit like turning a book page. Opposite movement will get you to the previous slide. We created our own algorithm that analyses smartwatch position and detect if slide change gesture occured. We require gesture to be quick so that you will not make it accidentally while naturally gesticulating. Moving your hand inwards feels more natural that's why if you switch smartwatch to your left hand, app will adjust and in this situation gesture to the right will get you to the next slide.


Keeping time is particularly important aspect of good presentation. Smartwatch can be pretty helpful here. Firstly it features timers with constant sync between smartphone and smartwatch apps. To make it faster to read we added visual signals - background will turn orange if you're in the last 10 seconds allowed within current slide or presentation. Background will turn red if you your time is up.


Finally we have buzz alarms (configurable) in case you prefer not to be distracted at all looking at the watch. Single buzz will notify you that current time limit is just 10 seconds. Two buzzes mean that your time is up. This is discrete way of notifying user that will not be noticed by the audience.





5) PaliPalette (http://devpost.com/software/palipalette--2)


Vector Graphics based Drawing app for Faster and Easier Drawing!


Feature ::


Toolbox on Gear Toolbox came off the android device

Full Screen Canvas No UI on Phone or tablet

Customizable UI You can customize you Gear UI on android device

S-pen Support You can use pen pressure applied brush

Expandability Standard SVG format helps you do more complicate jobs on Computer SVG Editor

※Caution ::


Our Gear app needs android Palipalette app for host device(Android phone or tablet)

Our app optimized for Galaxy Note 3 device.





Posted by Cat.IanKang
,

Book

Cat.Storage/SubCat.Gateway 2015. 9. 3. 00:29

http://blog.naver.com/PostView.nhn?blogId=wikiware&logNo=100042152479&redirect=Dlog&widgetTypeCall=true

'Cat.Storage > SubCat.Gateway' 카테고리의 다른 글

The moon  (0) 2015.08.25
Fractals: Theory and Applications in Engineering  (0) 2015.07.21
UX/UI design site  (0) 2015.07.20
Texture filters  (0) 2015.06.14
Blog (Tutorial Link)  (0) 2015.05.30
Posted by Cat.IanKang
,

1) While texture synthesis has been well-studied in recent years, real-time techniques remain elusive. 


2) Previous texture synthesis methods spend the majority of their time comparing pixel neighborhoods, and thus several attempts have been made to reduce the number of comparisons required. 


3) Texture appearance ranges from structured regular textures, such as a brick wall, to structured irregular textures, such as a stone wall, to stochastic textures, such as roughcast or grass. 


4)Given a sample texture, the goal is to synthesize a new texture that looks like the input. The synthesized texture is tilable and can be of arbitrary size specified by the user. 

'Cat.Storage > SubCat.Research' 카테고리의 다른 글

ISO preference curves  (1) 2015.10.27
DCT versus DFT/KLT  (0) 2015.10.22
Feature vector in image processing  (0) 2015.08.15
Real-time infinite texturing from example - writing reference  (0) 2015.08.10
Reference Category  (0) 2015.08.10
Posted by Cat.IanKang
,

URL: https://www.youtube.com/watch?v=k70xBg8en-4


Steven Yeun & Conan Visit A Korean Spa - CONAN on TBS 


Conan: Well, if there's one thing you can say about me it's that I care passionately about my health and my beauty. That’s why I’ve come to Korea town to the WI SPA, an authentic Korean spa. I brought with me, Steven Yeun. International star. Come on in here. Don't look so scared. Are you Ok?

Yeun: Ye. I’m good.

Conan: You alright?

Yeun: Yeah, this is gonna- uh

Conan: You look worried.

Yeun: Ye. I've only been here one time.

Conan: You battle zombies. You fight the undead. Yet you seem worried about coming to a spa.

Yeun: You walk around here naked.

Conan: No one told me that was part of this... (Couldn't hear what he said clearly after either ><)

Yeun: You're supposed to be naked.

Conan: I've never been naked.

Yeun: So what you just gave me right here is. ??

clerk: So that's a large ___ T-shirt. For only when you go to the co-ed floor. And here are your shorts...

Conan: Oh there's a co-ed area?  If there are going to be other women around what are the rules? maybe speak to them?


Note: Co-ed means "men and women", it originally means "Co-education" which means a school where both boys and girls go to.


clerk: You can mingle, whatever you want. Just no sexual activity or you will be banned. For life.

Conan: Banned for how long?

clerk: Life.

Conan: Oh, life ban. 

clerk: Life-time.

Yeun: Is that one of the policies?

Conan: You have 75 thousand rules here in nine different languages. Nowhere, does it say anywhere Steven? This doesn’t say anything about sexual activity with women.

clerk: So I guess we should put that in there then.

(Italised text means i'm not so sure lol)

Conan: Ye. Guess what It’s gonna take you 24 hours to get that new leaflet made. In the meantime (dancing) 

 

(The scene changes)

 

Conan: You read Korean, what is this saying?

Yeun: It says, "Fire Exit Only" it's in English. 

 

Conan: This is Jonathan. Uh, Jonathan works here at the WI Spa. Is that correct?

Jonathan: Yes I do. Put your clothes in your locker. All the clothes. Can I wear jeans down here?

Jonathan: Nope. No jeans. Because no one is wearing jeans in there. So if you are the only one, you are gonna be looking awkward.

Conan: I'll be in jeans and they'll have their dicks hanging out. So that will look normal. right?

 

(The scene changes – Conan and Yeun take off their gown)

 

Conan: Hello. You're naked. Steven and I are now in a Sauna with uh, two new men. We have never met. hello.

Man: hello

Conan: You seem ______. like calm down.  Just calm. Stay calm. Ok. Alright. Wow. ___culture (???) you have here.

Conan: Hello

Man: Hello how are you.

Conan: Wow. Penis. Ask him if he can tell that I worked out.

Yeun: .. 근육 좋져?

Man: .. 아주그냥 키도 크고 아주 핸섬입니다.

Conan: Why are you not looking at me? Look at me look at me. look at me. 저보세요.

 I don't have breasts. Feel. Feel. Just. You think it's funny when one naked man squeezes the breast of another.. You thought that was funny?

   You want to watch one naked man squeeze. But you want to watch what he did here. Let's do this  for him again. For him right there. You like this? I'm becoming aroused now.

Man: A little bit like this.

(The scene changes)

Conan: What are we doing now?

Jonathan: Now you are going to the ____61 degrees. (Cold tub??)

Conan: Noooooo!

Yeun: (??)

Conan: It’s nice now. Just hold me.

 

(The scene changes)

Conan: Jonathan tell us what happens now. 

Jonathan: You guys are gonna get your scrubs.

Conan: My scrub? Is it a full body scrub?

Jonathan: yes.

Conan: This is disturbing set up. Is this where they do dolphin autopsies? Is this going to hurt?

Jonathan: Um, steven?

Conan: Does this hurt? Does this hurt? You're sadist. You like to hurt people. You like to cause pain. It gives you pleasure. Yes.

Jonathan: Mr. Lee.

Conan: Mr. Lee. Thank you. Ok. That’s hot. No those are freckles. Those stay on.  Those aren't supposed to come off. Steven, it’s not funny. It really hurts.

Yeun: I told you it sucks!

Conan: Awwwwww- , What did Mrs. Lee do (to) you last night.

Yeun: You can see the skin is peeling off

Conan: That skin that's been on me since Jimmy Carter was president. You can’t hurt me now Mr. Lee. I’ve lost all feeling. Awwww-. shut the fuck up Steven. I’ll tell you anything. Our battalion is in the mountains on the north side. You'll never see them coming Mr Lee. What are you doing. Don’t (?), no. oh my god. This skin off my balls. 

Yeun: I’m not doing this

 

(The scene changes)

Conan: Higher Mr. Lee, higher.

Conan: What happens next.

Jonathan: So, why don't we head over to the 찜질방 

Conan: What is 찜질방

Jonathan: 찜질방 is Saunas.

 

Conan: 213 degrees. People carry pizzas in here uncooked and then come out. They have a freshly cooked pizza and they're dead. I’m going in. I might stay in for a long time. They took my skin and now I wanna sleep forever.

This one actually is really good. I think we are in a room filled with cocoa puffs.  hello~

Yeun: Do you know who Conan is?

Woman : No Idea.

Conan: No Idea who I am.

Yeun: Have you ever seen a show called the walking dead?

Woman : No.

Yeun: What's your favorite TV show.

Conan: What TV show do you like.

Woman: Two and a half men.

Conan: Two and a half men?

Woman: Everybody loves Raymond.

Conan: OK. So you don’t know who I am. You don’t know who Steven is. Everyone loves Raymond hasn’t been on the air. Do you like it? Does it make you laugh?

Woman: It’s ok. I get tired of it. 

Conan: Same joke over and over again, like "Oh what am I gonna do?! Oh my wife's mad at me, Ohh my brother's taller than me. OHh what am I gonna do, what am I gonna do?" right?

Woman: He was like this.

Conan: That is the best Ray Romano impression i've ever seen. May I move closer to you or would you rather I did not? 

Woman: You better not. I get nervous

Conan: You get nervous? You don’t trust your self, eh?

Woman: I trust myself. I don’t trust you.

 

(The scene changes)

 

Conan: Well. that was our day at the WI SPA in Koreatown.

Yeun: Thanks for joining me. This was fun. 

Conan: No. That was not fun.

Yeun: I'm blessed.

Conan: It was awful. It was uh, painful and for me I think life shortening.

Yeun: My skin is really smooth.

Conan: I will be dead within 48 hours. Thank you for showing me this and I’m really starving. You wanna lunch?

Yeun: Yes I know (an) awesome place that's close..

Conan: Let's do this, let’s go thank you.

 (song)

 

 

 

 

 

Posted by Cat.IanKang
,

The Moon


URL: http://astronomy.nmsu.edu/tharriso/ast105/Ast105week06.html



15 Interesting Facts You Might Not Know About the Moon


URL: http://www.knowledgestew.com/2015/07/15-interesting-facts-about-the-moon.html

'Cat.Storage > SubCat.Gateway' 카테고리의 다른 글

Book  (0) 2015.09.03
Fractals: Theory and Applications in Engineering  (0) 2015.07.21
UX/UI design site  (0) 2015.07.20
Texture filters  (0) 2015.06.14
Blog (Tutorial Link)  (0) 2015.05.30
Posted by Cat.IanKang
,