Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ resample invalid image type

Solved!
Go to solution

Hi,

 

I am rewriting an old non-versatile version of a VI. I don't have much experience but I have the old VI as sort of a template for what I need to do. It's weird but although I try to do things exactly the same way, they don't work.

 

I acquire a high resolution image from the camera (IMAQ Acquire) which is too big (1280x1024). I want to resample (IMAQ Resample) it to 256x320px.

I get the error message: Error -1074396080 occurred at IMAQ Resample Invalid image type.

 

The probe I put in to read the Image Src shows the image correctly and tells me it is an unsigned 16 bit image. This should be a valid image type, right?

 

Dennis

 

P.S. I use LabView 2009
0 Kudos
Message 1 of 3
(3,353 Views)
Solution
Accepted by topic author Deneck

@Deneck wrote:

 

I get the error message: Error -1074396080 occurred at IMAQ Resample Invalid image type.

 

The probe I put in to read the Image Src shows the image correctly and tells me it is an unsigned 16 bit image. This should be a valid image type, right?



No, not right. IMAQ Resample doesn't support U16 type (at least up to VDM2011). Refer to Help.

Convert your image to I16 (if possible) prior to resampling.

 

Andrey.

Message 2 of 3
(3,345 Views)

oh man, I did read the help, of course... well, thanks Smiley Embarassed

P.S. I use LabView 2009
0 Kudos
Message 3 of 3
(3,342 Views)