08-28-2006 08:01 AM
08-28-2006 08:26 AM
07-23-2009 08:56 AM - edited 07-23-2009 09:05 AM
Hi,
Thanks PaulG for your answer! I would just add that before using ImageToArray that will give you the array of the entire image, I use IMAQ ROItoRectangle that gives the four coordinates of the ROI.
And then I use IMAQ ImageToArray and I use the coordinates to link the optional rectangle! And I obtain the array for the only region of interest desired.
Chris
[Edit] We can get the coordinates of the ROI (draw event) with a property node of the image...
What's best ? What is ROItoRectangle for ?
07-24-2009 03:58 PM
Hi Chris,
For the purposes discribed in this thread, they both do the same thing. It really doesn't matter which one you use.
ROI to Rectangle has additional information if the ROI has been rotated. The property node has additional information if the ROI is not a rectangle.
07-12-2015 10:54 PM - edited 07-12-2015 10:56 PM
Hi people,
I have a rotated ROI from where I would like to get the pixel values.
The ROI is as attached..........I am not too sure how to convert this to the Global Rectangle that is needed for the IMAQ ImagetoArray
Please kindly assist me
Thanks
Kevin
07-13-2015 03:43 PM
Hi Pierreiza,
I suggest creating a discussion topic to boost the signal on your request. You will get a better response from the community.
Additionally, could you please clarify the problem? Do you want to create a rotated rectangular ROI?
Regards
Michael Bilyk
Applications Engineer
National Instruments