08-23-2010 01:39 AM
Hello,
Topic = Problem,
found out that there is an SetImageSize Function in the Vision Development Module, but maybe there is some other way to do this with the Vision Builder 2009 SP1 and/or LabView 8.5 without the VDM?
Thanks!
08-23-2010 08:41 AM
Hi,
i tried to build a little custom VI (see noChangeOk.png) and it works fine, as long as i dont change the size of the image.
If i try to add something to the X/Y resolution the output image has the correct size, but is completly black (See anyChangeImageBroken.png)?
Any solutions for that?
Thank you!
08-23-2010 09:57 AM
The only solution I know is to create a new image that is the larger size that you want, then use ImageToImage to paste the old image into the new image.
Setting the image size directly either erases the image or rearranges it into garbage.
Bruce
08-24-2010 12:57 AM
It looks like there is no ImageToImage.vi available in labview without the development module.
(The Search only returns ImageToArray and ColorImageToArray).
Any solutions available without the devkit?
08-24-2010 04:26 PM
It won't be very efficient, but you can convert the image to an array, use the LabVIEW array primitives to add the band you want for overlay, then use array to image to convert the array back to an image and the overlay functions to overlay text into the band you added.
-Christophe
08-25-2010 02:15 AM
Thanks ChristopheC, but there is no ArrayToImage available. Maybe this cant be done without the devkit 😞