03-25-2018 04:16 AM
Hello,
I'm trying to repeat one example and i can't find this elementt . It's something like a bounding box.
Best regards
Solved! Go to Solution.
03-25-2018 05:09 AM
It might help if you tell us which example you're tying to repeat.
03-25-2018 05:26 AM
Imaq Rake Example
03-25-2018 05:37 AM
If you double click the VI, it should open. In VI Info (CTRL+I) or Save As... would reveal it's path. It's a sub VI of the example, so I'd expect it in a sub directory of the example, or maybe a facilitation directory for all IMAQ examples.
03-25-2018 05:43 AM
This example on the textbook page. So it 's problem.
03-25-2018 06:15 AM - edited 03-25-2018 06:16 AM
Ah, that explains the grayscale image...
I think it simply grows the bounding boxes.
So a Add with a -3,-3,3,3 cluster constant would probably do the same. Or -[1,-1,1,1]X3. Then simply create a subVI from that.
Edit: never mind
03-25-2018 11:24 AM
What's the textbook about? Does it include a CD or DVD, for example? How old is it?
(Strange code: There is no need for the FOR loop at the bottom, that unbundle could be placed in the last FOR loop.)
03-25-2018 11:55 AM
About digital image processing and machine vision. Published 2007. Yea it include a DVD but i don't have it.
03-25-2018 03:37 PM
That (old) version of IMAQ Rake returns an array of points, whereas IMAQ Overlay Oval accepts a Rectangle, so my guess is that the VI creates a rectangle (square) 3 pixels either side of the point.
Input: [5,15]
Output: [2,12,8,18]
or similar.
It's certainly not a built-in VI, anyway.