: Removing 'scatter' lines in transmission electron microscopy image Has anyone have an ideao if there is a way to remove the lines like the attached picture ? These are so called 'scatter' lines
Has anyone have an ideao if there is a way to remove the lines like the attached picture ? These are so called 'scatter' lines on a T.E.M. slide, made by a microtome.
More posts by @Welton168
4 Comments
Sorted by latest first Latest Oldest Best
I did a quick textual search for information pertaining to TEM image post processing and the general method is to use Fourier transformation. There are several free Fast Fourier Transforms (FFT) plugins available for photoshop.
You would convert the image to RGB, run FFT on it which breaks the image into parts and uses the rgb channels to store them. Edit the Red channel (see inset, from top to bottom: after (zoomed); before (zoomed); before (unzoomed)) using the clone tool to clone data very close to the part you want to alter.
Run IFFT ("invert fft") filter on it, see inset. The amount of alteration depends on your skill and dedication to the task.
A resource with great test samples showing how the patterns look under optimized conditions: www.qsimaging.com/ccd_noise_interpret_ffts.html
Note that for GD purposes, FFT is a great tool for descreening halftones and e.g. photo restoration
In this case removing artifacts may lead to at least some improvements as we may use the somewhat regular striped pattern of darker an lighter areas scattered with noise the image has.
Rather than removing noise I added noise to the lighter areas to reduce the french blind banding artifact. We can do so by defining a brush, or by defining a regular fill pattern to aid us here.
Select an area with fairly regular artifact bands to use as a fill pattern:
Use a bucket fill tool to fill the whole image with this pattern. Choose a darken mode to only apply the fill to areas lighter than the fill pattern.
Flip the fill pattern horizontally and repeat the darken bucket fill.
We may need to choose another area pattern to repeat step 2.
Reduce brightness and increase contrast until the result is satisfactory
We can see that the banding artifacts could only be reduced but not entirely be emoved. This mainly comes from random irregularites in the original. We therefore need to play with different areas, or different sizes of the fill pattern we select. To entirely remove all banding artifacts there will however be no way other than go back to a very time consuming manual approach.
Only way I can think to do it is manually.
Brightness and Contrast to eliminate most of the noise. Image > Adjustments > Brightness & Contrast...
Bump Brightness up to about +100 and Contrast up to +100
Go to Image > Adjustments > Levels...
Select the white eye dropper in the popup window and select a gray pixel in the remaining lines to saturate the image with more white.
Grab the brush tool B and paint the remaining bits white as needed.
Result
There are probably several ways to do this, I just tried the one that came to mind first. It involves using paths which match up to each individual vertical line, then stroking them with the brush tool at an appropriate brush size/hardness onto the layer mask of a brightness adjustment layer. It didn't come out perfectly, but it could if one were to spend some time hunting down every last bit of vertical line. Whether this method would suit your purpose depends on the quantity of images you need to do this to, and how much time you have.
This animation shows the results with each added step of targeting specific lines for removal (I did 3 steps).
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.