Filter löschen
Filter löschen

How to extract the pixels of segmented image that has different label from the ground truth image?

1 Ansicht (letzte 30 Tage)
I have segmented and ground truth image.
Segmented images obtained using FCM. while the ground truth image was made with manually segmentation using image processing application by people with competency in this field.
This image is a black and white images and only had 2 label (0 and 1). I want to compare both images and extracting the pixels of the segmented image that has a different label from the ground truth. How to do it?
Thanks

Akzeptierte Antwort

Image Analyst
Image Analyst am 4 Jan. 2016
You can use xor()
differentPixels = xor(segmentedImage, groundTruthImage);

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by