-- purpose or non-infringement. Please see the License for the specific terms
-- and conditions governing the rights and limitations under the License.
-
package Image
- ---Purpose: The package Image provide PseudoColorImage and ColorImage
- -- definition and a set of key functions from the fields
- -- of image.
+ ---Purpose: The package Image provides image manipulation classes.
uses
- TCollection,
- TColStd,
- Aspect,
- Quantity,
- gp,
- MMgt
+ TCollection,
+ TColStd,
+ Aspect,
+ Quantity,
+ gp,
+ MMgt
is
- ------------------------
- ---Category: The classes
- ------------------------
-
- deferred class Image;
-
- class PixelInterpolation;
- class AveragePixelInterpolation;
- class BalancedPixelInterpolation;
- class PlanarPixelInterpolation;
- class BilinearPixelInterpolation;
- ---Purpose : Several methods to compute Pixel on non-integer Image
- -- coordinate.
-
- private generic class GPixelField;
- ---Purpose : Generic Image definition .
-
- deferred generic class GImage, PixelRow, PixelField;
- ---Purpose : Generic Image definition .
-
- deferred class DColorImage
- instantiates GImage from Image (ColorPixel from Aspect);
- ---Purpose : instantiates GImage for ColorImage definition .
-
- deferred class DIndexedImage
- instantiates GImage from Image (IndexPixel from Aspect);
- ---Purpose : instantiates GImage for PseudoColorImage definition .
-
- class PseudoColorImage;
- ---Purpose : PseudoColorImage definition .
-
- class ColorImage;
- ---Purpose : ColorImage definition .
-
- class Convertor;
- ---Purpose: converts aPseudoColorImage to a ColorImage and vice-versa.
-
- class ColorPixelMapHasher instantiates
- MapHasher from TCollection( ColorPixel from Aspect );
-
- class ColorPixelDataMap instantiates
- DataMap from TCollection ( ColorPixel from Aspect,
- Integer from Standard,
- ColorPixelMapHasher from Image ) ;
-
- class IndexPixelMapHasher instantiates
- MapHasher from TCollection( IndexPixel from Aspect );
-
- class LookupTable instantiates
- DataMap from TCollection( IndexPixel from Aspect,
- IndexPixel from Aspect,
- IndexPixelMapHasher );
-
- -----------------------------
- ---Category: Imported types:
- -----------------------------
-
- imported PixelAddress;
- imported PixMap;
- imported AlienPixMap;
- imported PixMap_Handle;
- imported AlienPixMap_Handle;
- imported Diff;
-
- -----------------------------
- ---Category: The Enumerations
- -----------------------------
-
- enumeration FlipType is FT_HORIZONTAL,
- FT_VERTICAL,
- FT_MAINDIAGONAL,
- FT_ANTIDIAGONAL,
- FT_CENTER,
- FT_90,
- FT_180,
- FT_270
- end FlipType ;
- ---Purpose: Type of orientation in a symmetry.
- -- - FT_HORIZONTAL : symmetry with respect to an horizontal axis.
- -- - FT_VERTICAL : symmetry with respect to a vertical axis.
- -- - FT_MAINDIAGONAL : symmetry with respect to a
- -- diagonal oriented at 45 degrees.
- -- - FT_ANTIDIAGONAL : symmetry with respect to a
- -- diagonal oriented at -45 degrees.
- -- - FT_CENTER :
- -- - FT_90 : rotation of 90 degrees.
- -- - FT_180 : rotation of 180 degrees.
- -- - FT_270 : rotation of -90 degrees.
-
- enumeration DitheringMethod is DM_NearestColor,
- DM_ErrorDiffusion
- end DitheringMethod ;
- ---Purpose: Type of dithering method.
-
- enumeration TypeOfImage is TOI_ColorImage,
- TOI_PseudoColorImage
- end TypeOfImage ;
-
- Zoom ( aImage : mutable Image from Image ;
- aInterpolation : PixelInterpolation from Image;
- aCoefX,aCoefY : in Real from Standard ) ;
- ---Purpose : Zoom an Image with a specific PixelInterpolation method.
-
- Zoom ( aImage : mutable Image from Image ;
- aCoefX,aCoefY : in Real from Standard ) ;
- ---Purpose : Zoom an Image with the default PixelInterpolation method.
-
- Rotate ( aImage : mutable Image from Image ;
- aInterpolation : PixelInterpolation from Image;
- aAngle : in PlaneAngle from Quantity ) ;
- ---Purpose : Rotate an Image with a specific PixelInterpolation method.
-
- Rotate ( aImage : mutable Image from Image ;
- aAngle : in PlaneAngle from Quantity ) ;
- ---Purpose : Rotate an Image with the default PixelInterpolation method.
-
- Translate( aImage : mutable Image from Image ;
- aInterpolation : PixelInterpolation from Image;
- DX, DY : in Real from Standard ) ;
- ---Purpose : Translate an Image with a specific PixelInterpolation
- -- method.
-
- Translate( aImage : mutable Image from Image ;
- DX, DY : in Real from Standard ) ;
- ---Purpose : Translate an Image with the default PixelInterpolation
- -- method.
-
- Affine( aImage : mutable Image from Image ;
- aInterpolation : PixelInterpolation from Image;
- Trsf : in GTrsf2d from gp ) ;
- ---Purpose : General transformation of an Image with a specific
- -- PixelInterpolation method.
- -- Warning:
- -- Raises an exception if the matrix of the transformation
- -- is not inversible.
-
-
- Affine( aImage : mutable Image from Image ;
- Trsf : in GTrsf2d from gp ) ;
- ---Purpose : General transformation of an Image with the default
- -- PixelInterpolation method.
- -- Warning:
- -- Raises an exception if the matrix of the transformation
- -- is not inversible.
-
- Affine( aImage : mutable Image from Image ;
- aInterpolation : PixelInterpolation from Image;
- Trsf : in Trsf from gp ) ;
- ---Purpose : General transformation of an Image with a specific
- -- PixelInterpolation method.
- -- Warning:
- -- Raises an exception if the matrix of the transformation
- -- is not inversible.
+ -----------------------------
+ ---Category: Imported types:
+ -----------------------------
- Affine( aImage : mutable Image from Image ;
- Trsf : in Trsf from gp ) ;
- ---Purpose : General transformation of an Image with the default
- -- PixelInterpolation method.
- -- Warning:
- -- Raises an exception if the matrix of the transformation
- -- is not inversible.
+ imported PixMap;
+ imported AlienPixMap;
+ imported PixMap_Handle;
+ imported AlienPixMap_Handle;
+ imported Diff;
end Image;