Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

best practice for increasing image processing speed

Solved!
Go to solution

 

Are there best practises for efficient image processing so that the overall perfomance speed will be improved? I have a need to do near real time image processing (threshold, filtering, particle analysis/cleaning and measurements) at 10fps. So far I am not satisfied with my cycle time so I am wondering if there are documented ways to speed up performance.

0 Kudos
Message 1 of 6
(4,637 Views)

I presume you've already turned on the Multi-Core Options.  Can you use some form of pipelining or parallel processing with your images?  Perhaps you could use different queues between each image processing operation, with dedicated worker loops for each operation that Dequeue-Process-Enqueue.  Perhaps something like one of these partially implemented ideas:

 

ImageProc.png

Message 2 of 6
(4,628 Views)

Thanks. Please how do I turn on the Multi-Core Options? I am using IMQAdx.

0 Kudos
Message 3 of 6
(4,620 Views)

Hi,

Navigates to the "Vision and Motion" palette, then "Vision Utilities" and "Image Management" palette, you will find ther the "IMAQ multi-core options" vi.

palette.pnghelp.png

 

You will be able to set or get the number of cores used by the IMAQ functions.

Regards

0 Kudos
Message 4 of 6
(4,608 Views)

 

Will this function work for IMAQdx? Thanks.

 

0 Kudos
Message 5 of 6
(4,604 Views)
Solution
Accepted by topic author aderogba

Hi,

IMAQdx is only the driver, it's not directly linked to image processing while IMAQ is the vision library. This function allows you to use multi-core on the IMAQ function, to decrease the processing time., ecause image processing is the most consuming task for your computer.

Regards

Message 6 of 6
(4,598 Views)