Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Opening 16 bit grayscale images

Help
2009-01-29
2013-04-25
  • I'm using VTK to open and edit .raw 16 bit grayscale images. I'm using the vtkPNMreader, and have been able to open the image in a renderwindow.

    Because the image is 16 bit grayscale however, the colors are off: it should be 0-65536 instead of 0-255. Also the color scale is reversed, i.e. 0 is white, not black. How do you work with information of the individual pixels?