LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Zoom in Imaq image

I was wondering if there's a way to zoom in an Imaq image programatically, and then crop the image. I want to crop the image, so that only the area that appears in the color pattern match appears on screen. Can someone please give me an example on how to do this?

If I zoom the image, will that reduce the original image resolution?

Thanks in advance!

 

0 Kudos
Message 1 of 17
(4,994 Views)

Use an imaq extract and configure the extract parametrs using the output from pattern matching. The output image will be what you require.

0 Kudos
Message 2 of 17
(4,960 Views)

Like this

Download All
0 Kudos
Message 3 of 17
(4,956 Views)

Use a property node for zoom

 

Zoom property.png

0 Kudos
Message 4 of 17
(4,952 Views)

I tried your example, and I'm getting Error -1074396154 occurred at IMAQ Match Color Pattern.

Is there a way for me to fix this, so I can use the pattern match and zoom it.

I will attach the image and the pattern, so you can take a look.

Thanks in advance!

Download All
0 Kudos
Message 5 of 17
(4,938 Views)

I'm trying to make an app that will recognize license plates.

And I need some help.

Thanks in advance!

 

0 Kudos
Message 6 of 17
(4,938 Views)

I tried fixing this problem by using an Imaq SetImageSize, but I am still getting the same error.

I am attaching the VI, so someone can tell me what do I have to fix.

Thanks in advance!

0 Kudos
Message 7 of 17
(4,922 Views)

In the Vi that i posted see the template file path . change that to point to your local drive. Let me know if you have already done that

0 Kudos
Message 8 of 17
(4,910 Views)

Seeing from your "motion_img_120199_001829_165.jpg ‏" why dont you use an ocr

0 Kudos
Message 9 of 17
(4,900 Views)

I am using an OCR in another application. I just need to zoom the image of the license plate, so I can feed that to the OCR, so that it can make the character recognition. I am trying to do this, because the image is too small. Can someone please help me fix this?

Thanks in advance!

0 Kudos
Message 10 of 17
(4,886 Views)