Hello.
There are wrong result in Minimum/Maximum Operation.
Look at DefectMapInstance.cpp code around Line#348
switch ( operation )
I think need to Sort pixels before switch ( operation ).
Otherwise, in case DMPOperation::Minimum: f = pixels[0] is correspond to TopRight pixel which value can be not minimum value.
Just move code "pcl::Sort( pixels.Begin(), pixels.At( n ) );" from line#367 to line before "switch ( operation )".
Best regards,
Nikolay.