> I am trying to read a JPEG file, run it through unflatten data.vi, and
> display it on an intensity graph. I am getting an image that is
> recognizable, but not much better.
>
> Anyone done this before?
The most common problem is that the intensity graph Z Scale isn't set properly.
When displaying something using a color table, you will want to set the
Z Scale
Range Min to 1 and Max to 254. The other thing is that the Y scale is typically
upside down and you may also need to transpose the 2D array. The
easiest way is
to popup on the intensity graph and choose transpose, or of course you
can use
the array node on the diagram.
> Also, how come the "Read JPEG File.VI" always outputs a depth of 8 when
> I know the JPEG I am reading is 24-bit color?
>
Actually, I t
hink all JPEGs are true color. I'm surprised to see the
depth hard-coded to 8. I suspect that it is all the DLL supports for now.
Greg McKaskle