how to mark pixel as zero
Show older comments
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 Comments
Image Analyst
on 24 Jul 2012
You don't need to make the remaining pixels zero in order to measure the largest "segment".
M@lik Ali
on 24 Jul 2012
Accepted Answer
More Answers (1)
jagadeeshwar
on 23 Jul 2012
0 votes
hai imran just crop the image which segment u want it can be enlarge after crop operation
4 Comments
M@lik Ali
on 23 Jul 2012
Image Analyst
on 24 Jul 2012
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
on 24 Jul 2012
M@lik Ali
on 24 Jul 2012
Categories
Find more on Computer Vision with Simulink 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!