ComponentOne PdfViewer for WPF and Silverlight
C1.WPF.PdfViewer.4.6.2 Assembly / CSJ2K.j2k.image.forwcomptransf Namespace / ForwCompTransf Class
Fields Properties Methods


In This Topic
    ForwCompTransf Class Members
    In This Topic

    The following tables list the members exposed by ForwCompTransf.

    Public Constructors
     NameDescription
    Public ConstructorConstructs a new ForwCompTransf object that operates on the specified source of image data.  
    Top
    Public Fields
     NameDescription
    Public FieldIdentifier for the Forward Irreversible Component Transformation (FORW_ICT). Value is 2  
    Public FieldIdentifier for the Forward Reversible Component Transformation (FORW_RCT). Value is 1.  
    Public FieldIdentifier for no component transformation. Value is 0.  
    Public FieldThe prefix for component transformation type: 'M'  
    Top
    Public Properties
     NameDescription
    Public PropertyReturns the overall height of the image in pixels. This is the image's height without accounting for any component subsampling or tiling.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public PropertyReturns the horizontal coordinate of the image origin, the top-left corner, in the canvas system, on the reference grid.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public PropertyReturns the vertical coordinate of the image origin, the top-left corner, in the canvas system, on the reference grid.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public PropertyReturns the overall width of the image in pixels. This is the image's width without accounting for any component subsampling or tiling.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public PropertyReturns the nominal tiles height (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public PropertyReturns the nominal tiles width (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public PropertyReturns the number of components in the image.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public Propertystatic (Shared in Visual Basic)Returns the parameters that are used in this class and implementing classes. It returns a 2D String array. Each of the 1D arrays is for a different option, and they have 4 elements. The first element is the option name, the second one is the synopsis, the third one is a long description of what the parameter is and the fourth is its default value. The synopsis or description may be 'null', in which case it is assumed that there is no synopsis or description of the option, respectively. Null may be returned if no options are supported.  
    Public PropertyReturns true if this transform is reversible in current tile. Reversible component transformations are those which operation can be completely reversed without any loss of information (not even due to rounding).  
    Public PropertyReturns the overall height of the current tile in pixels. This is the tile's height without accounting for any component subsampling. This is also referred as the reference grid height in the current tile.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public PropertyReturns the index of the current tile, relative to a standard scan-line order.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public PropertyReturns the horizontal tile partition offset in the reference grid (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public PropertyReturns the vertical tile offset in the reference grid (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public PropertyReturns the overall width of the current tile in pixels. This is the tile's width without accounting for any component subsampling. This is also referred as the reference grid width in the current tile.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Calculates the bitdepths of the transformed components, given the bitdepth of the un-transformed components and the component transformation type.  
    Public MethodApply forward component transformation associated with the current tile. If no component transformation has been requested by the user, data are not modified.

    This method calls the getInternCompData() method, but respects the definitions of the getCompData() method defined in the BlkImgDataSrc interface.

     
    Public MethodReturns the height in pixels of the specified component in the overall image.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public MethodReturns the width in pixels of the specified component in the overall image.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public MethodReturns the component subsampling factor in the horizontal direction, for the specified component. This is, approximately, the ratio of dimensions between the reference grid and the component itself, see the 'ImgData' interface desription for details.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public MethodReturns the component subsampling factor in the vertical direction, for the specified component. This is, approximately, the ratio of dimensions between the reference grid and the component itself, see the 'ImgData' interface desription for details.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public MethodReturns the horizontal coordinate of the upper-left corner of the specified component in the current tile.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public MethodReturns the vertical coordinate of the upper-left corner of the specified component in the current tile.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public MethodReturns the position of the fixed point in the specified component. This is the position of the least significant integral (i.e. non-fractional) bit, which is equivalent to the number of fractional bits. For instance, for fixed-point values with 2 fractional bits, 2 is returned. For floating-point data this value does not apply and 0 should be returned. Position 0 is the position of the least significant bit in the data.

    This default implementation assumes that the number of fractional bits is not modified by the component mixer.

     
    Public MethodApply the component transformation associated with the current tile. If no component transformation has been requested by the user, data are not modified. Else, appropriate method is called (forwRCT or forwICT).  
    Public MethodOverridden. Returns the number of bits, referred to as the "range bits", corresponding to the nominal range of the data in the specified component and in the current tile. If this number is b then for unsigned data the nominal range is between 0 and 2^b-1, and for signed data it is between -2^(b-1) and 2^(b-1)-1. Note that this value can be affected by the multiple component transform.  
    Public MethodOverloaded. Returns the number of tiles in the horizontal and vertical directions.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public MethodReturns the indexes of the current tile. These are the horizontal and vertical indexes of the current tile.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public MethodReturns the height in pixels of the specified tile-component.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public MethodReturns the width in pixels of the specified tile-component tile.

    This default implementation returns the value of the source.

    (Inherited from CSJ2K.j2k.image.ImgDataAdapter)
    Public MethodOverridden. Goes to the next tile, in standard scan-line order (by rows then by columns). An NoNextElementException is thrown if the current tile is the last one (i.e. there is no next tile).

    This default implementation just advances to the next tile in the source and re-initializes properly component transformation variables.

     
    Public MethodOverridden. Changes the current tile, given the new indexes. An IllegalArgumentException is thrown if the indexes do not correspond to a valid tile.

    This default implementation changes the tile in the source and re-initializes properly component transformation variables..

     
    Public MethodReturns a string with a descriptive text of which forward component transformation is used. This can be either "Forward RCT" or "Forward ICT" or "No component transformation" depending on the current tile.  
    Top
    See Also