Error -1074396120: Not an Image Using IMAQ ExtractColorPlanes

Updated Jun 20, 2023

Reported In


  • Controller for Embedded Vision


  • Vision Assistant
  • Vision Development Module


  • NI-IMAQdx

Issue Details

I am developing my vision application in LabVIEW with the Vision Development Module and my application involves analyzing color images, so I need to be able to extract certain planes from these images.
I have been able to use the IMAQ ExtractSingleColorPlane VI. However, when I replace this function with the IMAQ ExtractColorPlane VI, I keep receiving

Error -1074396120 occurred at IMAQ ExtractColorPlanes. 
Possible reason(s):
Not an image.

This error occurs whenever I try to use the IMAQ ExtractColorPlane VI to extract out the different planes (RGB, HSL, HSV, and HSI) from an image. I am using a valid RGB image, so why am I receiving this error?


The problem is most likely a result of the IMAQ Create VI not been called correctly.

When using IMAQ ExtractColorPlane VI, you must remember that you need to call IMAQ Create VI for every color plane that you are extracting from the image. IMAQ ExtractColorPlane VI has an Image Source input that should be connected to the image you are extracting the planes from, but then you must also connect a different image buffer (allocated with IMAQ Create) for each of the color planes you want like the image below.

Figure 1. Using IMAQ ExtractColorPlanes

Also, as discussed in the help for each of these three inputs, the image input must be an 8-bit image and the color plane is not extracted if the input is not connected.


Additional Information

Figure below is a LabVIEW example program that shows the correct way to use IMAQ ExtractColorPlane VI and IMAQ ExtractSingleColorPlane VI.

Figure 2. IMAQ ExtractSingleColorPlane and ExtractColorPlanes