After instantiating the object using the ofxCvShortImage class of the opencv plug-in, after initializing the object with allocate(), the following error occurred during operation:

After instantiating the object using the ofxCvShortImage class of the opencv plug-in, after initializing the object with allocate(), the following error occurred during operation:
[error] ofGLUtils: ofGetGLFormatFromPixelFormat(): unknown OF pixel format OF_PIXELS_UNKNOWN, returning GL_LUMINANCE
[error] ofPixels: format doesn’t support channels
[error] ofTexture: allocate(): ofTextureData has 0 width and/or height: 0x0

ofxCvShortImage floatBgImg;
floatBgImg.allocate(1280,720);

ofxCvShortImage Use ofxCvFloatImage instead to solve the error problem.