Can any body guide me how to convert image and its DFT like the above one using MATLAB. The region in black means that the value of these pixels is 0.

답변 (1개)

Image Analyst
Image Analyst 2014년 1월 9일

0 개 추천

Make a binary image which is true where there is supposed to be black pixels and false where there is the gray. Then just zero out your image at the true locations
yourImage(binaryImage) = 0;

댓글 수: 3

rest12
rest12 2014년 1월 10일
편집: rest12 2014년 1월 10일
No actually I want to convert below right image (which is my input image) in to left image which is my output. How can I do that?
rest12
rest12 2014년 1월 10일
I find the solution.
Image Analyst
Image Analyst 2014년 1월 10일
It should look exactly like mine, except that your variable names may be different.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Convert Image Type에 대해 자세히 알아보기

질문:

2014년 1월 9일

댓글:

2014년 1월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by