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 
Locks a Bitmap into system memory.
 
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)  Obsolete.
Converts an image given as a matrix of pixel values into
a Bitmap.
 
ToBitmap(Int16)  Obsolete.
Converts an image given as a matrix of pixel values into
a Bitmap.
 
ToBitmap(Double, Int32, Int32)  Obsolete.
Converts an image given as a array of pixel values into
a Bitmap.
 
ToBitmap(Double, Int32, Int32, Double, Double)  Obsolete.
Converts an image given as a array of pixel values into
a Bitmap.
 
ToBitmap(Double, Int32, Int32, Double, Double)  Obsolete.
Converts an image given as a array of pixel values into
a Bitmap.
 
ToDoubleArray(Bitmap)  Obsolete.
Converts a given image into a array of doubleprecision
floatingpoint numbers scaled between 1 and 1.
 
ToDoubleArray(Bitmap, Int32)  Obsolete.
Converts a given image into a array of doubleprecision
floatingpoint numbers scaled between 1 and 1.
 
ToDoubleArray(BitmapData, Int32)  Obsolete.
Converts a given image into a array of doubleprecision
floatingpoint numbers scaled between 1 and 1.
 
ToDoubleArray(UnmanagedImage, Int32)  Obsolete.
Converts a given image into a array of doubleprecision
floatingpoint numbers scaled between the given range.
 
ToDoubleArray(Bitmap, Double, Double)  Obsolete.
Converts a given image into a array of doubleprecision
floatingpoint numbers scaled between the given range.
 
ToDoubleArray(BitmapData, Double, Double)  Obsolete.
Converts a given image into a array of doubleprecision
floatingpoint numbers scaled between the given range.
 
ToDoubleArray(Bitmap, Int32, Double, Double)  Obsolete.
Converts a given image into a array of doubleprecision
floatingpoint numbers scaled between the given range.
 
ToDoubleArray(BitmapData, Int32, Double, Double)  Obsolete.
Converts a given image into a array of doubleprecision
floatingpoint numbers scaled between the given range.
 
ToDoubleArray(UnmanagedImage, Int32, Double, Double)  Obsolete.
Converts a given image into a array of doubleprecision
floatingpoint numbers scaled between the given range.
 
ToDoubleMatrix(Bitmap, Int32)  Obsolete.
Converts a given image into a array of doubleprecision
floatingpoint numbers scaled between 1 and 1.
 
ToDoubleMatrix(BitmapData, Int32)  Obsolete.
Converts a given image into a array of doubleprecision
floatingpoint numbers scaled between 1 and 1.
 
ToDoubleMatrix(Bitmap, Int32, Double, Double)  Obsolete.
Converts a given image into a array of doubleprecision
floatingpoint numbers scaled between the given range.
 
ToDoubleMatrix(BitmapData, Int32, Double, Double)  Obsolete.
Converts a given image into a array of doubleprecision
floatingpoint numbers scaled between the given range.
 
TransformPoints 
Transforms the given points using this transformation matrix.

References: