LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Treat picture as image

Hi there,

Is there any way to treat picture file (.jpg) as an image ?. I have some experience to "manipulate" my image (for instance, using edge detection, ROI, overlay, etc), but I find some difficulties to do that in picture. So, my idea is to "convert" my .jpg file into image. Is it possible ?

terwelu
0 Kudos
Message 1 of 13
(4,005 Views)
Hi terwelu,
do you use the vision toolkit?
Mike
0 Kudos
Message 2 of 13
(4,003 Views)
Hi Mike,

Yeah, I think I have it with me. Is the vision toolkit contain of a bunch of image manipulation ? If yes, then what kind of tools should I use ?

Tx Mike,
terwelu
0 Kudos
Message 3 of 13
(3,990 Views)
Hi terwelu,
if you have the vision toolkit, then you can load the image and work on it, with all available functions. I don´t really understand what you mean with from picture to image in your first post. You can load a jpeg file without using the vision toolkit. You get a structure with all information you need.
Mike
0 Kudos
Message 4 of 13
(3,984 Views)
Hi terwelu,

I apologize if this isn't what you're asking exactly, but is this what you're looking for when you mean changing from a picture to image? This VI (in the Graphics Formats palette) simply takes a .jpeg file and returns a cluster of 'image' data.


Message Edited by corys on 08-07-2008 09:19 AM
-Cory
0 Kudos
Message 5 of 13
(3,974 Views)
Hi terwelu,
                 R u using LabVIEW for the first time and asking how to read an image file? do you want to read jpg without using vision tool kit?
0 Kudos
Message 6 of 13
(3,965 Views)

Hi Terwelu,

When you say you want to convert it to an image do you mean an imaq image so you can use vision toolkit VIs?  If so then check out the files pallette under vision utilities, they allow you to load the standard file formats in and output them as an imaq image with a VI called IMAQ ReadFile.  Hope this is what your after, if not let us know.

Regards,

James Mc
========
CLA and cRIO Fanatic
My writings on LabVIEW Development are at devs.wiresmithtech.com
0 Kudos
Message 7 of 13
(3,952 Views)
Thx in advance for all the guru's responses above.

No, I'm not a new user in LabView but I'm still lacking of my knowledge in Image Processing. Sorry for unclear question, but here I attach more detail about how I defined and distinguished between "Image" and "Picture".

In the top figure, the "Image" is represented as dark-purple line, while in the bottom side, the "Picture" is represented as blue line.

Anyway, thx to James, I got your point and now I can solve my problem Smiley Very Happy

Long live the gurus !!! Smiley Wink

terwelu
0 Kudos
Message 8 of 13
(3,897 Views)





So you have the vision tool installed.Still dont get it.R u stuck with some image opening function?
0 Kudos
Message 9 of 13
(3,891 Views)
Hi Muks,

Sorry to make u got confused and no, I have no problem with image opening function. I just don't know until James told me. In my previous attachment, the top figure doesn't have any relation or case with the bottom figure. I created the top one several months ago with different case unlike the bottom one. But since I have a "small" experience in manipulating the image, I really don't want to deal with pictures. So, instead of manipulating the picture (I only have picture, not image), so I want to convert my picture into "single-shot" image (single frame only, not kind of movie).

In my new figure (see attachment), I already change my top figure with image manipulation. You can see that in both figures in my attachment, I did the same rotating process. The different is, I did it with image function on top and with picture function on the bottom side. Hope this clear for you, Muks.

terwelu


0 Kudos
Message 10 of 13
(3,864 Views)