Error -1074395280 With IMAQ Extract Texture Features Function in LabVIEW

Updated Oct 12, 2021

Reported In

Software

  • LabVIEW

Driver

  • NI-IMAQ
  • NI-IMAQdx

Issue Details

I have a LabVIEW code that uses the IMAQ Extract Texture Feature

However, when I run this code, I got the following error:

Error -1074395280 occurred at IMAQ Extract Texture Features
Possible reason(s):
The ROI must only have a single Rectangle contour.

Solution

The IMAQ Extract Texture Feature requires to use of a rectangle contour type. If you set the contour type as rotated rectangle or any other option than rectangle, you will get this error. The contour type is defined in the ROI descriptor and must be set as follows: 

Additional Information