Tools Class 
Namespace: Accord.Imaging
The Tools type exposes the following members.
Name  Description  

Center 
Computes the center of a given rectangle.
 
Collinear(PointF, PointF, PointF) 
Detects if three points are collinear.
 
Collinear(PointH, PointH, PointH) 
Detects if three points are collinear.
 
CopyResolutionFrom 
Copies the horizontal and vertical resolution specifications
from a source Bitmap image and stores in a destination image.
 
Fundamental(PointF, PointF) 
Creates the fundamental matrix between two
images from a set of points from each image.
 
Fundamental(PointH, PointH) 
Creates the fundamental matrix between two
images from a set of points from each image.
 
Fundamental(PointH, PointH, PointH) 
Creates the fundamental matrix between two
images from a set of points from each image.
 
GetFormat 
Gets the image format most likely associated with a given file name.
 
Homography(PointF, PointF) 
Creates an homography matrix matching points
from a set of points to another.
 
Homography(PointH, PointH) 
Creates an homography matrix matching points
from a set of points to another.
 
InnerProduct 
Computes the inner product of two points.
 
IsEqual 
Compares two rectangles for equality, considering an acceptance threshold.
 
LockBits(Bitmap, ImageLockMode) 
Locks a Bitmap into system memory.
 
LockBitsTResult(Bitmap, ImageLockMode, ActionUnmanagedImage) 
Locks a Bitmap into system memory and executes an operation with a
UnmanagedImage that points to this memory location.
 
LockBitsTResult(Bitmap, ImageLockMode, FuncUnmanagedImage, TResult) 
Locks a Bitmap into system memory and executes an operation with a
UnmanagedImage that points to this memory location.
 
Max(Bitmap) 
Computes the maximum pixel value in the given image.
 
Max(UnmanagedImage) 
Computes the maximum pixel value in the given image.
 
Max(Bitmap, Rectangle) 
Computes the maximum pixel value in the given image.
 
Max(Bitmap, Int32) 
Computes the maximum pixel value in the given image.
 
Max(BitmapData, Rectangle) 
Computes the maximum pixel value in the given image.
 
Max(UnmanagedImage, Rectangle) 
Computes the maximum pixel value in the given image.
 
Max(UnmanagedImage, Int32) 
Computes the maximum pixel value in the given image.
 
Mean(Bitmap) 
Computes the arithmetic mean of the pixels in a given image.
 
Mean(BitmapData) 
Computes the arithmetic mean of the pixels in a given image.
 
Mean(UnmanagedImage) 
Computes the arithmetic mean of the pixels in a given image.
 
Mean(Bitmap, Rectangle) 
Computes the arithmetic mean of the pixels in a given image.
 
Mean(BitmapData, Rectangle) 
Computes the arithmetic mean of the pixels in a given image.
 
Mean(UnmanagedImage, Rectangle) 
Computes the arithmetic mean of the pixels in a given image.
 
Min(Bitmap) 
Computes the maximum pixel value in the given image.
 
Min(UnmanagedImage) 
Computes the minimum pixel value in the given image.
 
Min(Bitmap, Rectangle) 
Computes the maximum pixel value in the given image.
 
Min(Bitmap, Int32) 
Computes the maximum pixel value in the given image.
 
Min(BitmapData, Rectangle) 
Computes the minimum pixel value in the given image.
 
Min(UnmanagedImage, Rectangle) 
Computes the minimum pixel value in the given image.
 
Min(UnmanagedImage, Int32) 
Computes the maximum pixel value in the given image.
 
Multiply(PointF, Single) 
Multiplies a point by a transformation matrix.
 
Multiply(Single, PointF) 
Multiplies a transformation matrix and a point.
 
Normalize(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).
 
Normalize(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).
 
Normalize(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).
 
Normalize(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).
 
StandardDeviation(Bitmap, Double) 
Computes the standard deviation of image pixels.
 
StandardDeviation(BitmapData, Double) 
Computes the standard deviation of image pixels.
 
StandardDeviation(UnmanagedImage, Double) 
Computes the standard deviation of image pixels.
 
StandardDeviation(Bitmap, Rectangle, Double) 
Computes the standard deviation of image pixels.
 
StandardDeviation(BitmapData, Rectangle, Double) 
Computes the standard deviation of image pixels.
 
StandardDeviation(UnmanagedImage, Rectangle, Double) 
Computes the standard deviation of image pixels.
 
Sum(Bitmap) 
Computes the sum of the pixels in a given image.
 
Sum(BitmapData) 
Computes the sum of the pixels in a given image.
 
Sum(UnmanagedImage) 
Computes the sum of the pixels in a given image.
 
Sum(Bitmap, Rectangle) 
Computes the sum of the pixels in a given image.
 
Sum(BitmapData, Rectangle) 
Computes the sum of the pixels in a given image.
 
Sum(UnmanagedImage, Rectangle) 
Computes the sum of the pixels in a given image.
 
ToBitmap(Byte) 
Converts an image given as a matrix of pixel values into a Bitmap.
For more options, please use the MatrixToImage class.
 
ToBitmap(Double) 
Converts an image given as a matrix of pixel values into a Bitmap.
For more options, please use the MatrixToImage class.
 
ToBitmap(Int16) 
Converts an image given as a matrix of pixel values into a Bitmap.
For more options, please use the MatrixToImage class.
 
ToBitmap(Int32) 
Converts an image given as a matrix of pixel values into a Bitmap.
For more options, please use the MatrixToImage class.
 
ToBitmap(Single) 
Converts an image given as a matrix of pixel values into a Bitmap.
For more options, please use the MatrixToImage class.
 
ToJagged(Bitmap) 
Converts an image given as a Bitmap into a matrix of
pixel values.For more options, please use the MatrixToImage class.
 
ToJagged(Bitmap, Int32) 
Converts an image given as a Bitmap into a matrix of
pixel values.For more options, please use the MatrixToImage class.
 
ToMatrix(Bitmap) 
Converts an image given as a Bitmap into a matrix of
pixel values.For more options, please use the MatrixToImage class.
 
ToMatrix(Bitmap, Int32) 
Converts an image given as a Bitmap into a matrix of
pixel values.For more options, please use the MatrixToImage class.
 
TransformPoints 
Transforms the given points using this transformation matrix.

References: