Is there a mathematically simple way to create a matrix M' from a matrix M, which is equal to
$\int_0^{2 \pi} \hat{R}_\theta \; M \; d \theta$
Say I have a matrix which represents an image and I want to simulate the image I would have got if I was spinning the target image really fast. I realise what I proposed was more like spinning the camera, but I don't think that matters as I was going to trip the edges of the matrix to force it to be the original size.
Example:
I have a 3x3 matrix
$ M = \begin{pmatrix} 0 & 0 & 1 \\ 0 & 2 & 0 \\ 0 & 0 & 0 \end{pmatrix} $
This would be averaged to something like
$ M = \begin{pmatrix} 1/8 & 0 & 1/8 \\ 0 & 2 & 0 \\ 1/8 & 0 & 1/8 \end{pmatrix} $
where I would really need a 5x5 to represent it, but I have just thrown that stuff away. Dealing with the discritisation is a problem as well.
Is there a standard procedure for this? It seems like something that would be used by photoshop.
In principle you can rotate the image $n$ times by $360/n$ and then average over all the images, but a simpler way is to average all pixels in a ring directly: