Click or drag to resize
ImageTColor, TDepth Class
http://www.emgu.com
An Image is a wrapper to IplImage of OpenCV.
Inheritance Hierarchy

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntax
[SerializableAttribute]
public class Image<TColor, TDepth> : CvArray<TDepth>, 
	IImage, IDisposable, ICloneable, IInputOutputArray, IOutputArray, 
	IInputArrayOfArrays, IInputArray, IEquatable<Image<TColor, TDepth>>
where TColor : struct, new(), IColor
where TDepth : new()

Type Parameters

TColor
Color type of this image (either Gray, Bgr, Bgra, Hsv, Hls, Lab, Luv, Xyz, Ycc, Rgb or Rbga)
TDepth
Depth of this image (either Byte, SByte, Single, double, UInt16, Int16 or Int32)

The ImageTColor, TDepth type exposes the following members.

Constructors
  NameDescription
Protected methodImageTColor, TDepth
Create an empty Image
Public methodImageTColor, TDepth(Bitmap)
Obtain the image from the specific Bitmap
Public methodImageTColor, TDepth(Size)
Create a blank Image of the specific size
Public methodImageTColor, TDepth(String)
Read image from a file
Public methodImageTColor, TDepth(TDepth)
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
Public methodImageTColor, TDepth(ImageGray, TDepth)
Create a multi-channel image from multiple gray scale images
Public methodImageTColor, TDepth(Int32, Int32)
Create a blank Image of the specified width and height.
Public methodImageTColor, TDepth(SerializationInfo, StreamingContext)
Constructor used to deserialize runtime serialized object
Public methodImageTColor, TDepth(Int32, Int32, TColor)
Create a blank Image of the specified width, height and color.
Public methodImageTColor, TDepth(Int32, Int32, Int32, IntPtr)
Create an Image from unmanaged data.
Top
Methods
  NameDescription
Public method_And
Inplace And operation with otherArray
(Inherited from CvArrayTDepth.)
Public method_Dilate
Dilates this image inplace using a 3x3 rectangular structuring element. Dilation are applied several (iterations) times
Public method_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
Public method_Erode
Erodes this image inplace using a 3x3 rectangular structuring element. Erosion are applied several (iterations) times
Public method_Flip
Inplace flip the image
Public method_GammaCorrect
Gamma corrects this image inplace. The image must have a depth type of Byte.
Public method_Max(Double)
Inplace compute the elementwise maximum value with value
(Inherited from CvArrayTDepth.)
Public method_Max(CvArrayTDepth)
Inplace elementwise maximize the current Array with other
(Inherited from CvArrayTDepth.)
Public method_Min(Double)
Inplace compute the elementwise minimum value
(Inherited from CvArrayTDepth.)
Public method_Min(CvArrayTDepth)
Inplace elementwise minimize the current Array with other
(Inherited from CvArrayTDepth.)
Public method_MorphologyEx
Perform inplace advanced morphological transformations using erosion and dilation as basic operations.
Public method_Mul(Double)
Inplace multiply elements of the Array by scale
(Inherited from CvArrayTDepth.)
Public method_Mul(CvArrayTDepth)
Inplace elementwise multiply the current Array with src2
(Inherited from CvArrayTDepth.)
Public method_Not
Inplace compute the complement for all array elements
(Inherited from CvArrayTDepth.)
Public method_Or
Inplace Or operation with otherArray
(Inherited from CvArrayTDepth.)
Public method_SmoothGaussian(Int32)
Perform Gaussian Smoothing inplace for the current image
Public method_SmoothGaussian(Int32, Int32, Double, Double)
Perform Gaussian Smoothing inplace for the current image
Public method_ThresholdBinary
Threshold the image inplace such that: dst(x,y) = max_value, if src(x,y)>threshold; 0, otherwise
Public method_ThresholdBinaryInv
Threshold the image inplace such that: dst(x,y) = 0, if src(x,y)>threshold; max_value, otherwise
Public method_ThresholdToZero
Threshold the image inplace such that: dst(x,y) = src(x,y), if src(x,y)>threshold; 0, otherwise
Public method_ThresholdToZeroInv
Threshold the image inplace such that: dst(x,y) = 0, if src(x,y)>threshold; src(x,y), otherwise
Public method_ThresholdTrunc
Threshold the image inplace such that: dst(x,y) = threshold, if src(x,y)>threshold; src(x,y), otherwise
Public methodAbsDiff(TColor)
Computes absolute different between this image and the specific color
Public methodAbsDiff(ImageTColor, TDepth)
Computes absolute different between this image and the other image
Public methodAccumulate(ImageTColor, TDepth)
Accumulate img2 to the current image using the specific mask
Public methodAccumulate(ImageTColor, TDepth, ImageGray, Byte)
Accumulate img2 to the current image using the specific mask
Public methodAccumulateWeighted(ImageTColor, TDepth, Double)
Update Running Average. this = (1-alpha)*this + alpha*img
Public methodAccumulateWeighted(ImageTColor, TDepth, Double, ImageGray, Byte)
Update Running Average. this = (1-alpha)*this + alpha*img, using the mask
Public methodAction(ActionTDepth)
perform an generic action based on each element of the image
Public methodActionTOtherDepth(ImageTColor, TOtherDepth, ActionTDepth, TOtherDepth)
Perform an generic operation based on the elements of the two images
Public methodAdd(TColor)
Elementwise add a color val to the current image
Public methodAdd(ImageTColor, TDepth)
Elementwise add another image with the current image
Public methodAdd(ImageTColor, TDepth, ImageGray, Byte)
Elementwise add img2 with the current image, using a mask
Public methodAddWeighted
Return the weighted sum such that: res = this * alpha + img2 * beta + gamma
Protected methodAllocateData
Allocate data for the array
(Overrides CvArrayTDepthAllocateData(Int32, Int32, Int32).)
Public methodAnd(TColor)
Perform an binary AND operation with some color
Public methodAnd(ImageTColor, TDepth)
Perform an elementwise AND operation with another image and return the result
Public methodAnd(TColor, ImageGray, Byte)
Perform an binary AND operation with some color using a mask
Public methodAnd(ImageTColor, TDepth, ImageGray, Byte)
Perform an elementwise AND operation with another image, using a mask, and return the result
Public methodAvgSdv(TColor, MCvScalar)
Calculates the average value and standard deviation of array elements, independently for each channel
Public methodAvgSdv(TColor, MCvScalar, ImageGray, Byte)
Calculates the average value and standard deviation of array elements, independently for each channel
Public methodBuildPyramid
Compute the image pyramid
Public methodCanny(Double, Double)
Find the edges on this image and marked them in the returned image.
Public methodCanny(Double, Double, Int32, Boolean)
Find the edges on this image and marked them in the returned image.
Public methodCheckRange
Check that every array element is neither NaN nor +- inf. The functions also check that each value is between min and max. in the case of multi-channel arrays each channel is processed independently. If some values are out of range, position of the first outlier is stored in pos, and then the functions return false.
(Inherited from CvArrayTDepth.)
Public methodClone
Make a clone of the current image. All image data as well as the COI and ROI are cloned
Public methodCmp(Double, CmpType)
Compare the current image with value and returns the comparison mask
Public methodCmp(ImageTColor, TDepth, CmpType)
Compare the current image with img2 and returns the comparison mask
Public methodConcateHorizontal
Concate the current image with another image horizontally.
Public methodConcateVertical
Concate the current image with another image vertically.
Public methodConvertTOtherDepth(ConverterTDepth, TOtherDepth)
Compute the element of the new image based on element of this image
Public methodConvertTOtherDepth(FuncTDepth, 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
Public methodConvertTOtherColor, TOtherDepth
Convert the current image to the specific color and depth
Public methodConvertTDepth2, TDepth3(ImageTColor, TDepth2, FuncTDepth, TDepth2, TDepth3)
Compute the element of the new image based on the elements of the two image
Public methodConvertTDepth2, TDepth3, TDepth4(ImageTColor, TDepth2, ImageTColor, TDepth3, FuncTDepth, TDepth2, TDepth3, TDepth4)
Compute the element of the new image based on the elements of the three image
Public methodConvertTDepth2, TDepth3, TDepth4, TDepth5(ImageTColor, TDepth2, ImageTColor, TDepth3, ImageTColor, TDepth4, FuncTDepth, TDepth2, TDepth3, TDepth4, TDepth5)
Compute the element of the new image based on the elements of the four image
Public methodConvertFrom(Mat)
Convert the source image to the current image, if the size are different, the current image will be a resized version of the srcImage.
Public methodConvertFromTSrcColor, TSrcDepth(ImageTSrcColor, 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.
Public methodConvertScaleTOtherDepth
Convert the current image to the specific depth, at the same time scale and shift the values of the pixel
Public methodConvolution
Performs a convolution using the specific kernel
Public methodCopy
Make a copy of the image, if ROI is set, only copy the ROI
Public methodCopy(Rectangle)
Make a copy of the specific ROI (Region of Interest) from the image
Public methodCopy(ImageGray, Byte)
Make a copy of the image using a mask, if ROI is set, only copy the ROI
Public methodCopy(RotatedRect)
Get a copy of the boxed region of the image
Public methodCopy(ImageTColor, TDepth, ImageGray, Byte)
Copy the masked area of this image to destination
Public methodCopyBlank
Create an image of the same size
Public methodCopyTo
Copy the current array to destination
(Inherited from CvArrayTDepth.)
Public methodCountNonzero
Count the non Zero elements for each channel
Protected methodDeserializeObjectData
A function used for runtime deserailization of the object
(Inherited from CvArrayTDepth.)
Public methodDilate
Dilates this image using a 3x3 rectangular structuring element. Dilation are applied several (iterations) times
Public methodDispose
The dispose function that implements IDisposable interface
(Inherited from DisposableObject.)
Protected methodDisposeObject
Release all unmanaged memory associate with the image
(Overrides CvArrayTDepthDisposeObject.)
Public methodDotProduct
Calculates and returns the Euclidean dot product of two arrays. src1 dot src2 = sumI(src1(I)*src2(I))
(Inherited from CvArrayTDepth.)
Public methodDraw(Cross2DF, TColor, Int32)
Draw a 2D Cross using the specific color and thickness
Public methodDraw(IConvexPolygonF, TColor, Int32)
Draw a convex polygon using the specific color and thickness
Public methodDraw(Point, TColor, Int32, LineType, Point)
Draws contour outlines in the image if thickness>=0 or fills area bounded by the contours if thickness<0
Public methodDraw(Rectangle, TColor, Int32, LineType, Int32)
Draw an Rectangle of the specific color and thickness
Public methodDraw(CircleF, TColor, Int32, LineType, Int32)
Draw a Circle of the specific color and thickness
Public methodDraw(Ellipse, TColor, Int32, LineType, Int32)
Draw a Ellipse of the specific color and thickness
Public methodDraw(LineSegment2D, TColor, Int32, LineType, Int32)
Draw a line segment using the specific color and thickness
Public methodDraw(LineSegment2DF, TColor, Int32, LineType, Int32)
Draw a line segment using the specific color and thickness
Public methodDraw(String, Point, FontFace, Double, TColor, Int32, LineType, Boolean)
Draw the text using the specific font on the image
Public methodDraw(IInputArray, Int32, TColor, Int32, LineType, IInputArray, Int32, Point)
Draws contour outlines in the image if thickness>=0 or fills area bounded by the contours if thickness<0
Public methodDrawPolyline(Point, Boolean, TColor, Int32, LineType, Int32)
Draw the polyline defined by the array of 2D points
Public methodDrawPolyline(Point, Boolean, TColor, Int32, LineType, Int32)
Draw the polylines defined by the array of array of 2D points
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodEquals(ImageTColor, TDepth)
Compare two images, returns true if the each of the pixels are equal, false otherwise
Public methodErode
Erodes this image using a 3x3 rectangular structuring element. Erosion are applied several (iterations) times
Public methodExp
Calculates exponent of every element of input array: dst(I)=exp(src(I))
Public methodFillConvexPoly
Fill the convex polygon with the specific color
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodFindCornerSubPix
Iterates to find the sub-pixel accurate location of corners, or radial saddle points
Public methodFlip
Return a flipped copy of the current image
Public methodStatic memberFromIplImagePtr
Get the managed image from an unmanaged IplImagePointer
Public methodGetAverage
Get the average value on this image
Public methodGetAverage(ImageGray, Byte)
Get the average value on this image, using the specific mask
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetInputArray
The unmanaged pointer to the input array.
(Inherited from CvArrayTDepth.)
Public methodGetInputOutputArray
The unmanaged pointer to the input output array.
(Inherited from CvArrayTDepth.)
Public methodGetMoments
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 characteristics including 7 Hu invariants.
Public methodGetObjectData
A function used for runtime serialization of the object
(Overrides CvArrayTDepthGetObjectData(SerializationInfo, StreamingContext).)
Public methodGetOutputArray
The unmanaged pointer to the output array.
(Inherited from CvArrayTDepth.)
Public methodGetSchema
Get the xml schema
(Inherited from CvArrayTDepth.)
Public methodGetSubRect
Get a subimage which image data is shared with the current image.
Public methodGetSum
Get the sum for each color channel
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodGrabCut
Use grabcut to perform background foreground segmentation.
Public methodHoughCircles
First apply Canny Edge Detector on the current image, then apply Hough transform to find circles
Public methodHoughLines
Apply Canny Edge Detector follows by Probabilistic Hough transform to find line segments in the image
Public methodHoughLinesBinary
Apply Probabilistic 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)
Public methodInPaint
Use inpaint to recover the intensity of the pixels which location defined by on this image
Public methodInRange(TColor, TColor)
Checks that image elements lie between two scalars
Public methodInRange(ImageTColor, TDepth, ImageTColor, TDepth)
Checks that image elements lie between values defined by two images of same size and type
Public methodIntegral
Calculates integral images for the source image
Public methodIntegral(ImageTColor, Double, ImageTColor, Double)
Calculates integral images for the source image
Public methodIntegral(ImageTColor, Double, ImageTColor, Double, ImageTColor, Double)
Calculates one or more integral images for the source image
Public methodLaplace
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|
Public methodLog
Calculates natural logarithm of absolute value of every element of input array
Public methodLogPolar
Convert the image to log polar, simulating the human foveal vision
Public methodMatchTemplate
The function slids through image, compares overlapped patches of size wxh with templ using the specified method and return the comparison results
Public methodMax(Double)
Find the elementwise maximum value
Public methodMax(ImageTColor, TDepth)
Find the elementwise maximum value
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMin(Double)
Find the elementwise minimum value
Public methodMin(ImageTColor, TDepth)
Find the elementwise minimum value
Public methodMinMax
Returns the min / max location and values for the image
Public methodMorphologyEx
Perform advanced morphological transformations using erosion and dilation as basic operations.
Public methodMul(Double)
Elementwise multiply the current image with scale
Public methodMul(ImageTColor, TDepth)
Elementwise multiply img2 with the current image
Public methodMul(ImageTColor, TDepth, Double)
Elementwise multiply another image with the current image and the scale
Public methodNot
Compute the complement image
Public methodOr(TColor)
Perform an elementwise OR operation with some color
Public methodOr(ImageTColor, TDepth)
Perform an elementwise OR operation with another image and return the result
Public methodOr(TColor, ImageGray, Byte)
Perform an elementwise OR operation with some color using a mask
Public methodOr(ImageTColor, TDepth, ImageGray, Byte)
Perform an elementwise OR operation with another image, using a mask, and return the result
Public methodPow
Raises every element of input array to p dst(I)=src(I)^p, if p is integer dst(I)=abs(src(I))^p, otherwise
Public methodPyrDown
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.
Public methodPyrUp
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.
Public methodReadXml
Function to call when deserializing this object from XML
(Inherited from CvArrayTDepth.)
Public methodReduceTOtherDepth
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 CvArrayTDepth.)
Protected methodReleaseManagedResources
Release the managed resources. 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.)
Public methodResize(Double, Inter)
Scale the image to the specific size: width *= scale; height *= scale
Public methodResize(Int32, Int32, Inter)
Scale the image to the specific size
Public methodResize(Int32, Int32, Inter, Boolean)
Scale the image to the specific size
Protected methodStatic memberRoiParam
Return parameters based on ROI
Public methodRotate(Double, TColor)
Rotate the image the specified angle cropping the result to the original size
Public methodRotate(Double, TColor, Boolean)
Rotate this image the specified angle
Public methodRotate(Double, PointF, Inter, TColor, Boolean)
Rotate this image the specified angle
Public methodSample(LineSegment2D)
Sample the pixel values on the specific line segment
Public methodSample(LineSegment2D, Connectivity)
Sample the pixel values on the specific line segment
Public methodSave
Save this image to the specific file.
(Overrides CvArrayTDepthSave(String).)
Public methodSetIdentity
Initialize the identity matrix
(Inherited from CvArrayTDepth.)
Public methodSetIdentity(MCvScalar)
Initializes scaled identity matrix
(Inherited from CvArrayTDepth.)
Public methodSetRandNormal
Inplace fills Array with normally distributed random numbers
(Inherited from CvArrayTDepth.)
Public methodSetRandUniform
Inplace fills Array with uniformly distributed random numbers
(Inherited from CvArrayTDepth.)
Public methodSetValue(TColor)
Set every pixel of the image to the specific color
Public methodSetValue(Double, CvArrayByte)
Set the element of the Array to value, using the specific mask
(Inherited from CvArrayTDepth.)
Public methodSetValue(TColor, ImageGray, Byte)
Set every pixel of the image to the specific color, using a mask
Public methodSetValue(MCvScalar, CvArrayByte)
Set the element of the Array to value, using the specific mask
(Inherited from CvArrayTDepth.)
Public methodSetZero
Set the values to zero
(Inherited from CvArrayTDepth.)
Public methodSmoothBilatral
Applying bilateral 3x3 filtering
Public methodSmoothBlur(Int32, Int32)
Summation over a pixel param1 x param2 neighborhood with subsequent scaling by 1/(param1 x param2)
Public methodSmoothBlur(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)
Public methodSmoothGaussian(Int32)
Perform Gaussian Smoothing in the current image and return the result
Public methodSmoothGaussian(Int32, Int32, Double, Double)
Perform Gaussian Smoothing in the current image and return the result
Public methodSmoothMedian
Finding median of sizexsize neighborhood
Public methodSobel
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.
Public methodSplit
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
Public methodSub(TColor)
Elementwise subtract a color from the current image
Public methodSub(ImageTColor, TDepth)
Elementwise subtract another image from the current image
Public methodSub(ImageTColor, TDepth, ImageGray, Byte)
Elementwise subtract another image from the current image, using a mask
Public methodSubR(TColor)
result = val - this
Public methodSubR(TColor, ImageGray, Byte)
result = val - this, using a mask
Public methodThresholdAdaptive
Transforms grayscale image to binary image. Threshold calculated individually for each pixel. For the method CV_ADAPTIVE_THRESH_MEAN_C it is a mean of blockSize x blockSize pixel neighborhood, subtracted by param1. For the method CV_ADAPTIVE_THRESH_GAUSSIAN_C it is a weighted sum (gaussian) of blockSize x blockSize pixel neighborhood, subtracted by param1.
Public methodThresholdBinary
Threshold the image such that: dst(x,y) = max_value, if src(x,y)>threshold; 0, otherwise
Public methodThresholdBinaryInv
Threshold the image such that: dst(x,y) = 0, if src(x,y)>threshold; max_value, otherwise
Public methodThresholdToZero
Threshold the image such that: dst(x,y) = src(x,y), if src(x,y)>threshold; 0, otherwise
Public methodThresholdToZeroInv
Threshold the image such that: dst(x,y) = 0, if src(x,y)>threshold; src(x,y), otherwise
Public methodThresholdTrunc
Threshold the image such that: dst(x,y) = threshold, if src(x,y)>threshold; src(x,y), otherwise
Public methodToBitmap
Convert this image into Bitmap, the pixel values are copied over to the Bitmap
Public methodToBitmap(Int32, Int32)
Create a Bitmap image of certain size
Public methodToJpegData
Get the jpeg representation of the image
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodToUMat
Get the umat representation of this mat
(Inherited from CvArrayTDepth.)
Public methodWarpAffine(Mat, Inter, Warp, BorderType, TColor)
Transforms source image using the specified matrix
Public methodWarpAffine(Mat, Int32, Int32, Inter, Warp, BorderType, TColor)
Transforms source image using the specified matrix
Public methodWarpPerspectiveTMapDepth(MatrixTMapDepth, Inter, Warp, BorderType, TColor)
Transforms source image using the specified matrix
Public methodWarpPerspectiveTMapDepth(MatrixTMapDepth, Int32, Int32, Inter, Warp, BorderType, TColor)
Transforms source image using the specified matrix
Public methodWriteXml
Function to call when serializing this object to XML
(Inherited from CvArrayTDepth.)
Public methodXor(TColor)
Perform an binary XOR operation with some color
Public methodXor(ImageTColor, TDepth)
Perform an elementwise XOR operation with another image and return the result
Public methodXor(TColor, ImageGray, Byte)
Perform an binary XOR operation with some color using a mask
Public methodXor(ImageTColor, TDepth, ImageGray, Byte)
Perform an elementwise XOR operation with another image, using a mask, and return the result
Top
Operators
  NameDescription
Public operatorStatic memberAddition(Double, ImageTColor, TDepth)
Elementwise add img1 with val
Public operatorStatic memberAddition(TColor, ImageTColor, TDepth)
Elementwise add image with value
Public operatorStatic memberAddition(ImageTColor, TDepth, ImageTColor, TDepth)
Elementwise add img1 with img2
Public operatorStatic memberAddition(ImageTColor, TDepth, Double)
Elementwise add image with value
Public operatorStatic memberAddition(ImageTColor, TDepth, TColor)
Elementwise add image with value
Public operatorStatic memberBitwiseAnd(Double, ImageTColor, TDepth)
Perform an elementwise AND operation using an images and a color
Public operatorStatic memberBitwiseAnd(TColor, ImageTColor, TDepth)
Perform an elementwise AND operation using an images and a color
Public operatorStatic memberBitwiseAnd(ImageTColor, TDepth, ImageTColor, TDepth)
Perform an elementwise AND operation on the two images
Public operatorStatic memberBitwiseAnd(ImageTColor, TDepth, Double)
Perform an elementwise AND operation using an images and a color
Public operatorStatic memberBitwiseAnd(ImageTColor, TDepth, TColor)
Perform an elementwise AND operation using an images and a color
Public operatorStatic memberBitwiseOr(Double, ImageTColor, TDepth)
Perform an binary OR operation with some color
Public operatorStatic memberBitwiseOr(TColor, ImageTColor, TDepth)
Perform an binary OR operation with some color
Public operatorStatic memberBitwiseOr(ImageTColor, TDepth, ImageTColor, TDepth)
Perform an elementwise OR operation with another image and return the result
Public operatorStatic memberBitwiseOr(ImageTColor, TDepth, Double)
Perform an binary OR operation with some color
Public operatorStatic memberBitwiseOr(ImageTColor, TDepth, TColor)
Perform an binary OR operation with some color
Public operatorStatic memberDivision(Double, ImageTColor, TDepth)
scale / image
Public operatorStatic memberDivision(ImageTColor, TDepth, Double)
image / scale
Public operatorStatic memberMultiply(Double, ImageTColor, TDepth)
scale*image
Public operatorStatic memberMultiply(ImageTColor, TDepth, ConvolutionKernelF)
Perform the convolution with kernel on image
Public operatorStatic memberMultiply(ImageTColor, TDepth, Double)
image * scale
Public operatorStatic memberOnesComplement
Compute the complement image
Public operatorStatic memberSubtraction(Double, ImageTColor, TDepth)
- image
Public operatorStatic memberSubtraction(TColor, ImageTColor, TDepth)
Elementwise subtract another image from the current image
Public operatorStatic memberSubtraction(ImageTColor, TDepth, ImageTColor, TDepth)
Elementwise subtract another image from the current image
Public operatorStatic memberSubtraction(ImageTColor, TDepth, Double)
Elementwise subtract another image from the current image
Public operatorStatic memberSubtraction(ImageTColor, TDepth, TColor)
Elementwise subtract another image from the current image
Top
Extension Methods
  NameDescription
Public Extension MethodIsUmat
Determines whether the specified input array is umat.
(Defined by IInputArrayExtensions.)
Top
Fields
Properties
  NameDescription
Public propertyBitmap
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.
Public propertyBytes
Get or Set an Array of bytes that represent the data in this array
(Inherited from CvArrayTDepth.)
Public propertyCols
The number of cols for this array
(Inherited from CvArrayTDepth.)
Public propertyStatic memberCvDepth
Get the equivalent opencv depth type for this image
Public propertyData
Get or Set the data for this matrix. The Get function has O(1) complexity. The Set function make a copy of the data
Public propertyHeight
Get the height (#Rows) of the cvArray. If ROI is set, the height of the ROI
(Inherited from CvArrayTDepth.)
Public propertyIsROISet
Indicates if the region of interest has been set
Public propertyItemPoint
Get or Set the color in the location
Public propertyItemInt32
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.
Public propertyItemInt32, Int32
Get or Set the color in the rowth row (y direction) and columnth column (x direction)
Public propertyManagedArray
Get the underneath managed array
(Overrides CvArrayTDepthManagedArray.)
Public propertyMat
Get the Mat header that represent this CvArr
(Inherited from CvArrayTDepth.)
Public propertyMIplImage
The IplImage structure
Public propertyNorm
The norm of this Array
(Inherited from CvArrayTDepth.)
Public propertyNumberOfChannels
Get the number of channels for this image
(Overrides CvArrayTDepthNumberOfChannels.)
Public propertyPtr
The pointer to the internal structure
(Inherited from CvArrayTDepth.)
Public propertyROI
Get or Set the region of interest for this image. To clear the ROI, set it to System.Drawing.Rectangle.Empty
Public propertyRows
The number of rows for this array
(Inherited from CvArrayTDepth.)
Public propertySerializationCompressionRatio
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 CvArrayTDepth.)
Public propertySize
Get the size of the array
(Overrides CvArrayTDepthSize.)
Public propertyTrace
Sum of diagonal elements of the matrix
(Inherited from CvArrayTDepth.)
Public propertyWidth
Get the width (#Cols) of the cvArray. If ROI is set, the width of the ROI
(Inherited from CvArrayTDepth.)
Top
See Also