LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

imshow

how to use the matlab command imshow in mathscript in labview..it shows command unknown error..is there an alternative command.
0 Kudos
Message 1 of 13
(3,999 Views)

Hi BHARATHIN…,

there are other functions in LabView to load and draw a picture. Where do you want to show it??

Mike

0 Kudos
Message 2 of 13
(3,992 Views)
thanks mike for the prompt reply..I basically want to obtain coordinates of the points on the image i click.i used ginput in matlab to do the same after doin imshow..but im puzzled how to do it in labview..is it possible to do it without mathscript?
0 Kudos
Message 3 of 13
(3,990 Views)
Hi BHARATHIN…,
here is in example how you can draw your image if you read it with "imread". But you can also use the "normal" functions to load the picture.
 
 
Mike


Message Edited by MikeS81 on 05-26-2008 09:43 AM
0 Kudos
Message 4 of 13
(3,987 Views)
Hi BHARATHIN…,
wherefrom you get your data? For me it sounds like you could use a waveform graph with a cursor.
Mike


Message Edited by MikeS81 on 05-26-2008 09:57 AM
0 Kudos
Message 5 of 13
(3,983 Views)
thanks once again for the help..im actually gettin a JPEG FILE stored in my directory after takin a picture usin my digi camera. i need to find the coordinates of some points in the file.is there some marker option?
0 Kudos
Message 6 of 13
(3,965 Views)
Hi BHARATHIN…,
to fing some points in an image, i think you have to analyse it. Smiley Happy You can draw lines into your picture, or you read the mouse position.
Mike
0 Kudos
Message 7 of 13
(3,958 Views)
let me explain in detail..

My application is actually determining the strain in some flexible materials.for that im usin a light marker whose movement is monitored as the body moves.Thus i capture a photograph of initial position ,click on the image of the marker and use the coordinates of the point to draw a frame of reference (a square) around the marker image.as the  body moves the frame has to move.

I thus need coordinates of the point when i click on the marker image of the jpeg file to form the square frame of reference.i have the matlab code to do it but i need to do it in labview
0 Kudos
Message 8 of 13
(3,956 Views)
oh thanks.can u pls tell me  how to read mouse position?
0 Kudos
Message 9 of 13
(3,954 Views)

Hi BHARATHIN…,

here is a short example.
Hope it helps.

Mike

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