|
Computes the value of each pixel in the output image as statistics of the pixel values inside a window of size
centered in the corresponding pixel in the input image. The operation is done in place. The type of statistics is determined by the parameter op_type. Six types of statistics are allowed:
- the mean, in which case the parameter op_type should be "mean";
- the median, in which case the parameter op_type should be "median";
- the standard deviation, in which case the parameter op_type should be "stdev";
- the variance, in which case the parameter op_type should be "var";
- the min, in which case the parameter op_type should be "min";
- the max, in which case the parameter op_type should be "max".
Definition at line 71 of file LocalOp.cpp. |