The executable requires two files: BrainT1Slice.png and BrainT1Slice_labelled.png
The BrainT1Slice.png file is in the Examples/Data directory from the ITK root, but the labelled image is not. Is there a place that I need to download this file? I might have missed it, but I read the README files.
It dawns on me that the filename is just an example, but I was thinking that there might be good data with a labelled image that I can start an MRF project.
Thank you very much Matt. Can you view the image? I am having some problems with it. It does not display properly when clicking the link in Windows. Here is what I get from Linux with OpenCV:
[melrobin@scorpion ITK]$ python3
Python 3.7.5 (default, Oct 17 2019, 12:16:48)
[GCC 9.2.1 20190827 (Red Hat 9.2.1-1)] on linux
Type âhelpâ, âcopyrightâ, âcreditsâ or âlicenseâ for more information.
import cv2
X=cv2.imread(âbuild/ExternalData/Testing/Data/Input/Statistics/BrainT1Slice_AfterKMeansClassification.pngâ)
libpng warning: sCAL: invalid unit