LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Filter an image directly from USB Camera

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

0 Kudos
Message 1 of 6
(3,735 Views)

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.

0 Kudos
Message 2 of 6
(3,679 Views)

I use computer's webcam for image capture. I have attached the HMI display. Hope this information is useful.

0 Kudos
Message 3 of 6
(3,648 Views)

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. 

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

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.

0 Kudos
Message 5 of 6
(3,608 Views)

Hi Stalkerz,

 

Have you tried with any larger borders? Also, have you tried the 5x5 with correct border?

-----------------------------------------------
Brandon Grey
Certified LabVIEW Architect

0 Kudos
Message 6 of 6
(3,584 Views)