Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get an image back to labview from opencv dll code?

Solved!
Go to solution

Hello!
Can you explain, what is threshold1, threshold2 and kernel_size?

0 Kudos
Message 11 of 15
(1,242 Views)
Did you check the link earlier mentioned?
Those parameters define the threshold values of hysteris process(which is part of Canny Edge Detection)
For ref adding here: http://docs.opencv.org/2.4/modules/imgproc/doc/feature_detection.html?highlight=canny#canny
Read more here:https://en.wikipedia.org/wiki/Canny_edge_detector
Thanks
uday
0 Kudos
Message 12 of 15
(1,236 Views)

Thank you, I have understood it with your help!

0 Kudos
Message 13 of 15
(1,229 Views)

It seems that LabVIEW can correctly pass color image to opencv via 2d uint32 array pointer. But it doesn't work when you pass a color image from opencv to LabVIEW。At LabVIEW side,it just shows what you pass out to opencv even if it's been changed a lot. In my experiment, it is true. Maybe there is something wrong in my code or some particular reasons I will never know. 

My environment:

LabVIEW 2017 64bit trail,

OpenCV 4.1.2,

windows 10 pro 64bit.

0 Kudos
Message 14 of 15
(738 Views)

This have solved my encountering issue. Thanks you so much.

 

Hsing-Yu Chen

0 Kudos
Message 15 of 15
(617 Views)