[]
This class resamples the components of an image so that all have the same number of samples. The current implementation only handles the case of 2:1 upsampling.
public class Resampler : ColorSpaceMapper, BlkImgDataSrc, ImgData
Name | Description |
---|---|
Resampler(BlkImgDataSrc, ColorSpace) | Ctor resamples a BlkImgDataSrc so that all components have the same number of samples.
|
Name | Description |
---|---|
ToString() | Return an appropriate String representation of this Resampler instance. |
createInstance(BlkImgDataSrc, ColorSpace) | Factory method for creating instances of this class. |
getCompData(DataBlk, int) | |
getCompImgHeight(int) | Returns the height in pixels of the specified component in the overall image. |
getCompImgWidth(int) | Returns the width in pixels of the specified component in the overall image. |
getCompSubsX(int) | Returns the component subsampling factor in the horizontal direction, for the specified component. |
getCompSubsY(int) | Returns the component subsampling factor in the vertical direction, for the specified component. |
getInternCompData(DataBlk, int) | |
getTileCompHeight(int, int) | Returns the height in pixels of the specified tile-component. |
getTileCompWidth(int, int) | Returns the width in pixels of the specified tile-component.. |