Filling a part of binary image with zeros
3 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Image Analyst
2013-4-7
Don't use a double array, just use a logical:
BW2(2:202,112:339)= false;
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!