Remove uniform background noise from image
Dahair
Does anyone know how to do that?
I found there are some build-in function like ImageRemoveBackground can do similar stuff. The example in tutorial shows it can remove a non-uniform back ground. But why there is no example show more common and easier example -- how to remove an uniform background.
I like Igor for many reasons but there is one thing I think Igor can improve and it puzzles me for a very long time. There are few example examples in the tutorial, and even if there was, the example is a very complex one, which is very uncommon and very hard for starter to understand
MyImage[][] = MyImage[p][q] < 10000 ? 0 : MyImage[p][q]
If the pixel at (p,q) < 10000 it will be set to 0 otherwise it will retain its current value.
Enter DisplayHelpTopic "Operators" on the Igor command line (in the history window) to open an Igor help window on the topic of operators. Scroll down about 5 or so paragraphs for info on the conditional operator.
October 10, 2015 at 11:20 am - Permalink
This is equivalent to:
Another way to do it:
Help topic of interest:
October 10, 2015 at 03:45 pm - Permalink
There are a couple of simplified responses here that show you how to reset values of pixels in appropriate range. Related to this is the ImageThreshold operation. I suggest that you take a look at that because it would allow you to reset pixels in multiple ranges.
Have you tried the Image Processing Tutorial (File Menu->Example Experiments->Tutorials)? It takes you from very simple image operations to relatively complex tasks.
A.G.
WaveMetrics, Inc.
October 12, 2015 at 01:11 pm - Permalink