[Insight-developers] Is there any way to know Pixel type in Image class?

Sungwook Park parks at cs.unc.edu
Mon Sep 4 21:53:21 EDT 2000


I am implementing pixel-wise subtraction with Image Class.
For proper result, I need to know the Pixel Type of the Image Class.
How can I get the Pixel Type of the image?

eg.
Image<float, 3> image;

image.GetPixelType() returns "float"  // I need this kind of function, but I
couldn't find

thanks
sungwook








More information about the Insight-developers mailing list