jenny Posted March 2, 2006 Report Share Posted March 2, 2006 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 Quote Link to comment
Chris Davis Posted March 2, 2006 Report Share Posted March 2, 2006 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 Quote Link to comment
jenny Posted March 2, 2006 Author Report Share Posted March 2, 2006 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?? anyway chrisdavis thanks, i will try it... Quote Link to comment
Yair Posted March 2, 2006 Report Share Posted March 2, 2006 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. Quote Link to comment
i2dx Posted March 2, 2006 Report Share Posted March 2, 2006 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 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.