<div dir="ltr">I was trying to use itk.StatisticsImageFilter to check the outcome of my image reader. but all the results are wrong.<div><div>reader1 = itk.ImageFileReader.IUC3.New()</div><div>reader1.SetFileName(inputImagetest)</div><div><br></div><div>rangetest=itk.StatisticsImageFilter.IUC3.New()</div><div>rangetest.SetInput(reader1)</div><div>print 'range: ', str(rangetest.GetMinimum())</div></div><div><br></div><div>result:</div><div>range:  255<br></div><div><br></div><div>obviously this is not true for my image : it is a binary image and has only 1 and 100 two values.</div><div><br></div><div>I am working on a python 2.7 wrapped ITK4 . if the python2 is incompatible with itk?</div></div>