how can fill gaps in binary image?
    2 views (last 30 days)
  
       Show older comments
    
how can I fill gaps (red)in this binary image? I've used this method but I dont know how can fill gaps here!!

0 Comments
Accepted Answer
  Image Analyst
      
      
 on 24 Dec 2014
        What do you want to fill the gap with? A uniform color, like white? If so...
grayImage(row1:row2, col1:col2) = 255;
2 Comments
  Image Analyst
      
      
 on 24 Dec 2014
				What is the name of your image variable? Replace my "grayImage" with your variable name. What rows and columns do you need replacing? Just assign them to row1, row2, col1, and col2.
More Answers (0)
See Also
Categories
				Find more on Image Segmentation and Analysis 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!
