[This is preliminary documentation and is subject to change.]
An Image is a wrapper to IplImage of OpenCV.
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
C# | Visual Basic | Visual C++ |
[SerializableAttribute] public class Image<TColor, TDepth> : CvArray<TDepth>, IImage, IDisposable, ICloneable, IEquatable<Image<TColor, TDepth>> where TColor : struct, new(), IColor where TDepth : new()
<SerializableAttribute> _ Public Class Image(Of TColor As {Structure, New, IColor}, TDepth As New) _ Inherits CvArray(Of TDepth) _ Implements IImage, IDisposable, ICloneable, IEquatable(Of Image(Of TColor, TDepth))
[SerializableAttribute] generic<typename TColor, typename TDepth> where TColor : value class, gcnew(), IColor where TDepth : gcnew() public ref class Image : public CvArray<TDepth>, IImage, IDisposable, ICloneable, IEquatable<Image<TColor, TDepth>^>
Type Parameters
- TColor
- Color type of this image (either Gray, Bgr, Bgra, Hsv, Hls, Lab, Luv, Xyz or Ycc)
- TDepth
- Depth of this image (either Byte, SByte, Single, double, UInt16, Int16 or Int32)
Members
All Members | Constructors ![]() | Fields ![]() | Properties ![]() | Methods ![]() |
![]() ![]() | ![]() ![]() ![]() | ![]() ![]() | ![]() ![]() ![]() ![]() |
Member | Description | |
---|---|---|
![]() | Image<(Of <(TColor, TDepth>)>)()()() |
Create an empty Image
|
![]() | Image<(Of <(TColor, TDepth>)>)(array<Image<(Of <(Gray, TDepth>)>)>[]()[]) |
Create a multi-channel image from multiple gray scale images
|
![]() | Image<(Of <(TColor, TDepth>)>)(Bitmap) |
Obtain the image from the specific Bitmap
|
![]() | Image<(Of <(TColor, TDepth>)>)(Size) |
Create a blank Image of the specific size
|
![]() | Image<(Of <(TColor, TDepth>)>)(String) |
Read image from a file
|
![]() | Image<(Of <(TColor, TDepth>)>)(array<TDepth,3>[,,](,,)[,,]) |
Create image from the specific multi-dimensional data, where the 1st dimesion is # of rows (height), the 2nd dimension is # cols (width) and the 3rd dimension is the channel
|
![]() | Image<(Of <(TColor, TDepth>)>)(Int32, Int32) |
Create a blank Image of the specified width and height.
|
![]() | Image<(Of <(TColor, TDepth>)>)(SerializationInfo, StreamingContext) |
Constructor used to deserialize runtime serialized object
|
![]() | Image<(Of <(TColor, TDepth>)>)(Int32, Int32, TColor) |
Create a blank Image of the specified width, height and color.
|
![]() | Image<(Of <(TColor, TDepth>)>)(Int32, Int32, Int32, IntPtr) |
Create an Image from unmanaged data.
|
![]() | _And(CvArray<(Of <(TDepth>)>)) |
Inplace And operation with src2 (Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | _dataHandle |
The pinned GCHandle to _array;
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | _Dilate(Int32) |
Dilates this image inplace using a 3x3 rectangular structuring element.
Dilation are applied serveral (iterations) times
|
![]() | _EqualizeHist()()() |
The algorithm inplace normalizes brightness and increases contrast of the image.
For color images, a HSV representation of the image is first obtained and the V (value) channel is histogram normalized
|
![]() | _Erode(Int32) |
Erodes this image inplace using a 3x3 rectangular structuring element.
Erosion are applied serveral (iterations) times
|
![]() | _Flip(FLIP) | Inplace flip the image |
![]() | _GammaCorrect(Double) |
Gamma correct this image inplace. The image must have a depth type of Byte.
|
![]() | _Max(CvArray<(Of <(TDepth>)>)) |
Inplace elementwise maximize the current Array with other (Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | _Max(Double) |
Inplace compute the elementwise maximum value with val (Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | _Min(CvArray<(Of <(TDepth>)>)) |
Inplace elementwise minimize the current Array with other (Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | _Min(Double) |
Inplace compute the elementwise minimum value
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | _MorphologyEx(StructuringElementEx, CV_MORPH_OP, Int32) |
Perform inplace advanced morphological transformations using erosion and dilation as basic operations.
|
![]() | _Mul(CvArray<(Of <(TDepth>)>)) |
Inplace elementwise multiply the current Array with src2 (Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | _Mul(Double) |
Inplace multiply elements of the Array by scale (Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | _Not()()() |
Inplace compute the complement for all array elements
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | _Or(CvArray<(Of <(TDepth>)>)) |
Inplace Or operation with src2 (Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | _ptr |
A pointer to the unmanaged object
(Inherited from UnmanagedObject.) |
![]() | _SmoothGaussian(Int32) | Perform Gaussian Smoothing inplace for the current image |
![]() | _SmoothGaussian(Int32, Int32, Double, Double) | Perform Gaussian Smoothing inplace for the current image |
![]() | _ThresholdBinary(TColor, TColor) | Threshold the image inplace such that: dst(x,y) = max_value, if src(x,y)>threshold; 0, otherwise |
![]() | _ThresholdBinaryInv(TColor, TColor) | Threshold the image inplace such that: dst(x,y) = 0, if src(x,y)>threshold; max_value, otherwise |
![]() | _ThresholdToZero(TColor) | Threshold the image inplace such that: dst(x,y) = src(x,y), if src(x,y)>threshold; 0, otherwise |
![]() | _ThresholdToZeroInv(TColor) | Threshold the image inplace such that: dst(x,y) = 0, if src(x,y)>threshold; src(x,y), otherwise |
![]() | _ThresholdTrunc(TColor) | Threshold the image inplace such that: dst(x,y) = threshold, if src(x,y)>threshold; src(x,y), otherwise |
![]() | AbsDiff(Image<(Of <(TColor, TDepth>)>)) |
Computes absolute different between this image and the other image
|
![]() | AbsDiff(TColor) |
Computes absolute different between this image and the specific color
|
![]() | Acc(Image<(Of <(TColor, TDepth>)>)) |
Accumulate img2 to the current image using the specific mask
|
![]() | Acc(Image<(Of <(TColor, TDepth>)>), Image<(Of <(Gray, Byte>)>)) |
Accumulate img2 to the current image using the specific mask
|
![]() | Action(Action<(Of <(TDepth>)>)) |
perform an generic action based on each element of the image
|
![]() | Action<(Of <(TOtherDepth>)>)(Image<(Of <(TColor, TOtherDepth>)>), Action<(Of <(TDepth, TOtherDepth>)>)) |
Perform an generic operation based on the elements of the two images
|
![]() | Add(Image<(Of <(TColor, TDepth>)>)) | Elementwise add another image with the current image |
![]() | Add(TColor) | Elementwise add a color val to the current image |
![]() | Add(Image<(Of <(TColor, TDepth>)>), Image<(Of <(Gray, Byte>)>)) | Elementwise add img2 with the current image, using a mask |
![]() ![]() | Addition(Image<(Of <(TColor, TDepth>)>), Image<(Of <(TColor, TDepth>)>)) |
Elementwise add img1 with img2 |
![]() ![]() | Addition(Image<(Of <(TColor, TDepth>)>), Double) |
Elementwise add image with value |
![]() ![]() | Addition(Image<(Of <(TColor, TDepth>)>), TColor) |
Elementwise add image with value |
![]() ![]() | Addition(Double, Image<(Of <(TColor, TDepth>)>)) |
Elementwise add img1 with val |
![]() ![]() | Addition(TColor, Image<(Of <(TColor, TDepth>)>)) |
Elementwise add image with value |
![]() | AddWeighted(Image<(Of <(TColor, TDepth>)>), Double, Double, Double) |
Return the weighted sum such that: res = this * alpha + img2 * beta + gamma
|
![]() | AllocateData(Int32, Int32, Int32) |
Allocate data for the array
(Overrides CvArray<(Of <(TDepth>)>)..::.AllocateData(Int32, Int32, Int32).) |
![]() | And(Image<(Of <(TColor, TDepth>)>)) | Perform an elementwise AND operation with another image and return the result |
![]() | And(TColor) | Perform an binary AND operation with some color |
![]() | And(Image<(Of <(TColor, TDepth>)>), Image<(Of <(Gray, Byte>)>)) |
Perform an elementwise AND operation with another image, using a mask, and return the result
|
![]() | And(TColor, Image<(Of <(Gray, Byte>)>)) | Perform an binary AND operation with some color using a mask |
![]() | AvgSdv(TColor%, MCvScalar%) |
Calculates the average value and standard deviation of array elements, independently for each channel
|
![]() | AvgSdv(TColor%, MCvScalar%, Image<(Of <(Gray, Byte>)>)) |
Calculates the average value and standard deviation of array elements, independently for each channel
|
![]() | Bitmap |
The Get property provide a more efficient way to convert Image<Gray, Byte>, Image<Bgr, Byte> and Image<Bgra, Byte> into Bitmap
such that the image data is shared with Bitmap.
If you change the pixel value on the Bitmap, you change the pixel values on the Image object as well!
For other types of image this property has the same effect as ToBitmap()
Take extra caution not to use the Bitmap after the Image object is disposed
The Set property convert the bitmap to this Image type.
|
![]() ![]() | BitwiseAnd(Image<(Of <(TColor, TDepth>)>), Image<(Of <(TColor, TDepth>)>)) |
Perform an elementwise AND operation on the two images
|
![]() ![]() | BitwiseAnd(Image<(Of <(TColor, TDepth>)>), Double) |
Perform an elementwise AND operation using an images and a color
|
![]() ![]() | BitwiseAnd(Image<(Of <(TColor, TDepth>)>), TColor) |
Perform an elementwise AND operation using an images and a color
|
![]() ![]() | BitwiseAnd(Double, Image<(Of <(TColor, TDepth>)>)) |
Perform an elementwise AND operation using an images and a color
|
![]() ![]() | BitwiseAnd(TColor, Image<(Of <(TColor, TDepth>)>)) |
Perform an elementwise AND operation using an images and a color
|
![]() ![]() | BitwiseOr(Image<(Of <(TColor, TDepth>)>), Image<(Of <(TColor, TDepth>)>)) | Perform an elementwise OR operation with another image and return the result |
![]() ![]() | BitwiseOr(Image<(Of <(TColor, TDepth>)>), Double) |
Perform an binary OR operation with some color
|
![]() ![]() | BitwiseOr(Image<(Of <(TColor, TDepth>)>), TColor) |
Perform an binary OR operation with some color
|
![]() ![]() | BitwiseOr(Double, Image<(Of <(TColor, TDepth>)>)) |
Perform an binary OR operation with some color
|
![]() ![]() | BitwiseOr(TColor, Image<(Of <(TColor, TDepth>)>)) |
Perform an binary OR operation with some color
|
![]() | Bytes |
Get or Set an Array of bytes that represent the data in this array
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | Canny(TColor, TColor) | Find the edges on this image and marked them in the returned image. |
![]() | Clone()()() |
Make a clone of the current image. All image data as well as the COI and ROI are cloned
|
![]() | Cmp(Image<(Of <(TColor, TDepth>)>), CMP_TYPE) |
Compare the current image with img2 and returns the comparison mask
|
![]() | Cmp(Double, CMP_TYPE) |
Compare the current image with value and returns the comparison mask
|
![]() | Cols |
The number of cols for this array
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | ConcateHorizontal(Image<(Of <(TColor, TDepth>)>)) |
Concate the current image with another image horizontally.
|
![]() | ConcateVertical(Image<(Of <(TColor, TDepth>)>)) |
Concate the current image with another image vertically.
|
![]() | Convert<(Of <(TOtherColor, TOtherDepth>)>)()()() | Convert the current image to the specific color and depth |
![]() | Convert<(Of <(TOtherDepth>)>)(Converter<(Of <(TDepth, TOtherDepth>)>)) | Compute the element of the new image based on element of this image |
![]() | Convert<(Of <(TOtherDepth>)>)(Func<(Of <(TDepth, Int32, Int32, TOtherDepth>)>)) |
Compute the element of a new image based on the value as well as the x and y positions of each pixel on the image
|
![]() | Convert<(Of <(TDepth2, TDepth3>)>)(Image<(Of <(TColor, TDepth2>)>), Func<(Of <(TDepth, TDepth2, TDepth3>)>)) | Compute the element of the new image based on the elements of the two image |
![]() | Convert<(Of <(TDepth2, TDepth3, TDepth4>)>)(Image<(Of <(TColor, TDepth2>)>), Image<(Of <(TColor, TDepth3>)>), Func<(Of <(TDepth, TDepth2, TDepth3, TDepth4>)>)) | Compute the element of the new image based on the elements of the three image |
![]() | Convert<(Of <(TDepth2, TDepth3, TDepth4, TDepth5>)>)(Image<(Of <(TColor, TDepth2>)>), Image<(Of <(TColor, TDepth3>)>), Image<(Of <(TColor, TDepth4>)>), Func<(Of <(TDepth, TDepth2, TDepth3, TDepth4, TDepth5>)>)) | Compute the element of the new image based on the elements of the four image |
![]() | ConvertFrom<(Of <(TSrcColor, TSrcDepth>)>)(Image<(Of <(TSrcColor, TSrcDepth>)>)) |
Convert the source image to the current image, if the size are different, the current image will be a resized version of the srcImage.
|
![]() | ConvertScale<(Of <(TOtherDepth>)>)(Double, Double) | Convert the current image to the specific depth, at the same time scale and shift the values of the pixel |
![]() | Convolution(ConvolutionKernelF) |
Performs a convolution using the specific kernel |
![]() | Copy()()() | Make a copy of the image, if ROI is set, only copy the ROI |
![]() | Copy(Image<(Of <(Gray, Byte>)>)) |
Make a copy of the image using a mask, if ROI is set, only copy the ROI
|
![]() | Copy(MCvBox2D) |
Get a copy of the boxed region of the image
|
![]() | Copy(Rectangle) |
Make a copy of the specific ROI (Region of Interest) from the image
|
![]() | Copy(Image<(Of <(TColor, TDepth>)>), Image<(Of <(Gray, Byte>)>)) |
Copy the masked area of this image to destination
|
![]() | CopyBlank()()() |
Create an image of the same size
|
![]() | CopyTo(CvArray<(Of <(TDepth>)>)) |
Copy the current array to dest (Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | CountNonzero()()() |
Count the non Zero elements for each channel
|
![]() ![]() | CvDepth |
Get the equivalent opencv depth type for this image
|
![]() | Data |
Get or Set the data for this matrix
|
![]() | DeserializeObjectData(SerializationInfo, StreamingContext) |
A function used for runtime deserailization of the object
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | DetectHaarCascade(HaarCascade) |
Detect HaarCascade object in the current image, using predifined parameters
|
![]() | DetectHaarCascade(HaarCascade, Double, Int32, HAAR_DETECTION_TYPE, Size) |
Finds rectangular regions in the given image that are likely to contain objects the cascade has been trained for and returns those regions as a sequence of rectangles. The function scans the image several times at different scales (see cvSetImagesForHaarClassifierCascade). Each time it considers overlapping regions in the image and applies the classifiers to the regions using cvRunHaarClassifierCascade. It may also apply some heuristics to reduce number of analyzed regions, such as Canny prunning. After it has proceeded and collected the candidate rectangles (regions that passed the classifier cascade), it groups them and returns a sequence of average rectangles for each large enough group. The default parameters (scale_factor=1.1, min_neighbors=3, flags=0) are tuned for accurate yet slow object detection. For a faster operation on real video images the settings are: scale_factor=1.2, min_neighbors=2, flags=CV_HAAR_DO_CANNY_PRUNING, min_size=<minimum possible face size> (for example, ~1/4 to 1/16 of the image area in case of video conferencing).
|
![]() | Dilate(Int32) |
Dilates this image using a 3x3 rectangular structuring element.
Dilation are applied serveral (iterations) times
|
![]() | Dispose()()() |
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.) |
![]() | DisposeObject()()() |
Release all unmanaged memory associate with the image
(Overrides CvArray<(Of <(TDepth>)>)..::.DisposeObject()()().) |
![]() ![]() | Division(Image<(Of <(TColor, TDepth>)>), Double) | image / scale |
![]() ![]() | Division(Double, Image<(Of <(TColor, TDepth>)>)) | scale / image |
![]() | DotProduct(CvArray<(Of <(TDepth>)>)) |
Calculates and returns the Euclidean dot product of two arrays.
src1 dot src2 = sumI(src1(I)*src2(I))
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | Draw(IConvexPolygonF, TColor, Int32) | Draw a convex polygon using the specific color and thickness |
![]() | Draw(Seq<(Of <(Point>)>), TColor, Int32) |
Draws contour outlines in the image if thickness>=0 or fills area bounded by the contours if thickness<0
|
![]() | Draw(CircleF, TColor, Int32) | Draw a Circle of the specific color and thickness |
![]() | Draw(Cross2DF, TColor, Int32) | Draw a 2D Cross using the specific color and thickness |
![]() | Draw(Ellipse, TColor, Int32) | Draw a Ellipse of the specific color and thickness |
![]() | Draw(LineSegment2D, TColor, Int32) | Draw a line segment using the specific color and thickness |
![]() | Draw(LineSegment2DF, TColor, Int32) | Draw a line segment using the specific color and thickness |
![]() | Draw(Rectangle, TColor, Int32) | Draw an Rectangle of the specific color and thickness |
![]() | Draw(String, MCvFont%, Point, TColor) |
Draw the text using the specific font on the image
|
![]() | Draw(Seq<(Of <(Point>)>), TColor, TColor, Int32, Int32) |
Draws contour outlines in the image if thickness>=0 or fills area bounded by the contours if thickness<0
|
![]() | Draw(Seq<(Of <(Point>)>), TColor, TColor, Int32, Int32, Point) |
Draws contour outlines in the image if thickness>=0 or fills area bounded by the contours if thickness<0
|
![]() | DrawPolyline(array<Point>[]()[], Boolean, TColor, Int32) |
Draw the polyline defined by the array of 2D points
|
![]() | DrawPolyline(array<array<Point>[]()[]>[]()[], Boolean, TColor, Int32) |
Draw the polylines defined by the array of array of 2D points
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Equals(Image<(Of <(TColor, TDepth>)>)) |
Compare two images, returns true if the each of the pixels are equal, false otherwise
|
![]() | Erode(Int32) |
Erodes this image using a 3x3 rectangular structuring element.
Erosion are applied serveral (iterations) times
|
![]() | Exp()()() |
Calculates exponent of every element of input array:
dst(I)=exp(src(I))
|
![]() | ExtractMSER(Image<(Of <(Gray, Byte>)>), MCvMSERParams%, MemStorage) |
Extracts the contours of Maximally Stable Extremal Regions
|
![]() | ExtractSURF(MCvSURFParams%) |
Finds robust features in the image (basic descriptor is returned in this case). For each feature it returns its location, size, orientation and optionally the descriptor, basic or extended. The function can be used for object tracking and localization, image stitching etc
|
![]() | ExtractSURF(Image<(Of <(Gray, Byte>)>), MCvSURFParams%) |
Finds robust features in the image (basic descriptor is returned in this case). For each feature it returns its location, size, orientation and optionally the descriptor, basic or extended. The function can be used for object tracking and localization, image stitching etc
|
![]() | FillConvexPoly(array<Point>[]()[], TColor) |
Fill the convex polygon with the specific color
|
![]() | Finalize()()() |
Destructor
(Inherited from DisposableObject.) |
![]() | FindContours()()() |
Find a list of contours using simple approximation method.
|
![]() | FindContours(CHAIN_APPROX_METHOD, RETR_TYPE) |
Find contours
|
![]() | FindContours(CHAIN_APPROX_METHOD, RETR_TYPE, MemStorage) |
Find contours using the specific memory storage
|
![]() | FindCornerSubPix(array<array<PointF>[]()[]>[]()[], Size, Size, MCvTermCriteria) |
Iterates to find the sub-pixel accurate location of corners, or radial saddle points
|
![]() | Flip(FLIP) | Return a filpped copy of the current image |
![]() | GetAverage()()() |
Get the average value on this image
|
![]() | GetAverage(Image<(Of <(Gray, Byte>)>)) |
Get the average value on this image, using the specific mask
|
![]() | GetHashCode()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetMoments(Boolean) |
Calculates spatial and central moments up to the third order and writes them to moments. The moments may be used then to calculate gravity center of the shape, its area, main axises and various shape characeteristics including 7 Hu invariants.
|
![]() | GetObjectData(SerializationInfo, StreamingContext) |
A function used for runtime serilization of the object
(Overrides CvArray<(Of <(TDepth>)>)..::.GetObjectData(SerializationInfo, StreamingContext).) |
![]() | GetSchema()()() |
Get the xml schema
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | GetStarKeypoints(MCvStarDetectorParams%) |
Get the star keypoints from this image
|
![]() | GetSubRect(Rectangle) |
Get a subimage which image data is shared with the current image.
|
![]() | GetSum()()() | Get the sum for each color channel |
![]() | GetType()()() | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GoodFeaturesToTrack(Int32, Double, Double, Int32) |
Finds corners with big eigenvalues in the image.
|
![]() | GoodFeaturesToTrack(Int32, Double, Double, Int32, Double) |
Finds corners with big eigenvalues in the image.
|
![]() | GoodFeaturesToTrack(Int32, Double, Double, Int32, Boolean, Double) |
Finds corners with big eigenvalues in the image.
|
![]() | Height |
Get the height (#Rows) of the cvArray.
If ROI is set, the height of the ROI
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | HoughCircles(TColor, TColor, Double, Double, Int32, Int32) |
First apply Canny Edge Detector on the current image,
then apply Hough transform to find circles
|
![]() | HoughLines(TColor, TColor, Double, Double, Int32, Double, Double) |
First apply Canny Edge Detector on the current image,
then apply Hough transform to find line segments
|
![]() | HoughLinesBinary(Double, Double, Int32, Double, Double) |
Apply Hough transform to find line segments.
The current image must be a binary image (eg. the edges as a result of the Canny edge detector)
|
![]() | InPaint(Image<(Of <(Gray, Byte>)>), Double) | Use impaint to recover the intensity of the pixels which location defined by on this image |
![]() | InRange(TColor, TColor) | Checks that image elements lie between two scalars |
![]() | Integral()()() |
Calculates integral images for the source image
|
![]() | Integral(Image<(Of <(TColor, Double>)>)%, Image<(Of <(TColor, Double>)>)%) |
Calculates integral images for the source image
|
![]() | Integral(Image<(Of <(TColor, Double>)>)%, Image<(Of <(TColor, Double>)>)%, Image<(Of <(TColor, Double>)>)%) |
Calculates one or more integral images for the source image
|
![]() | IsROISet |
Indicates if the region of interest has been set
|
![]() | Item[([(Point])]) |
Get or Set the color in the location |
![]() | Item[([(Int32])]) |
Get or Set the specific channel of the current image.
For Get operation, a copy of the specific channel is returned.
For Set operation, the specific channel is copied to this image.
|
![]() | Item[([(Int32, Int32])]) |
Get or Set the color in the rowth row (y direction) and columnth column (x direction)
|
![]() | Laplace(Int32) |
Calculates Laplacian of the source image by summing second x- and y- derivatives calculated using Sobel operator.
Specifying aperture_size=1 gives the fastest variant that is equal to convolving the image with the following kernel:
|0 1 0|
|1 -4 1|
|0 1 0|
|
![]() | Log()()() |
Calculates natural logarithm of absolute value of every element of input array
|
![]() | LogPolar(PointF, Double, Int32) |
Convert the image to log polar, simulating the human foveal vision
|
![]() | ManagedArray |
Get the underneath managed array
(Overrides CvArray<(Of <(TDepth>)>)..::.ManagedArray.) |
![]() | MatchTemplate(Image<(Of <(TColor, TDepth>)>), TM_TYPE) |
The function slids through image, compares overlapped patches of size wxh with templ using the specified method and return the comparison results
|
![]() | Max(Image<(Of <(TColor, TDepth>)>)) | Find the elementwise maximum value |
![]() | Max(Double) | Find the elementwise maximum value |
![]() | MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Min(Image<(Of <(TColor, TDepth>)>)) | Find the elementwise minimum value |
![]() | Min(Double) | Find the elementwise minimum value |
![]() | MinMax(array<Double>[]()[]%, array<Double>[]()[]%, array<Point>[]()[]%, array<Point>[]()[]%) |
Returns the min / max location and values for the image
|
![]() | MIplImage |
The IplImage structure
|
![]() | MorphologyEx(StructuringElementEx, CV_MORPH_OP, Int32) |
Perform advanced morphological transformations using erosion and dilation as basic operations.
|
![]() | Mul(Image<(Of <(TColor, TDepth>)>)) | Elementwise multiply img2 with the current image |
![]() | Mul(Double) | Elementwise multiply the current image with scale |
![]() | Mul(Image<(Of <(TColor, TDepth>)>), Double) | Elementwise multiply another image with the current image and the scale |
![]() ![]() | Multiply(Image<(Of <(TColor, TDepth>)>), ConvolutionKernelF) |
Perform the convolution with kernel on image |
![]() ![]() | Multiply(Image<(Of <(TColor, TDepth>)>), Double) | image * scale |
![]() ![]() | Multiply(Double, Image<(Of <(TColor, TDepth>)>)) | scale*image |
![]() | Norm |
The norm of this Array
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | Not()()() |
Compute the complement image
|
![]() | NumberOfChannels |
Get the number of channels for this image
(Overrides CvArray<(Of <(TDepth>)>)..::.NumberOfChannels.) |
![]() ![]() | OnesComplement(Image<(Of <(TColor, TDepth>)>)) | Compute the complement image |
![]() | Or(Image<(Of <(TColor, TDepth>)>)) | Perform an elementwise OR operation with another image and return the result |
![]() | Or(TColor) | Perform an elementwise OR operation with some color |
![]() | Or(Image<(Of <(TColor, TDepth>)>), Image<(Of <(Gray, Byte>)>)) | Perform an elementwise OR operation with another image, using a mask, and return the result |
![]() | Or(TColor, Image<(Of <(Gray, Byte>)>)) | Perform an elementwise OR operation with some color using a mask |
![]() | Pow(Double) |
Raises every element of input array to p
dst(I)=src(I)^p, if p is integer
dst(I)=abs(src(I))^p, otherwise
|
![]() | Ptr | The pointer to the internal structure (Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | PyrDown()()() |
Performs downsampling step of Gaussian pyramid decomposition.
First it convolves this image with the specified filter and then downsamples the image
by rejecting even rows and columns.
|
![]() | PyrUp()()() |
Performs up-sampling step of Gaussian pyramid decomposition.
First it upsamples this image by injecting even zero rows and columns and then convolves
result with the specified filter multiplied by 4 for interpolation.
So the resulting image is four times larger than the source image.
|
![]() | ReadXml(XmlReader) |
Function to call when deserializing this object from XML
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | Reduce<(Of <(TOtherDepth>)>)(CvArray<(Of <(TOtherDepth>)>), REDUCE_DIMENSION, REDUCE_TYPE) |
Reduces matrix to a vector by treating the matrix rows/columns as a set of 1D vectors and performing the specified operation on the vectors until a single row/column is obtained.
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | ReleaseManagedResources()()() |
Release the managed resouces. This function will be called during the disposal of the current object.
override ride this function if you need to call the Dispose() function on any managed IDisposable object created by the current object
(Inherited from DisposableObject.) |
![]() | Resize(Double) | Obsolete.
Scale the image to the specific size: width *= scale; height *= scale
|
![]() | Resize(Double, INTER) |
Scale the image to the specific size: width *= scale; height *= scale
|
![]() | Resize(Int32, Int32) | Obsolete.
Scale the image to the specific size
|
![]() | Resize(Int32, Int32, INTER) |
Scale the image to the specific size
|
![]() | Resize(Int32, Int32, Boolean) | Obsolete.
Scale the image to the specific size
|
![]() | Resize(Int32, Int32, INTER, Boolean) |
Scale the image to the specific size
|
![]() | ROI |
Get or Set the region of interest for this image. To clear the ROI, set it to System.Drawing.Rectangle.Empty
|
![]() ![]() | RoiParam(IntPtr, Int64%, Int32%, Int32%, Int32%, Int32%) |
Return parameters based on ROI
|
![]() | Rotate(Double, TColor) |
Rotate the image the specified angle cropping the result to the original size
|
![]() | Rotate(Double, TColor, Boolean) |
Rotate this image the specified angle |
![]() | Rows |
The number of rows for this array
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | RunningAvg(Image<(Of <(TColor, TDepth>)>), Double) |
Update Running Average. this = (1-alpha)*this + alpha*img
|
![]() | RunningAvg(Image<(Of <(TColor, TDepth>)>), Double, Image<(Of <(Gray, Byte>)>)) |
Update Running Average. this = (1-alpha)*this + alpha*img, using the mask
|
![]() | Sample(LineSegment2D) | Sample the pixel values on the specific line segment |
![]() | Sample(LineSegment2D, CONNECTIVITY) |
Sample the pixel values on the specific line segment
|
![]() | Save(String) |
Save this image to the specific file
(Overrides CvArray<(Of <(TDepth>)>)..::.Save(String).) |
![]() | SerializationCompressionRatio |
Get or set the Compression Ratio for serialization. A number between 0 - 9.
0 means no compression at all, while 9 means best compression
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | SetIdentity()()() |
Initialize the identity matrix
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | SetIdentity(MCvScalar) |
Initializs scaled identity matrix
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | SetRandNormal(MCvScalar, MCvScalar) |
Inplace fills Array with normally distributed random numbers
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | SetRandNormal(UInt64, MCvScalar, MCvScalar) |
Inplace fills Array with normally distributed random numbers
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | SetRandUniform(MCvScalar, MCvScalar) |
Inplace fills Array with uniformly distributed random numbers
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | SetRandUniform(UInt64, MCvScalar, MCvScalar) |
Inplace fills Array with uniformly distributed random numbers
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | SetValue(MCvScalar) |
Set the element of the Array to val (Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | SetValue(Double) |
Set the element of the Array to val (Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | SetValue(TColor) |
Set every pixel of the image to the specific color
|
![]() | SetValue(MCvScalar, CvArray<(Of <(Byte>)>)) |
Set the element of the Array to val, using the specific mask (Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | SetValue(Double, CvArray<(Of <(Byte>)>)) |
Set the element of the Array to val, using the specific mask (Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | SetValue(TColor, Image<(Of <(Gray, Byte>)>)) |
Set every pixel of the image to the specific color, using a mask
|
![]() | SetZero()()() |
Set the values to zero
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | Size |
Get the size of the array
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | SmoothBilatral(Int32, Int32) |
Applying bilateral 3x3 filtering
|
![]() | SmoothBlur(Int32, Int32) |
Summation over a pixel param1 x param2 neighborhood with subsequent scaling by 1/(param1 x param2)
|
![]() | SmoothBlur(Int32, Int32, Boolean) |
Summation over a pixel param1 x param2 neighborhood. If scale is true, the result is subsequent scaled by 1/(param1 x param2)
|
![]() | SmoothGaussian(Int32) | Perform Gaussian Smoothing in the current image and return the result |
![]() | SmoothGaussian(Int32, Int32, Double, Double) | Perform Gaussian Smoothing in the current image and return the result |
![]() | SmoothMedian(Int32) |
Finding median of sizexsize neighborhood
|
![]() | Snake(Seq<(Of <(Point>)>), Single, Single, Single, Size, MCvTermCriteria, MemStorage) |
Updates snake in order to minimize its total energy that is a sum of internal energy that depends on contour shape (the smoother contour is, the smaller internal energy is) and external energy that depends on the energy field and reaches minimum at the local energy extremums that correspond to the image edges in case of image gradient.
|
![]() | Snake(array<Point>[]()[], Single, Single, Single, Size, MCvTermCriteria, Boolean) |
Updates snake in order to minimize its total energy that is a sum of internal energy that depends on contour shape (the smoother contour is, the smaller internal energy is) and external energy that depends on the energy field and reaches minimum at the local energy extremums that correspond to the image edges in case of image gradient.
|
![]() | Sobel(Int32, Int32, Int32) |
Calculates the image derivative by convolving the image with the appropriate kernel
The Sobel operators combine Gaussian smoothing and differentiation so the result is more or less robust to the noise. Most often, the function is called with (xorder=1, yorder=0, aperture_size=3) or (xorder=0, yorder=1, aperture_size=3) to calculate first x- or y- image derivative.
|
![]() | Split()()() |
Split current Image into an array of gray scale images where each element
in the array represent a single color channel of the original image
|
![]() | Sub(Image<(Of <(TColor, TDepth>)>)) | Elementwise subtract another image from the current image |
![]() | Sub(TColor) | Elementwise subtrace a color from the current image |
![]() | Sub(Image<(Of <(TColor, TDepth>)>), Image<(Of <(Gray, Byte>)>)) | Elementwise subtrace another image from the current image, using a mask |
![]() | SubR(TColor) |
result = val - this
|
![]() | SubR(TColor, Image<(Of <(Gray, Byte>)>)) |
result = val - this, using a mask
|
![]() ![]() | Subtraction(Image<(Of <(TColor, TDepth>)>), Image<(Of <(TColor, TDepth>)>)) |
Elementwise subtract another image from the current image
|
![]() ![]() | Subtraction(Image<(Of <(TColor, TDepth>)>), Double) |
Elementwise subtract another image from the current image
|
![]() ![]() | Subtraction(Image<(Of <(TColor, TDepth>)>), TColor) |
Elementwise subtract another image from the current image
|
![]() ![]() | Subtraction(Double, Image<(Of <(TColor, TDepth>)>)) | - image |
![]() ![]() | Subtraction(TColor, Image<(Of <(TColor, TDepth>)>)) |
Elementwise subtract another image from the current image
|
![]() | ThresholdBinary(TColor, TColor) |
Threshold the image such that: dst(x,y) = max_value, if src(x,y)>threshold; 0, otherwise
|
![]() | ThresholdBinaryInv(TColor, TColor) | Threshold the image such that: dst(x,y) = 0, if src(x,y)>threshold; max_value, otherwise |
![]() | ThresholdToZero(TColor) | Threshold the image such that: dst(x,y) = src(x,y), if src(x,y)>threshold; 0, otherwise |
![]() | ThresholdToZeroInv(TColor) |
Threshold the image such that: dst(x,y) = 0, if src(x,y)>threshold; src(x,y), otherwise
|
![]() | ThresholdTrunc(TColor) |
Threshold the image such that: dst(x,y) = threshold, if src(x,y)>threshold; src(x,y), otherwise
|
![]() | ToBitmap()()() |
Convert this image into Bitmap, the pixel values are copied over to the Bitmap
|
![]() | ToBitmap(Int32, Int32) | Create a Bitmap image of certain size |
![]() | ToString()()() | (Inherited from Object.) |
![]() | Trace |
Sum of diagonal elements of the matrix
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | WarpAffine<(Of <(TMapDepth>)>)(Matrix<(Of <(TMapDepth>)>), INTER, WARP, TColor) |
Transforms source image using the specified matrix
|
![]() | WarpAffine<(Of <(TMapDepth>)>)(Matrix<(Of <(TMapDepth>)>), Int32, Int32, INTER, WARP, TColor) |
Transforms source image using the specified matrix
|
![]() | WarpPerspective<(Of <(TMapDepth>)>)(Matrix<(Of <(TMapDepth>)>), INTER, WARP, TColor) |
Transforms source image using the specified matrix
|
![]() | WarpPerspective<(Of <(TMapDepth>)>)(Matrix<(Of <(TMapDepth>)>), Int32, Int32, INTER, WARP, TColor) |
Transforms source image using the specified matrix
|
![]() | Width |
Get the width (#Cols) of the cvArray.
If ROI is set, the width of the ROI
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | WriteXml(XmlWriter) |
Function to call when serializing this object to XML
(Inherited from CvArray<(Of <(TDepth>)>).) |
![]() | Xor(Image<(Of <(TColor, TDepth>)>)) | Perform an elementwise XOR operation with another image and return the result |
![]() | Xor(TColor) |
Perform an binary XOR operation with some color
|
![]() | Xor(Image<(Of <(TColor, TDepth>)>), Image<(Of <(Gray, Byte>)>)) |
Perform an elementwise XOR operation with another image, using a mask, and return the result
|
![]() | Xor(TColor, Image<(Of <(Gray, Byte>)>)) |
Perform an binary XOR operation with some color using a mask
|
Inheritance Hierarchy
System..::.Object
Emgu.Util..::.DisposableObject
Emgu.Util..::.UnmanagedObject
Emgu.CV..::.CvArray<(Of <(TDepth>)>)
Emgu.CV..::.Image<(Of <(TColor, TDepth>)>)
Emgu.CV..::.Map<(Of <(TColor, TDepth>)>)
Emgu.CV..::.TimedImage<(Of <(TColor, TDepth>)>)
Emgu.Util..::.DisposableObject
Emgu.Util..::.UnmanagedObject
Emgu.CV..::.CvArray<(Of <(TDepth>)>)
Emgu.CV..::.Image<(Of <(TColor, TDepth>)>)
Emgu.CV..::.Map<(Of <(TColor, TDepth>)>)
Emgu.CV..::.TimedImage<(Of <(TColor, TDepth>)>)