Jump to content

how to compress an image?


Recommended Posts

hi, is there anyone can tell me how to compress a image into a fix size (256x128) ?? can labview perform this compression?? i have different size of images, but i need to make all the image into a fixed size?? is there any way to do this?? :)

Thanks

Do you mean "Can LabView open an image (like a JPG file), scale it to 256x128 then write a new image (JPG) out?" If that is what you are asking you might check out George Zoo's Image toolbox.

http://www.geocities.com/gzou999/

I don't know of a pure G implimentation out there but I would love to be proven wrong!

Chris Davis

Link to comment

something like that, because i'm got different size of image when i finish processing the image. all the images are different. i need to compare all the images, but all the images have different size. i can't do the comparison if the size of the image is different.... :headbang:

anyway good idea?? :P

anyway chrisdavis thanks, i will try it... :yes:

Link to comment

You can try finding something called "Bird's eye view". It's an LV add on which has a window where you can see your diagram minimized. Deep inside its hierarchy is a fake bi-linear interpolation VI which can do this. You should be able to find it through OpenG.

You should note however that this probably won't help you. When resizing images of different sizes, I'm fairly sure there is no method to get a perfect match, so to compare them, you will probably need a smart algorithm which can compare an area and average colors and such. IMAQ might have this, or maybe IVision.

Link to comment
Deep inside its hierarchy is a fake bi-linear interpolation VI which can do this. You should be able to find it through OpenG.

:worship:

thank you for THAT tip! i am searching since years for a method to resize images in LabVIEW

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.