Hi,
As you know there are two type of modules:
type 1: create new image (for example Debayer ), which not compatible with ImageContainer
type 2: modify image (for example Crop ), which compatible with ImageContainer
I try to write some module, where user can choose where save result: to new image or to processed image.
My question: what should i do with PCL function:
bool MyModule_Instance::IsHistoryUpdater(const View& view) const
{
return true; // we are change source image, it's good for type 2 strategy
}
But, what about type 1? How to reset modification flag in source View?
PS or, can: return myModificationFlag;