Loading...
 

Seed-and-threshold segmentation



The problem of segmentation refers to the selection of interesting features in a dataset. Very much related to this is labeling, grouping together into a single entity (object) pixels that have something in common (tipically, that they are adjacent in space).

Let us consider the one-dimensional case for the sake of simplicity, but this will also apply to a 3D image. Let us suppose that we have the following intensity distribution along one spatial coordinate (this could be e.g. the profile of one image's intensity along one line in space):

Image

The simplest approach for segmenting features is to apply a threshold criterion: pixels having intensities above the threshold are considered to be interesting. Adjacent pixels can then be grouped together (labeled) forming a distinct object:

Image

But in this case the selected object is too small. It may happen that we need to take larger objects for ulterior analysis. This can be achieved by lowering the threshold as follows:

Image

This second threshold defines two distinct objects: one big in the center (that has three peaks), and another one on the left (a single peak). Those two objects, defined with this threshold, are not spatially connected. (We can see that if we reduce the threshold a little bit more the selection will be expanded in such a way that the two regions will be connected, defining one single multi-peak object).

This can be a conflict in certain cases: we need a low threshold in order to take large, feature-rich objects, but lowering it too much will introduce undesired small objects in the selection.

One possible solution is to use a seed. You can see it as a secondary threshold. The first threshold selects the data and makes independent objects, but then only objects that go above the seed level remain, while the rest are discarded:

Image

This level is called "seed" due to the way the segmentation is computed: the image is first explored for features that have intensities above the seed level, then the selection is expanded around this seed to capture all the neighbor VoXels down to the threshold.

By using this segmentation technique the Huygens Object Analyzer lets you find features in a more versatile way. To recover the simplest threshold behavior you just set the seed level equal to the threshold level (seed is 0 % above the threshold).

This VoXel selection is only one part of the feature finding problem. After the interesting voxels are defined, we still need to group them into distinct objects, and there are many possibilities for that. One robust criterion for 3D distributions like images from Fluorescence Microscopes is to label together adjacent voxels that share one face: they are said to be Six Connected. That is what the Object Analyzer does.

You can also discard tiny objects from your segmentation by setting a Garbage Volume.