Issue with ImageLoad for .png files on a Mac
| doctorZZ | August 9, 2012 - 16:59 | ||
|---|---|---|---|
|
I've written a procedure to generate a histogram of all the gray levels. It's important that I get an accurate read of the exact gray level in the .png files I'm using. So, I'm testing the procedure on some small, square images of uniform gray level. When I import the image into Igor Pro with the ImageLoad function and examine the wave, I find that all of the entries are some lower number (for the case of RGB=200, the imported 3D wave has all values equal to 188). I find that this is a consistent problem across all gray levels. I'm at a loss as how to proceed. Anyone have any suggestions? Thanks doctorZZ |
|||

Joined: 2007-06-29
Location: United States
Be sure you are using the /T=rpng flag.
If that is not the issue, perhaps post the file.
Joined: 2007-06-29
Location: United States
This issue has been resolved on the phone. Indeed rpng is the answer.
A.G.
WaveMetrics, Inc.