07-11-2014 03:15 AM
Hallo NI-Forum,
I’m working on an edge detection app that has some systematical Error I’m not figuring out. The goal is a just-in-time curvature analysis of extruded bar out of a machine. Therefor the app is running in an eternal loop and only gives same alert if curvature limit is exceeded. Here is my approach:
Grab image
Set ROI
Extract ROI
Use IMAG Rake 3 to detect edge
(…)
Get the curvature
As you can see on the screenshot, the approach is working well and I’m getting the curvature.
But the detection (red layer) seems to not scan the whole ROI. It always stops at the same point. I change the camera, the resolution and the ROI but this “undetected” part always stay proportional to the giving ROI or resolution.
Is there any better use of the IMAG Rake 3 function? or am I missing anything?
Thank for your help
07-11-2014 04:18 AM - edited 07-11-2014 04:19 AM
Hello,
I tried your image and cannot reproduce your problem. The edges seem to be detected along entire ROI (the edges points are shown in red, they are visible if you look closely and they go from start to the end):
Also, the curve plot seems ok:
The code (edge options are same as yours):
Am I not interpreting your problem correctly?
Best regards,
K
07-11-2014 04:30 AM
Using 8.5 and can also confirm that i dont see the problem
07-11-2014 04:36 AM
@muks wrote:
Using 8.5 and can also confirm that i dont see the problem
Yeah, forgot this important piece of information 🙂
Using LV 2013...
Best regards,
K
07-11-2014 05:47 AM
Thank for the answers,
On my system I can reproduce this error. Not only this, it seems to lose some pixel like you can see on the Graph. I did some filtering to eliminate the loss of Pixel bit but Im not really figuring out where these effect are coming from.
Thanks
07-11-2014 06:33 AM
07-11-2014 06:44 AM
Hahaha, yes it does! 🙂