githubdoe / DFTFringe

DFTFringe Telescope Mirror interferometry analysis Program.
GNU General Public License v3.0
163 stars 59 forks source link

gaussian blur causes weird pixelated edges in simulated ronchi #162

Open gr5 opened 1 week ago

gr5 commented 1 week ago

Version 7.2.3 but I think it does it in many older versions as I've seen this before

To Reproduce I processed igrams from a real mirror. I'll include pictures of the issue and a picture of a ronchigram of the real mirror.

I smoothed the wavefront with "tools" "smooth current wavefront" although that's not required to see the problem.

I created a perfect simulated wavefront and the same issue happens: looks bad if gaussian smoothing is on.

GOOD:

2024-10-09 12_53_47-geo_processed_smoothed

BAD:

2024-10-09 12_53_16-geo_processed_smoothed

ACTUAL:

DSC04479

gr5 commented 1 week ago

I'm guessing the gaussian blur is widening the image by the number of pixels in the convolution and this isn't getting cropped at the edge of the mirror so somehow the ronchi code is including this extra data in it's calculations.