Trainable Weka Segmentation Result

Hi so I’ve used the Trainable Weka Segmentation plugin to segment an image, it’s all fine and dandy I have the ‘binary image’ (two-value image), but when I ‘imread’ the image into Matlab, it says that all the values are 1, so I cannot perform any analysis on it.

Is there any specific formatting I need to do before I read it into Matlab?

I have found the fix, you first have to convert it to an RGB color image and then make binary. Save as usual and you’ll have a binary image.

1 Like