Missing samples in image

2 views (last 30 days)
rest12
rest12 on 9 Jan 2014
Commented: Image Analyst on 10 Jan 2014
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.

Answers (1)

Image Analyst
Image Analyst on 9 Jan 2014
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 Comments
rest12
rest12 on 10 Jan 2014
I find the solution.
Image Analyst
Image Analyst on 10 Jan 2014
It should look exactly like mine, except that your variable names may be different.

Sign in to comment.

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!