LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

image processing

Hello i am trying to do the edge detection without the function IMAQ Edge Detection am asking if its possible just by the fonction IMAQ convolute please help

0 Kudos
Message 1 of 12
(2,825 Views)

Yes, but it won't be as good as a Canny edge detector: https://en.wikipedia.org/wiki/Canny_edge_detector

 

See: https://en.wikipedia.org/wiki/Kernel_(image_processing)#Edge_Handling

 

You'll need a [-1,-1,-1 ],[-1,8,-1 ],[-1,-1,-1 ] convolution matrix.

 

More generally: https://en.wikipedia.org/wiki/Edge_detection

0 Kudos
Message 2 of 12
(2,773 Views)

I think there's a Canny detector hidden somewhere in LabVIEW Vision (at least I recall seeing mention of it in the Forums) ...

 

Bob Schor

0 Kudos
Message 3 of 12
(2,759 Views)

@khahmed77 wrote:

Hello i am trying to do the edge detection without the function IMAQ Edge Detection am asking if its possible just by the fonction IMAQ convolute please help


Bob, could be another homework assignment?

 

Not sure why you'd want to do this without the functions that are made to do it...

0 Kudos
Message 4 of 12
(2,746 Views)

hello 

i need the block diagram of the IMAQ Edgedetection.

0 Kudos
Message 5 of 12
(2,727 Views)

Hi khamed,

 

why do you need that when you should implement an algorithm without that function?

 

There are two options:

  1. You can look inside that IMAQ function by opening it's block diagram
  2. You cannot look inside this IMAQ function because the block diagram is protected/not available.

As I don't have IMAQ installed you need to check those 2 options on your own. Either NI allows you to look at the block diagram - or nobody (outside NI development team) is able to look at…

 

Why do you create all your threads with the same non-descriptive title?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 12
(2,717 Views)

@khahmed77 wrote:

hello 

i need the block diagram of the IMAQ Edgedetection.


If it's not open, that's not possible (not allowed anyway).

 

It probably won't do you much good, it's almost certainly just a call to a dll function.

0 Kudos
Message 7 of 12
(2,712 Views)

wiebe@CARYA wrote:


If it's not open, that's not possible (not allowed anyway).

 

It probably won't do you much good, it's almost certainly just a call to a dll function.


It certainly is. Back in LabVIEW 5.x days some of the Vision functions were implemented in LabVIEW G code such as the barcode decoding. They soon changed it to functions in the Vision DLL and and the VI was just a simple Call Library Node on the diagram.

 

The original G implementation wasn't exactly what I would call clean but they did work sort of and I even did some improvements on them for a project back then. But one big driving factor for NI to implement everything in the Vision DLL was also the fact that they used the Vision Toolkit core in LabWindows/CVI too. That move saved them having to maintain two different code implementations in parallel.

 

Nowadays just about every single vision function in the Vision Toolkit is really just a Call Library call into the vision DLL.

Rolf Kalbermatter
My Blog
0 Kudos
Message 8 of 12
(2,706 Views)

@rolfk wrote:

wiebe@CARYA wrote:

It probably won't do you much good, it's almost certainly just a call to a dll function.


It certainly is.


Yep.  Here is the Block Diagram of IMAQ EdgeDetection (LabVIEW 2018):IMAQ EdgeDetectionIMAQ EdgeDetection

Bob Schor

0 Kudos
Message 9 of 12
(2,698 Views)

obviously i didn't ask for that.

0 Kudos
Message 10 of 12
(2,694 Views)