Creating 2D sinusoid image with spatial frequency

์กฐํšŒ ์ˆ˜: 12 (์ตœ๊ทผ 30์ผ)
Rinita
Rinita 2020๋…„ 1์›” 30์ผ
๋‹ต๋ณ€: KSSV 2020๋…„ 1์›” 30์ผ
Hello, I am confused as to how I should create the following type of image in MATLAB.
"Consider ? x ? grey level images that are raised 2D sinusoids of some spatial frequency ? cycles per ? pixels where ?=256.
?(?,?)= 1/2(1+sin (2?/? ? ?))."
We have to convolve the above image using gaussian filtering.

์ฑ„ํƒ๋œ ๋‹ต๋ณ€

KSSV
KSSV 2020๋…„ 1์›” 30์ผ
k = 3. ;
N = 256 ;
x = 1:N ;
y = 1:N ;
[X,Y] = meshgrid(x,y) ;
I = 1/2*(1+sin(2*pi/N*k*X)) ;

์ถ”๊ฐ€ ๋‹ต๋ณ€ (0๊ฐœ)

์นดํ…Œ๊ณ ๋ฆฌ

Help Center ๋ฐ File Exchange์—์„œ Image Category Classification์— ๋Œ€ํ•ด ์ž์„ธํžˆ ์•Œ์•„๋ณด๊ธฐ

ํƒœ๊ทธ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by