Segmentation
Dividing an image into biologically meaningful segments for further analysis.
Object vs Background
Intensity thresholding can be applied if sufficiently and consistently higher intenstiy.
Selected automatic thresholding
Based on the histogram. Hard to figure out yourself sometimes, so automatic methods:
Isodata thresholding
Goal: converge to mean of the class intensity mean
Otsu thresholding
Goal: Minimize total intra-class intenstiy variance. Useful in bimodal histogram with similar objects and background volumes. 1. Compute the variance in two classes defined by the threshold 2. Minimize the total intra-class variance over all possible thresholds
Triangle thresholding
Goal: find the kinks between two class distributions
Useful in cases where the object pixels constitute only weak histogram peaks. Right after highest peak
Improvement of processing methods
Binary watershed
Makes sure you can distuingish the different particles.
Connectivity
Determine whether segmented pixels belong together. The number of objects depends on the chosen connectivity. Put some sort of structuring element over to determine.
Connected component labelling
Assign unique labels to segmented regions:
First pass: Check each pixel: if it is an object and has no neighbors, assign new label. If do neighbors, assign smallest label.
Second pass: Check each pixel and replace each label with smallest equivalent. All background pixels default to zero.
Boundary chain coding
If you know the starting pixel, the chain code gives you the next pixel and you can figure out the image.
Selected advanced segmentation methods
k-means clustering
Suitible if total number of intensity classes is known priori
Watershed segmentation
Start with local maxima by reverting the image. And let the water flow higher till you have all different objects.
Active contour segmentation
Level-set segmentation
Tracing line-like structures
Common in neuron segmentation.
Image -> soma segmentation -> tree segmentation -> spine segmentation -> reconstruction -> image
Problems segmentation
Segmentation by seeded region growing
Goal: completely partition an image into selected regions
Watershed based segmentation problems
Advanced segmentation methods
Incorporate knowledge to get a better idea of the boundary.
Hessian
Local approcimation to approximate more difficult underlying function. It is a vector pair where one of them shows the direction orthogonal to the neuro direction and the other toward the neuron.
Hessian matrix =
Ixx Ixy
Ixy Iyy