Filling a part of binary image with zeros
Show older comments
How to fill a part of binary image using zeros
i used
BW2(2:202,112:339)= zeros(201,268);
But the result gives me a larger image than the input image and not filled properly with 0's
Answers (1)
Image Analyst
on 7 Apr 2013
Don't use a double array, just use a logical:
BW2(2:202,112:339)= false;
Categories
Find more on Template Matching in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!