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: