The Image<(Of <(TColor, TDepth>)>) type exposes the following members.

Constructors

  NameDescription
Image<(Of <(TColor, TDepth>)>)Overloaded.

Methods

  NameDescription
_And
Inplace And operation with src2
(Inherited from CvArray<(Of <(TDepth>)>).)
_Dilate
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
Erodes this image inplace using a 3x3 rectangular structuring element. Erosion are applied serveral (iterations) times
_Flip
Inplace flip the image
_GammaCorrect
Gamma correct this image inplace. The image must have a depth type of Byte.
_MaxOverloaded.
_MinOverloaded.
_MorphologyEx
Perform inplace advanced morphological transformations using erosion and dilation as basic operations.
_MulOverloaded.
_Not
Inplace compute the complement for all array elements
(Inherited from CvArray<(Of <(TDepth>)>).)
_Or
Inplace Or operation with src2
(Inherited from CvArray<(Of <(TDepth>)>).)
_SmoothGaussianOverloaded.
_ThresholdBinary
Threshold the image inplace such that: dst(x,y) = max_value, if src(x,y)>threshold; 0, otherwise
_ThresholdBinaryInv
Threshold the image inplace such that: dst(x,y) = 0, if src(x,y)>threshold; max_value, otherwise
_ThresholdToZero
Threshold the image inplace such that: dst(x,y) = src(x,y), if src(x,y)>threshold; 0, otherwise
_ThresholdToZeroInv
Threshold the image inplace such that: dst(x,y) = 0, if src(x,y)>threshold; src(x,y), otherwise
_ThresholdTrunc
Threshold the image inplace such that: dst(x,y) = threshold, if src(x,y)>threshold; src(x,y), otherwise
AbsDiffOverloaded.
AccOverloaded.
ActionOverloaded.
AddOverloaded.
AddWeighted
Return the weighted sum such that: res = this * alpha + img2 * beta + gamma
AllocateData
Allocate data for the array
(Overrides CvArray<(Of <(TDepth>)>)..::.AllocateData(Int32, Int32, Int32).)
AndOverloaded.
AvgSdvOverloaded.
BuildPyramid
Compute the image pyramid
Canny
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
CmpOverloaded.
ConcateHorizontal
Concate the current image with another image horizontally.
ConcateVertical
Concate the current image with another image vertically.
ConvertOverloaded.
ConvertFrom<(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>)>)
Convert the current image to the specific depth, at the same time scale and shift the values of the pixel
Convolution
Performs a convolution using the specific kernel
CopyOverloaded.
CopyBlank
Create an image of the same size
CopyTo
Copy the current array to dest
(Inherited from CvArray<(Of <(TDepth>)>).)
CountNonzero
Count the non Zero elements for each channel
DeserializeObjectData
A function used for runtime deserailization of the object
(Inherited from CvArray<(Of <(TDepth>)>).)
DetectHaarCascadeOverloaded.
Dilate
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()()().)
DotProduct
Calculates and returns the Euclidean dot product of two arrays. src1 dot src2 = sumI(src1(I)*src2(I))
(Inherited from CvArray<(Of <(TDepth>)>).)
DrawOverloaded.
DrawPolylineOverloaded.
EqualsOverloaded.
Erode
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
Extracts the contours of Maximally Stable Extremal Regions
ExtractSURFOverloaded.
FillConvexPoly
Fill the convex polygon with the specific color
Finalize
Destructor
(Inherited from DisposableObject.)
FindContoursOverloaded.
FindCornerSubPix
Iterates to find the sub-pixel accurate location of corners, or radial saddle points
Flip
Return a filpped copy of the current image
GetAverageOverloaded.
GetFASTKeypoints
Get the FAST keypoints from this image
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetMoments
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
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
Get the star keypoints from this image
GetSubRect
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.)
GoodFeaturesToTrackOverloaded.
HoughCircles
First apply Canny Edge Detector on the current image, then apply Hough transform to find circles
HoughLines
First apply Canny Edge Detector on the current image, then apply Hough transform to find line segments
HoughLinesBinary
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
Use impaint to recover the intensity of the pixels which location defined by on this image
InRangeOverloaded.
IntegralOverloaded.
Laplace
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
Convert the image to log polar, simulating the human foveal vision
MatchTemplate
The function slids through image, compares overlapped patches of size wxh with templ using the specified method and return the comparison results
MaxOverloaded.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
MinOverloaded.
MinMax
Returns the min / max location and values for the image
MorphologyEx
Perform advanced morphological transformations using erosion and dilation as basic operations.
MulOverloaded.
Not
Compute the complement image
OrOverloaded.
Pow
Raises every element of input array to p dst(I)=src(I)^p, if p is integer dst(I)=abs(src(I))^p, otherwise
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
Function to call when deserializing this object from XML
(Inherited from CvArray<(Of <(TDepth>)>).)
Reduce<(Of <(TOtherDepth>)>)
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.)
ResizeOverloaded.
RoiParam
Return parameters based on ROI
RotateOverloaded.
RunningAvgOverloaded.
SampleOverloaded.
Save
Save this image to the specific file
(Overrides CvArray<(Of <(TDepth>)>)..::.Save(String).)
SetIdentityOverloaded.
SetRandNormalOverloaded.
SetRandUniformOverloaded.
SetValueOverloaded.
SetZero
Set the values to zero
(Inherited from CvArray<(Of <(TDepth>)>).)
SmoothBilatral
Applying bilateral 3x3 filtering
SmoothBlurOverloaded.
SmoothGaussianOverloaded.
SmoothMedian
Finding median of sizexsize neighborhood
SnakeOverloaded.
Sobel
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
SubOverloaded.
SubROverloaded.
ThresholdBinary
Threshold the image such that: dst(x,y) = max_value, if src(x,y)>threshold; 0, otherwise
ThresholdBinaryInv
Threshold the image such that: dst(x,y) = 0, if src(x,y)>threshold; max_value, otherwise
ThresholdToZero
Threshold the image such that: dst(x,y) = src(x,y), if src(x,y)>threshold; 0, otherwise
ThresholdToZeroInv
Threshold the image such that: dst(x,y) = 0, if src(x,y)>threshold; src(x,y), otherwise
ThresholdTrunc
Threshold the image such that: dst(x,y) = threshold, if src(x,y)>threshold; src(x,y), otherwise
ToBitmapOverloaded.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
WarpAffineOverloaded.
WarpPerspectiveOverloaded.
WriteXml
Function to call when serializing this object to XML
(Inherited from CvArray<(Of <(TDepth>)>).)
XorOverloaded.

Operators

  NameDescription
AdditionOverloaded.
BitwiseAndOverloaded.
BitwiseOrOverloaded.
DivisionOverloaded.
MultiplyOverloaded.
OnesComplement
Compute the complement image
SubtractionOverloaded.

Fields

  NameDescription
_dataHandle
The pinned GCHandle to _array;
(Inherited from CvArray<(Of <(TDepth>)>).)
_ptr
A pointer to the unmanaged object
(Inherited from UnmanagedObject.)

Properties

  NameDescription
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.
Bytes
Get or Set an Array of bytes that represent the data in this array
(Inherited from CvArray<(Of <(TDepth>)>).)
Cols
The number of cols for this array
(Inherited from CvArray<(Of <(TDepth>)>).)
CvDepth
Get the equivalent opencv depth type for this image
Data
Get or Set the data for this matrix
Height
Get the height (#Rows) of the cvArray. If ROI is set, the height of the ROI
(Inherited from CvArray<(Of <(TDepth>)>).)
IsROISet
Indicates if the region of interest has been set
ItemOverloaded.
ManagedArray
Get the underneath managed array
(Overrides CvArray<(Of <(TDepth>)>)..::.ManagedArray.)
MIplImage
The IplImage structure
Norm
The norm of this Array
(Inherited from CvArray<(Of <(TDepth>)>).)
NumberOfChannels
Get the number of channels for this image
(Overrides CvArray<(Of <(TDepth>)>)..::.NumberOfChannels.)
Ptr
The pointer to the internal structure
(Inherited from CvArray<(Of <(TDepth>)>).)
ROI
Get or Set the region of interest for this image. To clear the ROI, set it to System.Drawing.Rectangle.Empty
Rows
The number of rows for this array
(Inherited from CvArray<(Of <(TDepth>)>).)
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>)>).)
Size
Get the size of the array
(Inherited from CvArray<(Of <(TDepth>)>).)
Trace
Sum of diagonal elements of the matrix
(Inherited from CvArray<(Of <(TDepth>)>).)
Width
Get the width (#Cols) of the cvArray. If ROI is set, the width of the ROI
(Inherited from CvArray<(Of <(TDepth>)>).)

See Also