Functions | |
| cpl_image * | cpl_image_bpm_from_image (const cpl_image *in, int *pbadpix, int *pfirstgood) |
| Create a binary image from an image bad pixels map. More... | |
| cpl_image * | cpl_image_bpm_from_image_subw (const cpl_image *in, const int llx, const int lly, const int urx, const int ury, int *pbadpix, int *pfirstgood) |
| Create a binary image from an image BPM subwindow. More... | |
| int | cpl_image_bpm_is_badpix (const cpl_image *im, const int x, const int y) |
| Test if a pixel is good or bad. More... | |
| int | cpl_image_bpm_count (const cpl_image *im) |
| Count the number of bad pixels declared in an image. More... | |
| cpl_error_code | cpl_image_bpm_set_badpix (cpl_image *im, const int x, const int y) |
| Set a pixel as bad in an image. More... | |
| cpl_error_code | cpl_image_bpm_reset_badpix (cpl_image *im, const int x, const int y) |
| Set a pixel as good in an image. More... | |
| cpl_error_code | cpl_image_bpm_reset (cpl_image *im) |
| Set all pixels in the image as good. More... | |
| cpl_error_code | cpl_image_bpm_set_from_ascii (cpl_image *im, const char *file) |
| Set the bad pixels in an image as defined in an ASCII file. More... | |
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"
|
|
Count the number of bad pixels declared in an image.
|
|
||||||||||||||||
|
Create a binary image from an image bad pixels map.
Possible _cpl_error_code_ set in this function:
|
|
||||||||||||||||||||||||||||||||
|
Create a binary image from an image BPM subwindow.
Possible _cpl_error_code_ set in this function:
|
|
||||||||||||||||
|
Test if a pixel is good or bad.
|
|
|
Set all pixels in the image as good.
|
|
||||||||||||||||
|
Set a pixel as good in an image.
|
|
||||||||||||||||
|
Set a pixel as bad in an image.
|
|
||||||||||||
|
Set the bad pixels in an image as defined in an ASCII file.
3 2 9 1 8 5 10 Possible _cpl_error_code_ set in this function:
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002