<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div>Hello,</div><div><br></div><div>Is StatisticsImageFilter->GetMaximum() and GetMinimum() the ITK functions that calculate the max/min values in the 2D image array? </div><div>I’m running the example code from <a href="https://github.com/lorensen/ITKWikiExamplesTarballs/raw/master/StatisticsImageFilter.tar">ITKWikiExamples</a>, and the output is:</div><div><br></div><div><div>Mean: 23.5875</div><div>Std.: 73.8819</div><div>Min: </div><div>Max: �</div></div><div><br></div><div>I modified the code to write the image to file (attached). As far as I can tell, statisticsImageFilter->GetMinimum() should be 0 and statisticsImageFilter->GetMaximum() should be 255.</div><div><br></div><div>Is GetMinimum() and GetMaximum() not the right functions?</div><div><br></div><div>Thanks in advance</div><div><br></div><div><img src="cid:075AAAE2-374A-4A10-8606-BF18EB1CC678" type="image/png"></div></body></html>