08-18-2003 06:14 AM
08-19-2003 03:58 PM
08-20-2003 05:36 AM
08-21-2003 12:26 PM
03-23-2010 11:31 AM
wow.. a 2003 thread with 2010 same problem..
i get an image from my camera in jpeg format i use jpeg decode .vi but it seems that blue and red are incorrect (as described above) i tried colour plane extract but i couldn't use them correct to produce the correct image from them..
How can i change blue channel with red channel?
Thanks
03-23-2010 11:56 AM
03-23-2010 12:13 PM
A word of warning: I think some people have complained of a memory leak when using decode JPEG on color images. You might want to keep an eye on your memory usage and make sure it isn't growing steadily.
It sure would be nice if NI added a built in version of this routine that would extract the color planes correctly. It wouldn't be too difficult - just convert the existing read from file to read from a string instead. I keep seeing people that need this functionality, but NI does not seem to see them.
Bruce
03-23-2010 02:10 PM
"A Person" i tried this but it gives me an error saying that the object from the jpeg decode .vi is not an image..!! although if i link to image.ctl i can show the image on FP or save it as image.
Bruce Ammons is there any other way to do this..? i can't understand why labview doesn't have this functionality.. it's frustrating..
03-23-2010 02:13 PM
Bruce Ammons wrote:
It sure would be nice if NI added a built in version of this routine that would extract the color planes correctly. It wouldn't be too difficult - just convert the existing read from file to read from a string instead. I keep seeing people that need this functionality, but NI does not seem to see them.
Hi Bruce,
I thought we added some public functions to do this during the last release but apparently that was not the case. I have noted it and hopefully we'll be able to get it into a future release. Please keep in mind that the actual implementation of any new function is only about 5% of the work needed to get some new VI onto the palette (there's specification docs, testing, public documentation, icon design, more documentation, etc..) that make it hard to "slip in" small new features, so I can't guarantee when such functionality might be available...
In the meantime, be sure to not let us forget that this would be a valuable feature for you! 😉
Eric
03-23-2010 02:19 PM
Karpa:
Can you show us the code you are using by posting the VI or a screenshot so we can help you troubleshoot it better?