Functions | |
ByteImage& | operator &= (const ByteImage &img) |
ByteImage& | operator|= (const ByteImage &img) |
ByteImage& | operator^= (const ByteImage &img) |
ByteImage& | operator! (void) |
void | Contrast (Image< T > &input, float min, float max, Image< T > &output) |
void | Contrast (Image< T > &input, float min, float max) |
void | Contrast (Image< T > &input, float min, float max, float lo, float hi, Image< T > &output) |
void | Contrast (Image< T > &input, float min, float max, float lo, float hi) |
T* | operator[] (int i) |
T& | operator() (int i) |
Image< T >& | operator= (const Image< T > &img) |
int | operator== (const Image< T > &img) |
int | operator!= (const Image< T > &img) |
Image< T >& | operator= (const T val) |
void | clearImage (const T val) |
Image< T >& | operator+= (const T val) |
Image< T >& | operator-= (const T val) |
Image< T >& | operator *= (const T val) |
Image< T >& | operator+= (const Image< T > &img) |
Image< T >& | operator-= (const Image< T > &img) |
Image< T >& | operator *= (const Image< T > &img) |
IntImage& | operator &= (const IntImage &img) |
IntImage& | operator|= (const IntImage &img) |
void | Threshold (Image< T > &input, float th_level, ByteImage &output) |
|
Performs the contrast stretching of the input image in place. The contrast stretching is done according to the following formulas:
where Definition at line 54 of file Contrast.cpp. |
|
Performs the contrast stretching of the input image and stores the result in the output image. The contrast stretching is done according to the following formulas:
where Definition at line 37 of file Contrast.cpp. |
|
Performs the contrast stretching of the input image in place. The contrast stretching is done according to the following formula:
Definition at line 32 of file Contrast.cpp. |
|
Performs the contrast stretching of the input image and stores the result in the output image. The contrast stretching is done according to the following formula:
Definition at line 18 of file Contrast.cpp. |
|
Performs the thresholding of the input image using the given threshold level. This means that all those pixels in the output image corresponding to pixels in the input image whose values are smaller than th_level are set to 0, while the other pixels in the output image are set to 255.
Definition at line 9 of file Threshold.cpp. |
|
Sets all the pixels in the current image to the specified value.
Definition at line 182 of file Image.cpp. Referenced by FourierTransform::FourierTransform(), Magnitude(), TemplateMatch(), and Watershed().
|
|
Performs pixelwise logical AND between the current image and another image. The operation is performed only if the two images have the same size. Definition at line 5 of file IntImage.cpp. |
|
Performs pixelwise logical AND between the current image and another image. The operation is performed only if the two images have the same size. Definition at line 5 of file ByteImage.cpp. |
|
Multiplies pixelwise the current image by another image. The operation is performed only if the two images have the same size. |
|
Multiplies by a constant the value of each pixel in the current image. |
|
Performs pixelwise logical negation of the current image. Definition at line 67 of file ByteImage.cpp. |
|
Tests if two images are different in size or content. |
|
Overloaded access operator. Allows the syntax Image(k) for accessing linearly the image buffer. If k = i * width + j, then Image(k) is the pixel in the i-th row and j-th column. |
|
Adds pixelwise an image to the current one. The operation is performed only if the two images have the same size. |
|
Adds a constant to the value of each pixel in the current image. |
|
Subtracts pixelwise an image from the current one. The operation is performed only if the two images have the same size. |
|
Subtracts a constant from the value of each pixel in the current image. |
|
Sets all the pixels in the current image to the specified value. For some "mysterious" reasons this operator doesn't work in the classes derived from the class Image. To compensate for this, another function (clearImage()) was provided to do the same job. |
|
Copy operator. |
|
Tests if two images have the same size and the same content. |
|
Overloaded access operator. Allows the syntax Image[i][j] for accessing the pixel in the i-th row and j-th column. |
|
Performs pixelwise logical XOR between the current image and another image. The operation is performed only if the two images have the same size. Definition at line 45 of file ByteImage.cpp. |
|
Performs pixelwise logical OR between the current image and another image. The operation is performed only if the two images have the same size. Definition at line 22 of file IntImage.cpp. |
|
Performs pixelwise logical OR between the current image and another image. The operation is performed only if the two images have the same size. Definition at line 25 of file ByteImage.cpp. |