[Insight-users] Scalar range of pixels
Neuner Markus
neuner.markus at gmx.net
Wed Nov 26 13:41:57 EST 2008
Hi,
You can use NumericTraits do obtain the pixel range.
itk::NumericTraits<unsigned char>::PrintType>(itk::NumericTraits<T>::min();
itk::NumericTraits<unsigned char>::PrintType>(itk::NumericTraits<T>::max();
or look directly at vnl_numeric_limits to prove even more.
Greets
Eduardo Camargo wrote:
> Hi,
>
> In VTK, vtkImageData class, there is a GetScalarRange method. Is there
> a similar method in ITK? I need to get the range of values. Sorry for
> my english.
>
>
> --
> Best regards,
>
> Eduardo Camargo
> Analista de Sistemas
> HeMoLab - http://www.lncc.br/prjhemo/equipe/desenv/eduardo.htm
> Laboratório Nacional de Computação Científica - LNCC
>
> ------------------------------------------------------------------------
>
>
>
>
> --
> Atenciosamente,
>
> Eduardo Camargo
> Analista de Sistemas
> HeMoLab - http://www.lncc.br/prjhemo/equipe/desenv/eduardo.htm
> Laboratório Nacional de Computação Científica - LNCC
> ------------------------------------------------------------------------
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
More information about the Insight-users
mailing list