Click or drag to resize
Accord.NET (logo)

Tools Class

Static tool functions for imaging.
Inheritance Hierarchy
SystemObject
  Accord.ImagingTools

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public static class Tools
Request Example View Source

The Tools type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCenter
Computes the center of a given rectangle.
Public methodStatic memberCollinear(PointF, PointF, PointF)
Detects if three points are collinear.
Public methodStatic memberCollinear(PointH, PointH, PointH)
Detects if three points are collinear.
Public methodStatic memberCopyResolutionFrom
Copies the horizontal and vertical resolution specifications from a source Bitmap image and stores in a destination image.
Public methodStatic memberFundamental(PointF, PointF)
Creates the fundamental matrix between two images from a set of points from each image.
Public methodStatic memberFundamental(PointH, PointH)
Creates the fundamental matrix between two images from a set of points from each image.
Public methodStatic memberFundamental(PointH, PointH, PointH)
Creates the fundamental matrix between two images from a set of points from each image.
Public methodStatic memberGetFormat
Gets the image format most likely associated with a given file name.
Public methodStatic memberHomography(PointF, PointF)
Creates an homography matrix matching points from a set of points to another.
Public methodStatic memberHomography(PointH, PointH)
Creates an homography matrix matching points from a set of points to another.
Public methodStatic memberInnerProduct
Computes the inner product of two points.
Public methodStatic memberIsEqual
Compares two rectangles for equality, considering an acceptance threshold.
Public methodStatic memberLockBits(Bitmap, ImageLockMode)
Locks a Bitmap into system memory.
Public methodStatic memberLockBitsTResult(Bitmap, ImageLockMode, ActionUnmanagedImage)
Locks a Bitmap into system memory and executes an operation with a UnmanagedImage that points to this memory location.
Public methodStatic memberLockBitsTResult(Bitmap, ImageLockMode, FuncUnmanagedImage, TResult)
Locks a Bitmap into system memory and executes an operation with a UnmanagedImage that points to this memory location.
Public methodStatic memberMax(Bitmap)
Computes the maximum pixel value in the given image.
Public methodStatic memberMax(UnmanagedImage)
Computes the maximum pixel value in the given image.
Public methodStatic memberMax(Bitmap, Rectangle)
Computes the maximum pixel value in the given image.
Public methodStatic memberMax(Bitmap, Int32)
Computes the maximum pixel value in the given image.
Public methodStatic memberMax(BitmapData, Rectangle)
Computes the maximum pixel value in the given image.
Public methodStatic memberMax(UnmanagedImage, Rectangle)
Computes the maximum pixel value in the given image.
Public methodStatic memberMax(UnmanagedImage, Int32)
Computes the maximum pixel value in the given image.
Public methodStatic memberMean(Bitmap)
Computes the arithmetic mean of the pixels in a given image.
Public methodStatic memberMean(BitmapData)
Computes the arithmetic mean of the pixels in a given image.
Public methodStatic memberMean(UnmanagedImage)
Computes the arithmetic mean of the pixels in a given image.
Public methodStatic memberMean(Bitmap, Rectangle)
Computes the arithmetic mean of the pixels in a given image.
Public methodStatic memberMean(BitmapData, Rectangle)
Computes the arithmetic mean of the pixels in a given image.
Public methodStatic memberMean(UnmanagedImage, Rectangle)
Computes the arithmetic mean of the pixels in a given image.
Public methodStatic memberMin(Bitmap)
Computes the maximum pixel value in the given image.
Public methodStatic memberMin(UnmanagedImage)
Computes the minimum pixel value in the given image.
Public methodStatic memberMin(Bitmap, Rectangle)
Computes the maximum pixel value in the given image.
Public methodStatic memberMin(Bitmap, Int32)
Computes the maximum pixel value in the given image.
Public methodStatic memberMin(BitmapData, Rectangle)
Computes the minimum pixel value in the given image.
Public methodStatic memberMin(UnmanagedImage, Rectangle)
Computes the minimum pixel value in the given image.
Public methodStatic memberMin(UnmanagedImage, Int32)
Computes the maximum pixel value in the given image.
Public methodStatic memberMultiply(PointF, Single)
Multiplies a point by a transformation matrix.
Public methodStatic memberMultiply(Single, PointF)
Multiplies a transformation matrix and a point.
Public methodStatic memberNormalize(PointF, MatrixH)
Normalizes a set of homogeneous points so that the origin is located at the centroid and the mean distance to the origin is sqrt(2).
Public methodStatic memberNormalize(PointF, Single)
Normalizes a set of homogeneous points so that the origin is located at the centroid and the mean distance to the origin is sqrt(2).
Public methodStatic memberNormalize(PointH, MatrixH)
Normalizes a set of homogeneous points so that the origin is located at the centroid and the mean distance to the origin is sqrt(2).
Public methodStatic memberNormalize(PointH, Single)
Normalizes a set of homogeneous points so that the origin is located at the centroid and the mean distance to the origin is sqrt(2).
Public methodStatic memberStandardDeviation(Bitmap, Double)
Computes the standard deviation of image pixels.
Public methodStatic memberStandardDeviation(BitmapData, Double)
Computes the standard deviation of image pixels.
Public methodStatic memberStandardDeviation(UnmanagedImage, Double)
Computes the standard deviation of image pixels.
Public methodStatic memberStandardDeviation(Bitmap, Rectangle, Double)
Computes the standard deviation of image pixels.
Public methodStatic memberStandardDeviation(BitmapData, Rectangle, Double)
Computes the standard deviation of image pixels.
Public methodStatic memberStandardDeviation(UnmanagedImage, Rectangle, Double)
Computes the standard deviation of image pixels.
Public methodStatic memberSum(Bitmap)
Computes the sum of the pixels in a given image.
Public methodStatic memberSum(BitmapData)
Computes the sum of the pixels in a given image.
Public methodStatic memberSum(UnmanagedImage)
Computes the sum of the pixels in a given image.
Public methodStatic memberSum(Bitmap, Rectangle)
Computes the sum of the pixels in a given image.
Public methodStatic memberSum(BitmapData, Rectangle)
Computes the sum of the pixels in a given image.
Public methodStatic memberSum(UnmanagedImage, Rectangle)
Computes the sum of the pixels in a given image.
Public methodStatic memberToBitmap(Byte)
Converts an image given as a matrix of pixel values into a Bitmap. For more options, please use the MatrixToImage class.
Public methodStatic memberToBitmap(Double)
Converts an image given as a matrix of pixel values into a Bitmap. For more options, please use the MatrixToImage class.
Public methodStatic memberToBitmap(Int16)
Converts an image given as a matrix of pixel values into a Bitmap. For more options, please use the MatrixToImage class.
Public methodStatic memberToBitmap(Int32)
Converts an image given as a matrix of pixel values into a Bitmap. For more options, please use the MatrixToImage class.
Public methodStatic memberToBitmap(Single)
Converts an image given as a matrix of pixel values into a Bitmap. For more options, please use the MatrixToImage class.
Public methodStatic memberToJagged(Bitmap)
Converts an image given as a Bitmap into a matrix of pixel values.For more options, please use the MatrixToImage class.
Public methodStatic memberToJagged(Bitmap, Int32)
Converts an image given as a Bitmap into a matrix of pixel values.For more options, please use the MatrixToImage class.
Public methodStatic memberToMatrix(Bitmap)
Converts an image given as a Bitmap into a matrix of pixel values.For more options, please use the MatrixToImage class.
Public methodStatic memberToMatrix(Bitmap, Int32)
Converts an image given as a Bitmap into a matrix of pixel values.For more options, please use the MatrixToImage class.
Public methodStatic memberTransformPoints
Transforms the given points using this transformation matrix.
Top
Remarks

References:

See Also