Kappa Sigma Clipping

Please use this identifier to cite or link to this publication: http://hdl.handle.net/1926/367
When an image is mostly composed of background pixels, most of the automatic
thresholding methods are failing to produce a relevant threshold. This is mainly
caused because one mode is over represented compared to the other in the histogram
of the image. The Kappa-Sigma clipping, a method largely used in astronomy, don't
try to separate 2 modes in the histogram, but rather try to find the properties of
the only usable mode, the one of the background, and compute a threshold to select
the values significantly different of the background.
minus 2 Files (135Kb)
minus Automatic Testing Results by Insight-Journal Dashboard on Mon Nov 13 13:57:36 2006 for revision #1
starstarstarstarstar expertise: 5 sensitivity: 4
yellow This project passed all of its tests.
Click here for more details.

Go here to access the main testing dashboard.

minus Automatic image segmentation filter by Oleksandr Dzyubak on 07-10-2008 for revision #1
starstarstarstarstar expertise: 3 sensitivity: 4

The author provides a new ITK filter for the automatic image segmentation. The filter is fast and suitable for the dominant background pixel environment.

The author provides the source along with input/output images thus the work could easily be validated.

Open Science:
The work follows the Open Science spirit. The author does provide the both source code and images.

The reviewer was easily able to reproduce the authors' work. After downloading the code, the compilation process went without any problems and the reviewer did not experienced any problems with running the executable either. It just worked as it was supposed to.

Use of Open Source Software:
The author did use Open Source Software and the code was contributed as the Open Source package too.

Open Source Contributions:
The author does provide the code in the form that allows to easy compile and use it. Since this technique falls into the automatic family, the only time the reviewer spent is for downloading and compiling. Afterwards it just worked.

Code Quality:
The author provides the source code which easy to read. The reviewer used this code on Linux (Debian, Etch and Lenny) and UNIX(FreeBSD 6.3) platforms with gcc 3.4.6, gcc 4.1.2, and gcc 4.2.3 and did not experience any problems. The code runs very fast. On a laptop with Debian-Etch, P4 1.7GHz CPU, and 2GB, using as much as 20 iterations, it takes about one minute to process the 565x440x100 Int16 image. The code follows a modern coding style and the ITK rules so the reviewer would recommend this submission to be included to the ITK lib.

Applicability to other problems:
Since the filter is automatic, very fast, and does not require too much hardware resources, it can be used to routinely process sets of large similar images in the environment with dominant background pixels. Examples could be porous material or tubular (scanned alone) studies.

Additional Comments:
The author provides a utility which could be used for the initial input parameter evaluation that is very handy. After the input parameters for a particular image set is found, it could be hard coded into a program which afterwards makes the code running fully automated over this set of images.

minus It\\\'s mostly there, but needs more info by David Holmes on 11-14-2006 for revision #1
starstarstarstarstar expertise: 2 sensitivity: 3

The author has implemented a method for thresholding images which contain mostly background.  The premise is that a user can not look at the histogram in the usual sense (i.e. searching for one or more modes), because the histogram that consists mostly of background doesn't fit that profile.  This iteratively changes the threshold to try and find a better segmentation.

Not Applicable

No evidence of utility is provided.  In fact, this is my only issue. I appreciate the simplicity of the submission, but there is no reference to the method and its applications. I am not proposing that the method be validated for a particular application in this submission, but a little more time (and a reference or two) needs to be added to give background on the method.

Open Science:
All good

It is a fully deterministic algorithm and should be easy to reproduce from the code.  The text doesn't provide enough detail to reproduce the method.

Use of Open Source Software:

Open Source Contributions:

Code Quality:

Applicability to other problems:

Suggestions for future work:

Requests for additional information from authors:
Please add the references and theoretical disc ussion.

Additional Comments:


Comment by Vincent Rivola: Packers and Movers yellow
Thanks for post this helpful post - Please visit for More information about:

Comment by Gaetan Lehmann: write or not write yellow
I'm taken by a major problem with the insight journal: write a complete article that nobody take time to read carefully, or only write the code I need and write a very very short article (an so avoid loosing time for that task) to share the code I find useful with the others, and be exposed to the (well founded) criticism for that too short article. As a poor english speaker, writting a text in english can be very time consumming.
Anyway, it seem that this method is not common as a thresholding method, and I'm not able to found a reference for it, so I will develop a little more the article.
Add a new review
Quick Comments
Comment by Javin Preat yellow
American Air Condition and Heating Inc. is a family-owned Los Angeles company providing professional installation maintenance and repair services for all air conditioning and heating units.
Comment by Euro Packers yellow
Excellent post. I like all your post. I have a sheet all your articles. Thanks for this best post.

Download All

Statistics more
Global rating: starstarstarstarstar
Review rating: starstarstarstarstar [review]
Code rating: starstarstarstarstar
Paper Quality: plus minus

Information more
Categories: Filtering, Generic Programming, Thresholding
Keywords: automatic threshold, background
Toolkits: ITK, CMake
Export citation:


Linked Publications more
N4ITK:  Nick's N3 ITK Implementation For MRI Bias Field Correction N4ITK: Nick's N3 ITK Implementation For MRI Bias Field Correction
by Tustison N., Gee J.
Implementation of weighted Dijkstra’s shortest-path algorithm for n-D images Implementation of weighted Dijkstra’s shortest-path algorithm for n-D images
by Weizman L., Freiman M., Joskowicz L.

View license
Loading license...

Send a message to the author
Powered by Midas