01-28-2017 11:11 PM
Hello everyone
I tried to filter an image using Laplacian technique after acquired image from USB camera. It return with an error "(Hex 0xBFF60456) Incompatible image size". Based on my code in the attached file, does anyone have any suggestion?
Thank You
Issara
01-29-2017 09:57 AM
Given the error, the most important piece of information is the picture you get from the camera. It's hard to tell you what's incompatible about it without a sample image.
01-30-2017 07:47 PM
I use computer's webcam for image capture. I have attached the HMI display. Hope this information is useful.
01-31-2017 09:55 AM
Try to set image border for IMAQ creqte
Help for IMAQ convolute: The connected source image must have been created with a border capable of supporting the size of the convolution matrix. A 3 × 3 matrix must have a minimum border of 1, a 5 × 5 matrix must have a minimum border of 2, and so on.
General rule for all VIs that recalculate pixels based on Kernel.
02-05-2017 09:46 AM
Thank for your suggestion, which I found it be pretty helpful. However, when I set image border to 1 corresponding 3 x3, it still return with error. Please kindly review on the attach file.
02-06-2017 04:53 PM
Hi Stalkerz,
Have you tried with any larger borders? Also, have you tried the 5x5 with correct border?