06-22-2012 01:07 PM
I would like to know exactly what this VI does. I need to implement something similar on the FPGA.
I know people get very curious before answering a question, so here goes: I need to clean up the image quickly. I am able to do an erosion function on the FPGA on the image before sending it to the host. Now, erode is not the same as RemoveParticle. When I tried RemoveParticle vi on the original image, it does exactly what I want.
06-25-2012
09:17 AM
- last edited on
08-14-2024
09:08 AM
by
Content Cleaner
Hi elsayed3,
For greater detail, you could also reference the detail help for the VI found here.
Hope this helps,
06-25-2012 11:16 AM
Thanks for the links. I had seen them before, they're not exactly what I'm looking for. I'm looking to recreate this VI from scratch. This vi calls a dll function, and I can't see what the function does. I would like to replicate this function on the FPGA.
06-25-2012 11:34 AM
Perhaps we can think about this together. Thinking out loud here...
We know "The IMAQ RemoveParticle function filters or removes the particles below a certain pixel size. "
And we know that the function is based on 2 erosions. I can do an erosion on the FPGA.
Image -> erosion 1 -> erosion 2 -> fcn -> out image
'fcn' would take as inputs 'Image' and the output of 'erosion 2' ?
What would the fcn be?
I'll think about these questions and let you know if I get to somewhere.
06-29-2012 01:45 PM
Any help? Should I create a service request ticket?
I tried a bunch of morpholgy options, for example, erode, dilate, erode, dilate (or 2x open). It does some noise reduction but it changes the image too much. Ideally, I would have access to the source code of the IMAQ RemoveParticle function, but if not, perhaps someone from NI can provide me with the algorithm behind it? The IMAQ RemoveParticle function manages to remove the speckles without modifiying the non-speckle parts of the image.
07-02-2012 09:18 AM
Hi elsayed3,
This code is protected intellectual property and it is National Instruments' policy not to share their protected source code. We do not have access to the code within the .dll file so we do not know the algorithm behind removing the speckles.