I’m looking for room to improve in the way I’m pre-processing images for batch image analysis. The main drive is to get the contrast between pore (dark areas) and surface in order to get consistent segmentation down to the smallest visible pore (~3 pixels). One of the areas that probably needs to be addressed is to ensure consistent histogram information in order to obtain consistent segmentation.
I’ve written scripts to evaluate sample (example attached) surface porosity and pore size distribution. For a given sample, three locations are SEM imaged and saved. For a given set of three images for each sample, the following pre-process steps are applied:
- acquire scale information (scale bar)
- FFT bandpass ( filter up to one and to 1000 pixels); autoscale / saturate
- percentile threshold (50%) and adjust to segment (<5%) pore areas
- binary image
- local thickness plug-in
Any input would be most welcome.
sample 1_3.tif (1.2 MB) applied for pore size distribution