J2KREGIONOFINTEREST

typedef enum tagJ2KREGIONOFINTEREST
{
   J2K_USE_LEAD_REGION,   // Use the LEAD bitmap region to define
   // the region of interest
   J2K_USE_OPTION_RECT   // Use the rectangle specified in the rcROI 
   // member of the FILEJ2KOPTIONS structure to
   // define the region of interest.

} J2KREGIONOFINTEREST, L_FAR* pJ2KREGIONOFINTEREST;

 

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

Comments

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