Hi:
I have a really strange problem with resampling which seems a bit alarming.
I have an image with a central peak pixel I want to use to generate other small images. The original, by definition and of necessity, has odd dimensions (1001x1001). The rest of the image is perfectly symmetric about the central peak as well. I don't know if I am making sense here, but to my mind, it would stand to reason, that an image with a central peak which is perfectly symmetric should produce a symmetric centrally peaked smaller image, regardless of its size,as long as it has odd dimensions. As a matter of fact I should assume as long as I am resizing amoungst odd dimension images, I should never lose symmetry about the center, nor lose the center itself. Conversely, I would very well expect some funky results and loss of symmetry trying to convert from odd to even dimensions etc.
However, whenever I use the Resample or IntegerResample tools to shrink my 1001x1001 to a small enough image of odd dimensions, the peak is no longer present in the center pixel (I assume the pixel readout tool is working properly BTW), and the entire image is no longer symmetric about the center.
![Shocked :o](http://pixinsight.com/forum/Smileys/default/shocked.gif)
Interestingly, I can get the result I want (dim*dim) if I resample up from 1001*1001 to dim*100, and then shrink with IntegerResample (downsample average) by 100x. It's a two stepper with different tools... not ideal, and not intuitive.
I have attached an original 1001x1001 centrally peaked image with perfectly symmetric surrounding pixels.
I also have attached a result from a Resample (Auto algorithm) down to 35x35, and a result from IntegerResample (Average) down to 35x35.
I play a lot with odd-dimension images with central features, and a fix would be be... comforting?
![smile :)](http://pixinsight.com/forum/Smileys/default/smile.gif)
cheers
Colin