<div dir="ltr"><div><div><div><div><div>Hi,<br><br></div>I'm having some issues with the itkWhiteTopImageFilter (<a href="http://www.itk.org/Doxygen/html/classitk_1_1WhiteTopHatImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1WhiteTopHatImageFilter.html</a>)<br><br></div>I have a 512 x 512 x120 pixels image. Its intensity values go from 0 to 966. I've read and written the image declaring its pixel values as int and unsigned int.<br><br></div>However, when I apply the WhiteTopImageFilter, the result presents negative values (range from -200 to 725) if the image pixel type is declared as int. If the pixel type is declared as unsigned int, values range from 0 to 725.<br><br></div>I'm worried about losing information or applying the filter in the wrong way. Any suggestions, please?<br><br></div><div>Renzo<br></div></div>