18 #ifndef PIC_JNI_WHITE_BALANCE_HPP 19 #define PIC_JNI_WHITE_BALANCE_HPP 21 #include "../base.hpp" 23 #include "../filtering/filter_white_balance.hpp" 51 printf(
"applyWhiteBalanceJNI: the image could not be written.\n");
58 return bWrite ? 1 : 0;
60 printf(
"applyWhiteBalanceJNI: the image could not be read.\n");
#define PIC_INLINE
Definition: base.hpp:33
The Image class stores an image as buffer of float.
Definition: image.hpp:60
static Image * execute(Image *imgIn, float *white_color, Image *out)
execute
Definition: filter_white_balance.hpp:162
Definition: dynamic_range.hpp:29
Definition: bilateral_separation.hpp:25
bool Read(std::string nameFile, LDR_type typeLoad)
Read opens an Image from a file on the disk.
bool Write(std::string nameFile, LDR_type typeWrite, int writerCounter)
Write saves an Image into a file on the disk.
PIC_INLINE int applyWhiteBalanceJNI(std::string imageInPath, std::string imageOutPath, int x, int y, bool bRobust=false)
applyWhiteBalanceJNI
Definition: white_balance.hpp:36