I’m following up to a question I posted awhile back, but never received a response about. I hope I can simplify my question in order to get some feedback. I’m playing around with the
MRFImageFilter and am confused about the image inputs for the function.
In the examples within Examples/Statistics/ScalarImageMarkovRandomField1.cxx and Examples/Segmentation/GibbsPriorImageFilter1.cxx, both scripts take a two input images. The first is the original image and the second is an initial classification for that image.
In both of these examples, the
labelReader used for the classification image is not used again after the image is read. This leads me to believe that the classification image is not actually an input into the MRF-based filter.
I would appreciate any discussion or feedback!