Click or drag to resize

AGI.Foundation.Graphics.Imaging Namespace

Provides types for raster and image processing, and for writing JPEG 2000 files.
Classes
  ClassDescription
Public classAlphaFromLuminanceFilter
Adds an Alpha band to the source raster derived from the luminance of the raster's color bands.
Public classAlphaFromPixelFilter
Adds an Alpha band to the source raster based on the value of its first pixel. All pixels in the source raster that are the same color as the first pixel will be made transparent.
Public classAlphaFromRasterFilter
Adds an Alpha band to the source raster derived from the color bands or alpha of another raster. This filter can be used to apply an alpha mask to the source raster.
Public classBandExtractFilter
Extracts a band or set of bands from the source raster. The ExtractFormat property specifies the bands and the order of the bands that will be extracted.
Public classBandOrderFilter
Reorders or swizzles the bands of the source raster to match the band order of the RasterFormat specified by the BandOrder property. When MaintainRasterFormat is true, the source raster's format is maintained after swizzling.
Public classBlurFilter
Applies a ConvolutionFilter to blur or smooth the source raster. Can be used to reduce noise in the raster.
Public classBrightnessFilter
Adjusts the brightness of the source raster's color bands. The Adjustment to brightness is a value between -1 and 1, corresponding to least bright to most bright.
Public classColorToLuminanceFilter
Extracts a Luminance band derived from the color bands of the source raster.
Public classContrastFilter
Adjusts the contrast of the source raster. The Adjustment to contrast is a value between -1 and 1, corresponding to least contrast to most contrast.
Public classConvolutionFilter
Applies convolution to the source raster. Convolution is the modification of a pixel's value based on the values of its surrounding pixels. The Kernel is the numerical matrix that is applied to each pixel in this process. The convolution operation is discussed in more detail in numerous texts on image processing and useful convolution kernels are widely available from various sources.
Public classEdgeDetectFilter
Applies a ConvolutionFilter to detect edges in the source raster.
Public classFilteringRasterStream
A class decorator for applying a RasterFilter to each update of a RasterStream. Can be used to apply filters to videos and other raster streams as they are updated.
Public classFlipFilter
Flips the source raster along the given FlipAxis.
Public classGammaCorrectionFilter
Applies gamma correction to the source raster. The Gamma is a value between .2 and 5. The default gamma value is 2.2.
Public classGaussianBlurFilter
Applies a ConvolutionFilter to blur the source raster using the Gaussian function.
Public classGradientDetectFilter
Applies a ConvolutionFilter to detect gradients in the source raster.
Public classJpeg2000Writer
Converts an image, such as a BMP, to a GeoJP2 file that can be used as an image globe overlay.
Public classLevelsFilter
Adjusts the band levels of the source raster linearly.
Public classRaster
A raster dataset. A raster consists of one or more bands, or sets of values, which are most commonly associated with colors when the raster represents an image. For instance, a typical color image contains three sets of values, or bands (red, green, and blue) which define the color of pixels within the image. The following raster image formats can be read by the raster class: BMP, ECW, IMG, JP2, NTF, NITF, PNG, SID, TIF, TIFF, JPG, JPEG, PPM, PGM, CLDS, and TGA. The raster can also be loaded from memory, or constructed from a .NET Bitmap. To create a texture from a raster, pass it to the FromRaster(Raster) method.
Public classRasterAttributes
The attributes describing a Raster dataset. RasterAttributes define the memory layout of a Raster, and includes properties defining the order of each RasterBand that the raster contains, as specified by the RasterFormat. It also describes the type of data, or RasterType of the contained bands, the Height and Width of the raster in pixels, the RowAlignment of the raster, and other relevant properties.
Public classRasterFilter
A filter for processing Raster datasets. RasterFilter is the base class for all raster filters. A filter applies a transformation to a source raster either by modifying that raster directly, or returning a new instance of that raster that has the filter applied to it. To apply a filter to a raster, use the Apply(RasterFilter) or ApplyInPlace(RasterFilter) methods. Common filters include color transformations, like BrightnessFilter and GammaCorrectionFilter, and ConvolutionFilter based filters like SharpenFilter and EdgeDetectFilter.
Public classRasterStream
A raster, the data of which, is updated dynamically at the specified UpdateDelta. The class can be used to stream video and other dynamic raster data to textures and other Raster clients. Note to Implementers: When implementing a derived class of RasterStream, you must provide an implementation for the Update(JulianDate, JulianDate) method. The Attributes property of the Raster should be set in the constructor of the derived class.
Public classRotateFilter
Rotates the source raster clockwise by the specified angle.
Public classSequenceFilter
Applies a sequence of filters to the source raster in the order in which they were added. When ContinueOnFailure is set to true, subsequent filters will still be applied to the source raster even if one or more filters in the sequence cannot be applied.
Public classSharpenFilter
Applies a ConvolutionFilter to increase the sharpness of the source raster.
Public classVideoStream
A raster stream that streams from a video. The video can be read from a file, or streamed from an HTTP, RTP, UDP, or TCP source. See the Video Streams topic for a list of supported video formats and Uri usage.
Enumerations
  EnumerationDescription
Public enumerationBlurMethod
The method used to blur or smooth a raster.
Public enumerationEdgeDetectMethod
The method used to detect edges in a raster.
Public enumerationFlipAxis
The axis on which a raster will be flipped.
Public enumerationGradientDetectMethod
The method used to detect gradients in a raster. Gradient detection is commonly referred to as embossing.
Public enumerationJpeg2000CompressionProfile
Defines the profile used when encoding a JPEG 2000 file.
Public enumerationRasterBand
Common band types that may be contained within a Raster dataset. Each band can be thought of as a set of values, which are most commonly associated with colors when the raster represents an image. For instance, a typical color image contains three sets of values, or bands (red, green, and blue) which define the color of pixels within the image.
Public enumerationRasterFormat
Common RasterBand layouts that may be contained within a Raster dataset. Each pixel of the raster will contain the bands defined by the layout in the specified order. A typical color raster image will have an RGBRasterFormat.
Public enumerationRasterOrientation
The vertical orientation of the raster.
Public enumerationRasterType
The type of data contained within each band of a Raster dataset.
Public enumerationSharpenMethod
The method used to sharpen a raster.
Public enumerationVideoPlayback
Specifies how the VideoStream will playback. When the Playback is set to RealTime, the video will playback in real time. When the Playback is set to TimeInterval, the video will seek to the frame that corresponds linearly to the current SceneManager time within the interval defined by IntervalStartTime and IntervalEndTime. For instance, if the video contains 60 frames and the IntervalStartTime and IntervalEndTime specify a 60 minute interval, the first frame of the video will be displayed when the SceneManager time is equal to IntervalStartTime. Similarly, when SceneManager time is equal to IntervalEndTime, the last frame of the video will be displayed. Intermediate times within that interval are mapped linearly to the frames in the video.