LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Rgb.h
Go to the documentation of this file.
1 #if !defined(LSST_AFW_DISPLAY_RGB_H)
2 #define LSST_AFW_DISPLAY_RGB_H 1
3 
4 namespace lsst { namespace afw { namespace display {
5 
6 template<typename ImageT>
7 void
8 replaceSaturatedPixels(ImageT & rim, //< R image (e.g. i)
9  ImageT & gim, //< G image (e.g. r)
10  ImageT & bim, //< B image (e.g. g)
11  int borderWidth = 2, //< width of border used to estimate colour of saturated regions
12  float saturatedPixelValue = 65535 //< the brightness of a saturated pixel, once fixed
13  );
14 
15 }}}
16 
17 #endif
void ImageT & gim
Definition: Rgb.h:9
void ImageT ImageT int float saturatedPixelValue
Definition: Rgb.h:12
void ImageT ImageT & bim
Definition: Rgb.h:9
template void replaceSaturatedPixels(image::MaskedImage< float > &rim, image::MaskedImage< float > &gim, image::MaskedImage< float > &bim, int borderWidth, float saturatedPixelValue)
SetPixels< typename ImageT::Image > setR * rim()), setG(*gim.getImage()), setB(*bim.getImage()
void ImageT ImageT int borderWidth
Definition: Rgb.h:11