[]
        
(Showing Draft Content)

CSJ2K.j2k.roi.encoder.ROIScaler.createInstance

createInstance Method

createInstance(Quantizer, ParameterList, EncoderSpecs)

Creates a ROIScaler object. The Quantizer is the source of data to scale.

       <p>The ROI Scaler creates a ROIMaskGenerator depending on what ROI
       information is in the ParameterList. If only rectangular ROI are used,
       the fast mask generator for rectangular ROI can be used.</p>
Declaration
public static ROIScaler createInstance(Quantizer src, ParameterList pl, EncoderSpecs encSpec)
Parameters
Type Name Description
Quantizer src

The source of data to scale

ParameterList pl

The parameter list (or options).

EncoderSpecs encSpec

The encoder specifications for addition of roi specs

Returns
Type Description
ROIScaler