J2KREGIONOFINTEREST

typedef enum _J2KREGIONOFINTEREST
{
J2K_USE_LEAD_REGION  = 0,  // Use LEAD bitmap region
J2K_USE_OPTION_RECT  = 1,  // Use rcROI member of FILEJ2KOPTIONS
}
J2KREGIONOFINTEREST, *pJ2KREGIONOFINTEREST;

Comments

The J2KREGIONOFINTEREST data type is used within the FILEJ2KOPTIONS structure to indicate how to define the region of interest.

If J2K_USE_LEAD_REGION is used, then any region shape is acceptable. It will be converted internally by the filter to a rectangle.