Functions | |
int | cpl_image_is_rejected (const cpl_image *im, int x, int y) |
Test if a pixel is good or bad. | |
int | cpl_image_count_rejected (const cpl_image *im) |
Count the number of bad pixels declared in an image. | |
cpl_error_code | cpl_image_reject (cpl_image *im, int x, int y) |
Set a pixel as bad in an image. | |
cpl_error_code | cpl_image_accept (cpl_image *im, int x, int y) |
Set a pixel as good in an image. | |
cpl_error_code | cpl_image_accept_all (cpl_image *im) |
Set all pixels in the image as good. | |
cpl_error_code | cpl_image_reject_from_mask (cpl_image *im, const cpl_mask *map) |
Set the bad pixels in an image as defined in a mask. |
The provided functions allow the user to set or reset the bad pixels in an image, or to get various informations on those bad pixels.
#include "cpl_image_bpm.h"
|
Set a pixel as good in an image.
|
|
Set all pixels in the image as good.
|
|
Count the number of bad pixels declared in an image.
|
|
Test if a pixel is good or bad.
|
|
Set a pixel as bad in an image.
|
|
Set the bad pixels in an image as defined in a mask.
Possible _cpl_error_code_ set in this function:
|