<div dir="ltr"><div><div>Hi, my Itk friends,<br></div>      I am using python warped ITK to write my first itk process to analysis series of  mhd images, I test my procedure in slicer4 first to make sure it works well. Then I start the programming. However, two problem block me for a whole day. <br></div><ul><li>     The imagetype of itk.Image.UC3 should be used for 16 bit image in all the itk instructions. But in my case it only has a range of 0-255. Then I take itk.Image.F3, then it get a range of '-3.40282346639e+38  3.40282346639e+38' . The grey value of my image is 0-9000 . How could I read it proprietorially?</li></ul><p><br></p><ul><li>     I need to get a label map with simply threshold method, and then make few statistics with LabelStatisticsImageFilter. So the BinaryImageToLabelMapFilter is taken. but then the key error occurs:  </li></ul><div> LabelFilter = itk.BinaryImageToLabelMapFilter[IUC3].New()<br>  File "/usr/local/lib/ITK-4.7/Python/itkTemplate.py", line 263, in __getitem__<br>    (str(parameters), self.__name__))<br>KeyError: "itkTemplate : No template [<class 'itkImagePython.itkImageUC3'>] for the itk::BinaryImageToLabelMapFilter class"<br><br><br></div><div>       What should I do to achieve the LabelStatisticsImageFilter ?<br></div><div>      Thank you in advance<img goomoji="330" style="margin: 0px 0.2ex; vertical-align: middle;" src="cid:330@goomoji.gmail"><br></div></div>