18 #ifndef PIC_TONE_MAPPING_TONE_MAPPING_OPERATOR_GL_HPP 19 #define PIC_TONE_MAPPING_TONE_MAPPING_OPERATOR_GL_HPP 21 #include "../../util/std_util.hpp" 23 #include "../image.hpp" 24 #include "../image_vec.hpp" 25 #include "../filtering/filter_luminance.hpp" 68 stdVectorClear<ImageGL>(
images);
78 bool bRelease =
false;
79 for(
auto i = 0; i <
images.size(); i++) {
121 imgOut = imgIn->
clone();
123 if(!imgOut->isSimilarType(imgIn)) {
128 imgOut =
Process(imgIn, imgOut);
virtual void releaseAux()
Definition: tone_mapping_operator.hpp:58
void updateImage(ImageGL *imgIn)
updateImage
Definition: tone_mapping_operator.hpp:76
bool isValid()
isValid checks if the current image is valid, which means if they have an allocated buffer or not...
Definition: filter_radial_basis_function.hpp:1148
Image * clone() const
Clone creates a deep copy of the calling instance.
Definition: filter_radial_basis_function.hpp:2057
The ToneMappingOperator class.
Definition: tone_mapping_operator.hpp:32
The ImageGL class.
Definition: image.hpp:42
ImageGL * allocateSimilarOneGL()
allocateSimilarOneGL
ImageGLVec images
Definition: tone_mapping_operator.hpp:36
void release()
release
Definition: tone_mapping_operator.hpp:66
int width
Definition: filter_radial_basis_function.hpp:80
bool checkInput(ImageGL *imgIn)
checkInput
Definition: tone_mapping_operator.hpp:99
Definition: bilateral_separation.hpp:25
virtual ImageGL * Process(ImageGL *imgIn, ImageGL *imgOut)
Process.
Definition: tone_mapping_operator.hpp:43
ToneMappingOperator()
ToneMappingOperator.
Definition: tone_mapping_operator.hpp:53
std::vector< ImageGL * > ImageGLVec
ImageGLVec an std::vector of pic::ImageGL.
Definition: image_vec.hpp:32
int height
Definition: filter_radial_basis_function.hpp:80
ImageGL * execute(ImageGL *imgIn, ImageGL *imgOut=NULL)
execute
Definition: tone_mapping_operator.hpp:114