<div><div class="gmail_quote">011/9/16 Dženan Zukić <span dir="ltr"><<a href="mailto:dzenanz@gmail.com">dzenanz@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font size="2"><font face="verdana,sans-serif"><div><div>Below is the classic way of getting max. Same for min, and they can both be computed in one pass.</div><div><br></div><div>typedef itk::MinimumMaximumImageCalculator< InternalImageType > CalculatorType;</div>
<div>CalculatorType::Pointer calculatorI = CalculatorType::New();</div><div>calculatorI->SetImage( someImage);</div><div>calculatorI->ComputeMaximum();</div><div>maxValue = calculatorI->GetMaximum();</div></div>
</font></font></blockquote><div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8">Dzenan,<div><br></div><div>This is the VTK list :)<br><br></div><div>David </div></div></div>