Functions | |
| int | cpl_image_binary_getselected (const cpl_image *in) |
| Get the number of occurences of CPL_BINARY_1. More... | |
| cpl_error_code | cpl_image_binary_and (cpl_image *in1, cpl_image *in2) |
| Performs a binary AND between two binary images. More... | |
| cpl_error_code | cpl_image_binary_or (cpl_image *in1, cpl_image *in2) |
| Performs a binary OR between two binary images. More... | |
| cpl_error_code | cpl_image_binary_xor (cpl_image *in1, cpl_image *in2) |
| Performs a binary XOR between two binary images. More... | |
| cpl_error_code | cpl_image_binary_not (cpl_image *in) |
| Performs a binary NOT on a binary image. More... | |
| cpl_error_code | cpl_image_binary_closing (cpl_image *in, cpl_matrix *ker) |
| Compute a morphological closing. More... | |
| cpl_error_code | cpl_image_binary_opening (cpl_image *in, cpl_matrix *ker) |
| Compute a morphological opening. More... | |
| cpl_error_code | cpl_image_binary_erosion (cpl_image *in, cpl_matrix *ker) |
| Compute a morphological erosion. More... | |
| cpl_error_code | cpl_image_binary_dilation (cpl_image *in, cpl_matrix *ker) |
| Compute a morphological dilation. More... | |
| cpl_image * | cpl_image_binary_select (cpl_image *in, double lo_cut, double hi_cut) |
| Select parts of an image with provided thresholds. More... | |
| cpl_image * | cpl_image_binary_labelize (cpl_image *in, int *nbobjs) |
| Labelise a binary map to differentiate different objects. More... | |
These images are useful for object detection routines or bad pixel map handling. Morphological routines (erosion, dilation, closing and opening) and logical operations are provided.
#include "cpl_image_binary.h"
|
||||||||||||
|
Performs a binary AND between two binary images.
Possible _cpl_error_code_ set in this function:
|
|
||||||||||||
|
Compute a morphological closing.
Possible _cpl_error_code_ set in this function:
|
|
||||||||||||
|
Compute a morphological dilation.
Possible _cpl_error_code_ set in this function:
|
|
||||||||||||
|
Compute a morphological erosion.
Possible _cpl_error_code_ set in this function:
|
|
|
Get the number of occurences of CPL_BINARY_1.
Possible _cpl_error_code_ set in this function:
|
|
||||||||||||
|
Labelise a binary map to differentiate different objects.
Possible _cpl_error_code_ set in this function:
|
|
|
Performs a binary NOT on a binary image.
Possible _cpl_error_code_ set in this function:
|
|
||||||||||||
|
Compute a morphological opening.
Possible _cpl_error_code_ set in this function:
|
|
||||||||||||
|
Performs a binary OR between two binary images.
|
|
||||||||||||||||
|
Select parts of an image with provided thresholds.
Possible _cpl_error_code_ set in this function:
|
|
||||||||||||
|
Performs a binary XOR between two binary images.
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002