median and mean filtering.
Hello and thanks for your help
Looking through the documentation I found the function medianblur
it seems to apply the median of a sector of an image defined by a square of some size.
My first question is: Is there something similar but for mean not median??
--
my second question is , what if afterwards I want to apply some operation to my original image and to the mean image. (substracting, multiplying by some scalar, adding) . Can I do this just with +.* /. as if images were just simple matrices... (which they are, no???)
Thanks a thousand
IMHO blur is what you need... And the operation on arrays are here
Thank you. I will try those .
@KansaiRobot Mean filtering is defined in terms of convolution followed by normalization. Convolution satisfies operator commutative property, therefore it can commute with some of those mathematical operations you mentioned. However, to construct some useful algorithms, you have to have college-level mathematical understanding in the field called "signal processing". Otherwise it will be too hard or impossible to understand or explain.
Another property satisfied by the rectangular mean filter is that it is separable - it can be represented as a single-column mean filtering followed by single-row mean filtering, or vice versa. These operators are also commutative. Therefore, it is true that you can do a lot of things in many different ways - but to understand that, you need some good knowledge of convolution.