The whole shebang. More...
#include "image_ops.h"
#include <vcl_cassert.h>
Go to the source code of this file.
The whole shebang.
Hopefully this will find and track eyes predominantly using eyespiders.
Definition in file image_ops.txx.
Definition at line 3 of file image_ops.txx.
max_val
Return the maximum value for an image. Assumes that a < operator is defined on the template parameter.
Definition at line 162 of file image_ops.txx.
min_val
Return the minimum value for an image. Assumes that a < operator is defined on the template parameter.
Definition at line 186 of file image_ops.txx.
normalise_image
Normalise an image so that the pixel values fit within the range specified. This is useful for normalising prior to saving int/double images. Can normalise to 0 to 255 and then save as a pgm etc.
Definition at line 215 of file image_ops.txx.
+= operator for images for adding a constant factor
An in place += operator for images. Saves from having to copy any data anywhere.
Definition at line 79 of file image_ops.txx.
-= operator for images
An in place -= operator for images. Saves from having to copy any data anywhere.
Definition at line 34 of file image_ops.txx.
threshold_abs
Threshold the passed in image but in an abs manner. That is, a pixel is set if abs(x-y)>threshold. Pixels which satisfy the condition are set to their corresponding counterparts in the source_vals image, and pixels which fail the condition are set to zero_val.
Definition at line 124 of file image_ops.txx.