Probe Software Users Forum

Software => CalcImage => Topic started by: Ben Buse on February 26, 2026, 06:20:06 AM

Title: Re-bining re-sampling
Post by: Ben Buse on February 26, 2026, 06:20:06 AM
What's the best way to re-bin pixels? Is it best done in surfer https://support.goldensoftware.com/hc/en-us/articles/226628167-Resample-resize-or-crop-a-grid-file-in-Surfer (https://support.goldensoftware.com/hc/en-us/articles/226628167-Resample-resize-or-crop-a-grid-file-in-Surfer) or does Pfe do this? I looking to reduce the number of pixels to remove noise.
Title: Re: Re-bining re-sampling
Post by: Probeman on February 26, 2026, 09:10:30 AM
Quote from: Ben Buse on February 26, 2026, 06:20:06 AMWhat's the best way to re-bin pixels? Is it best done in surfer https://support.goldensoftware.com/hc/en-us/articles/226628167-Resample-resize-or-crop-a-grid-file-in-Surfer (https://support.goldensoftware.com/hc/en-us/articles/226628167-Resample-resize-or-crop-a-grid-file-in-Surfer) or does Pfe do this? I looking to reduce the number of pixels to remove noise.

I think this is best performed in Surfer.

By default the GRD output in CalcImage is 1 pixel per pixel simply because we don't want to make any assumptions about the data.  But you can either over sample (smooth) or under sample (weighted average) the GRD points in an image:

https://surferhelp.goldensoftware.com/griddata/weighted_averaging.htm

In Probe for EPMA when exporting random points to Surfer for gridding one can specify the grid density, because these points could be randomly distributed:

https://smf.probesoftware.com/index.php?topic=713.msg12040#msg12040

Using the weighted averaging method options one can specify the rules for calculating the output grid point based on the surrounding grid points.