Investigation of a fast approach for image enhancement in X-ray microanalysis and tomography