LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to select a region for analysis from a very big image

Hello everybody, 

 

The imgaes recorded are very big, with 1288*964 in scale.  The regions I am interested is only a strip (say, (0, 400), (1288, 420) ) in the middle of the images. I need to anaylze the strip, and get some useful information. I  do not care other regions. and do not want to wast computer resouce.   I read some fuctions about ROI. should I use ROI?  To be honest, I have not understanded fully about the functions of  ROI,  and not fixed the problem.    I think my case is very general.      Could you please give me some suggesion ? or some relevant code examples?   Thank you very  much.

 

Beetle.

0 Kudos
Message 1 of 4
(2,826 Views)

Hi beetle.

Your previous thread already gave you some good advice where to start.  Have you looked at the Vision examples in LabVIEW?  As your previous thread said: "After installing the software, open LabVIEW and navigate to Help » Find Examples... » Toolkits and Modules."  You can also filter from the examples those that cover ROIs by searching with the term ROI.

 


7890000 wrote:

The imgaes recorded are very big, with 1288*964 in scale.  The regions I am interested is only a strip (say, (0, 400), (1288, 420) ) in the middle of the images. I need to anaylze the strip, and get some useful information. I  do not care other regions. and do not want to wast computer resouce.   I read some fuctions about ROI. should I use ROI?  [...]


Yes, ROIs are a good and the right approach.

Hope this helps, Guenter

0 Kudos
Message 2 of 4
(2,807 Views)

Hi Guenter,

 

Thank you very much. I will try

 

Beetle

0 Kudos
Message 3 of 4
(2,784 Views)
Hi 7890000, Yes, ROIs are best for your function.
-Make your four points in rectangle- Left,Top,Right,Bottom and angle (Might be zero if needed) bundle them using cluster palette.
-Convert your Rectangle to ROI using IMAQ convert Rectangle to ROI.
-Then use this ROI descriptor for further use.
-One more thing can be, Use your four points as input to Optional rectangle for IMAQ extract VI and after extracting the required region you can process.
Thanks
uday
0 Kudos
Message 4 of 4
(2,774 Views)