how to mark pixel as zero
显示 更早的评论
Hi all
I have a segmented image i want to process only the larger segment. so i want to make the remaining pixels as zero. Please help me how i can do it.
2 个评论
Image Analyst
2012-7-24
You don't need to make the remaining pixels zero in order to measure the largest "segment".
M@lik Ali
2012-7-24
采纳的回答
更多回答(1 个)
jagadeeshwar
2012-7-23
0 个投票
hai imran just crop the image which segment u want it can be enlarge after crop operation
4 个评论
M@lik Ali
2012-7-23
Image Analyst
2012-7-24
Not necessarily true. With a crop, you could have a portion of another blob included in the cropped image, so you could have more than one blob in the cropped image. Besides, he'd first need to know what the largest blob is before he could even crop it, but that's his main problem - finding the largest blob. He doesn't know which blob it is unless he sorts it like I showed him how. Plus there's no need to do any enlarging.
M@lik Ali
2012-7-24
M@lik Ali
2012-7-24
类别
在 帮助中心 和 File Exchange 中查找有关 Computer Vision with Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!