Jump to content

Picture Control Woes


Recommended Posts

I am working with a picture control with an image larger than the control.

It's a JPG picture that I have read in from a file.

Zooming sucks :thumbdown:

Let me elaborae.

When I zoom out, so that I can see the entire image, the image turns to crap.

Any suggestions?

BTW I can not use the IMAQ image control for this solution.

-Norm

See attached image for example of discoloration when zoomed out

post-208-1090613175.jpg?width=400

Link to comment

Norm,

Can you attach the original jpeg picture?

I have a few things that I could try.

First, try reading the image (read JPG File) with use 8 bit color table flag set to true.

Note:if it work and If you are still using LV7.0, you will have to do "set control value" on read JPG file, as the "8 bit color table" was disconnected (by mistake by NI) from the ConPane.

Or you can try this (copy from my answer on info labview)

"Check the Bird's Eye View utility.

For the LV6.x code I made a "fake" [read faster]

bilinear interpolation (the name is: Bi-Linear

Interpolation fake__Bird'sEyeView.vi).

It does improve the image - especially text

readability - but makes it softer (slightly blurry)."

PJM

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.