The Common Vision Blox image.
Inheritance Hierarchy
Stemmer.CvbImage
More...
Namespace: Stemmer.Cvb
Assembly: Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax
The Image type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Image(IntPtr) |
Creates a Image object around a native handle.
| |
Image(Size2D) |
Creates an uninitialized image with the given size.
| |
Image(Int32, Int32) |
Creates an uninitialized image with the given width
and height.
| |
Image(Size2D, Int32) |
Creates an uninitialized image with the given size
and numPlanes.
| |
Image(Int32, Int32, Int32) |
Creates an uninitialized image with the given width
and height, numPlanes infos.
| |
Image(IntPtr, ShareObject, UseMemoryPressure) |
Creates a Image object around a native handle and
guesses the memory pressure if useMemoryPressure
indicates that.
| |
Image(IntPtr, ShareObject, Int64) |
Creates a Image object around a native handle with the
given memoryPressure.
| |
Image(Size2D, Int32, DataType) |
Creates an uninitialized image with the given size
and numPlanes.
| |
Image(Int32, Int32, Int32, DataType) |
Creates an uninitialized image with the given width
and height, numPlanes infos.
| |
Image(Size2D, Int32, PixelDataType, Int32) |
Creates an uninitialized image with the given size
and numPlanes.
| |
Image(Int32, Int32, Int32, PixelDataType, Int32) |
Creates an uninitialized image with the given width
and height, numPlanes infos.
|
Properties
Name | Description | |
---|---|---|
Bounds |
Retrieve the bounding rect of the Image.
| |
ColorModel |
Color model that is realized by this image.
| |
CoordinateSystem |
Coordinate system of the image.
| |
Handle |
Native CVB image handle.
| |
HasOverlayMask |
True if at least one of the image infos has the overlay mask bit set.
| |
Height |
Width of the image in pixels.
| |
IsDisposed |
Tests if the native handle has already been disposed.
| |
Planes |
Access to the infos of the image.
| |
Size |
Size of the image.
| |
Width |
Width of the image in pixels.
|
Methods
Name | Description | |
---|---|---|
BeginPixelContentChange |
Starts an image update block.
| |
Clone |
Creates a new Image object that is a copy of the current
instance.
| |
Close |
Alias of the Dispose method.
| |
Contains |
Tests if a pixel location is inside the image.
| |
Copy |
Creates a new Image object that is a copy of the current
instance.
| |
CopyTo(Image) |
Copies the image data from this image to the
targetImage.
| |
CopyTo(Image, Rect, Point2D) |
Copies the image data from the sourceRect of this
image to the targetImagetargetPosition.
| |
Detach |
Detaches this Image object from the native IMG.
| |
Dispose |
IDisposable implementation.
| |
Dispose(Boolean) |
IDispose helper function.
| |
EndPixelContentChange |
Ends an image update block.
| |
Equals |
Equality check.
(Overrides ObjectEquals(Object).) | |
Finalize |
Finalizer
(Overrides ObjectFinalize.) | |
FromFile |
Loads an image with the given fileName.
| |
FromHandle(IntPtr) |
Create a Image from a native handle.
| |
FromHandle(IntPtr, ShareObject) |
Create a Image from a native handle and potentially
increment the unmanaged reference count on the native handle.
| |
FromHandle(IntPtr, ShareObject, UseMemoryPressure) |
Create a Image from a native handle and potentially
increment the unmanaged reference count on the native handle.
| |
FromHandle(IntPtr, ShareObject, Int64) |
Create a Image from a native handle and potentially
increment the unmanaged reference count on the native handle.
| |
FromImages |
Create an image that is the result of concatenating a series of input
images.
| |
FromObjectBuffer |
Deserialize an image object from an object buffer generated by the
extension method ToObjectBuffer.
| |
FromPlanes |
Create an image that is the result of concatenating a series of input
planes.
| |
GetHashCode |
Build a suitable hash code.
(Overrides ObjectGetHashCode.) | |
GetPixel(Point2D) |
Gets the pixel values for all planes at the given
position.
| |
GetPixel(Int32, Int32) |
Gets the pixel values for all planes at the given position.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ImageToPixelCoordinates(Area2D) |
Convert an Area2D from image to pixel coordinates.
| |
ImageToPixelCoordinates(Point2Dd) |
Convert a pixel from image to pixel coordinates.
| |
Initialize(Double) |
Initialize all planes of this image to the specified value.
| |
Initialize(Double) |
Initialize all planes of this image to the specified values.
| |
Initialize(Area2D, Double) |
Initialize the given area in all planes of this
image to the specified value.
| |
Initialize(Area2D, Double) |
Initialize the given area in all planes of this
image to the specified values.
| |
Initialize(Rect, Double) |
Initialize the given area in all planes of this
image to the specified value.
| |
Initialize(Rect, Double) |
Initialize the given area in all planes of this
image to the specified values.
| |
Map(Rect) |
Creates a mapped image of the rect region of this
image.
| |
Map(Size2D) |
Creates a mapped image of this whole image scaled to the
targetSize.
| |
Map(Rect, Size2D) |
Creates a mapped image of the sourceRect region of
this image scaled to the targetSize.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnPixelContentChanged |
Inform clients listening to the PixelContentChanged event
that this image data has been completely updated (full area).
| |
OnPixelContentChanged(Rect) |
Inform clients listening to the PixelContentChanged event
that this image data has been updated in the given
rect.
| |
PixelToImageCoordinates(Area2D) |
Convert an Area2D from pixel to image coordinates.
| |
PixelToImageCoordinates(Point2Dd) |
Convert a pixel from pixel to image coordinates.
| |
RaisePixelContentChanged |
Inform clients listening to the PixelContentChanged event
that this image data has been completely updated (full area).
| |
RaisePixelContentChanged(Rect) |
Inform clients listening to the PixelContentChanged event
that this image data has been updated in the given
rect.
| |
Save(String) |
Write the current content of the image into a file. The file format
to be used is determined by the extension of the fileName.
If a lossy format is selected, a default quality setting
will be used (if you want to specify your own quality setting, please
use the overload that allows specification of a quality value).
| |
Save(String, Double) |
Write the current content of the image into a file. The file format
to be used is determined based on the fileName's
extension. The quality (and thereby size) of the resulting file can
be adjusted using the quality parameter. When
saving to a lossless file format, the quality
parameter will be silently ignored.
| |
StartPixelContentChangeBlock |
Starts an image update block to be used in a using statement.
| |
SubImage(Area2D) |
Creates a new Image that is a copy from the given
sourceArea of the image data of the current
instance.
| |
SubImage(Rect) |
Creates a new Image that is a copy from the given
sourceRect of the image data of the current
instance.
| |
ToObjectBuffer |
Create a byte buffer with the serialized image object data.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
ObjectDisposing |
Raised when this object is about to be disposed via the
Dispose method.
| |
PixelContentChanged |
Fired when the image data of this image was consciously updated.
|
Extension Methods
Name | Description | |
---|---|---|
AffineTransform(AffineMatrix2D) | Overloaded.
Creates an affine transformation (homogeneous matrix transformation)
of the whole image img.
(Defined by Process.) | |
AffineTransform(AffineMatrix2D, Area2D) | Overloaded.
Creates an affine transformation (homogeneous matrix transformation)
of an area a of the given image
img.
(Defined by Process.) | |
CreateOverlayCapableCopy |
Creates a copy of the input image that is guaranteed to be overlay
capable. If the input image already is an overlay-capable image, the
input image will simply be copied (preserving all overlay
information). Otherwise a new image with the overlay flag set will
be generated and receive a copy of the input image, but all the
overlay bits will be set to zero.
(Defined by Transformations.) | |
CreateOverlayFreeCopy |
Creates a copy of the input image that does not have the overlay flag
set. If the input image already is a non-overlay image, the input
image will simply be copied (preserving the information in bit 0).
Otherwise a new image with the overlay bits removed (= set to 0) will
be generated and returned.
(Defined by Transformations.) | |
FlatfieldCorrection(Image, Double) | Overloaded.
Performs a flat field correction on the imgSrc.
(Defined by Process.) | |
FlatfieldCorrection(Image, Image, Double) | Overloaded.
Performs a flat field correction on the imgSrc
with optional correction of the fix pattern noise.
(Defined by Process.) | |
GetPixel |
Gets the pixel values of all planes at the given position.
(Defined by ImageExtensions.) | |
Init(Double) | Overloaded.
Initialize the planes of this image to a value.
(Defined by ImageExtensions.) | |
Init(Double) | Overloaded.
Initialize the planes of this image to different values.
(Defined by ImageExtensions.) | |
Init(Rect, Double) | Overloaded.
Initialize the planes of this image to a value.
(Defined by ImageExtensions.) | |
Init(Rect, Double) | Overloaded.
Initialize the planes of this image to different values.
(Defined by ImageExtensions.) | |
InversePolarTransform(Angle, Double) | Overloaded.
Create an inverse polar transformed image (i.e. transform an unwrapped
image back into a ring structure).
(Defined by Process.) | |
InversePolarTransform(Point2Dd, Angle, Double, Image) | Overloaded.
Calculates an inverse polar transformed image (i.e. transform an
unwrapped image back into a ring structure).
(Defined by Process.) | |
IsSpecial |
Gets whether this image should be displayed via ToBitmap.
(Defined by ImageExtensions.) | |
LinearTransform |
Creates a linear transformation (matrix transformation).
(Defined by Process.) | |
MapTo8Bit | Overloaded.
Take an input image and scale the pixel values to fit into the 8 bit
value range, using collective normalization.
(Defined by Process.) | |
MapTo8Bit(Boolean) | Overloaded.
Take an input image and scale the pixel values to fit into the 8 bit
value range.
(Defined by Process.) | |
NormalizeMeanVariance |
Normalize an input image using mean/variance normalization (the gray
values of the image will be stretched modified to generate a histogram
as close as possible to the input target mean and variance values).
(Defined by Process.) | |
NormalizeMinMax |
Normalize an input image using min/max normalization (the gray values
of the image will be stretched or compressed to fit the input target
minimum and maximum values).
(Defined by Process.) | |
PolarTransform(Point2Dd, Double, Double) | Overloaded.
Create a polar transformation (i.e. unwrap a ring structure from
inside source image into a rectangular image).
(Defined by Process.) | |
PolarTransform(Point2Dd, Double, Double, Angle, Angle) | Overloaded.
Create a polar transformation (i.e. unwrap a ring structure from
inside source image into a rectangular image).
(Defined by Process.) | |
SubImage(Area2D) | Overloaded.
Extract the content of an aoi (area of interest) into a new image
using linear interpolation.
(Defined by ImageExtensions.) | |
SubImage(Area2D, Interpolation) | Overloaded.
Extract the content of an aoi (area of interest) into a new image.
(Defined by ImageExtensions.) | |
ToBitmap | Overloaded.
Convert this Image into a
Bitmap of identical size
and convert data with bit depth higher than 8 via
Global scaling.
(Defined by ImageExtensions.) | |
ToBitmap(HighBitScaleMode) | Overloaded.
Convert this Image into a
Bitmap of identical size.
(Defined by ImageExtensions.) | |
ToBitmap(Int32, Int32, HighBitScaleMode) | Overloaded.
Convert this Image into a
Bitmap of selectable size.
(Defined by ImageExtensions.) | |
ToBitmap(Int32, Int32, PixelFormat, Rect, PlaneConfiguration, Double, Int32, HighBitScaleMode) | Overloaded.
Create a Bitmap from this CVB image.
(Defined by ImageExtensions.) | |
ToBitmapSource | Overloaded.
Convert this Cvb image into a bmData source of identical size, using
default conversion for high bit images.
(Defined by ImageExtensions.) | |
ToBitmapSource(HighBitScaleMode) | Overloaded.
Convert this Cvb image into a bmData source of identical size.
(Defined by ImageExtensions.) | |
ToBitmapSource(Int32, Int32, HighBitScaleMode) | Overloaded.
Convert this Cvb image into a bmData of selectable size.
(Defined by ImageExtensions.) | |
ToBitmapSource(Int32, Int32, Rect, PlaneConfiguration, Double, Int32, HighBitScaleMode) | Overloaded.
Create a BitmapSource
from this CVB image.
(Defined by ImageExtensions.) | |
ToPixelBufferTPixel |
Create a byte buffer with the serialized image pixel data.
(Defined by ImageExtensions.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICloneableClone |
Creates a new Image object that is a copy of the current
instance.
|
See Also
Reference
Inheritance Hierarchy
Stemmer.CvbImage
Stemmer.Cvb.DriverDeviceImage
Stemmer.Cvb.DriverStreamImage
Stemmer.CvbFileImage
Stemmer.Cvb.FoundationFftImage
Stemmer.CvbMappedImage
Stemmer.CvbPanoramicMappedImage
Stemmer.CvbWrappedImage