Neurodevelopmental Progression#
The ROI length is calculated by center line estimation. The general approach is to measure the line that will pass through the center of the ROI; this will correspond to the ventral nerve cord length.
Together the ROI length and the full embryo size are used as a proxy to measure the embryonic neurodevelopmental progression:
To determine the ROI length, the following steps are used:
Binarize the image
Apply a ‘chessboard’ distance transform
Determine the maxima points from the distance transform
RANSAC the points to eliminate outliers (usually resulting from areas that correspond to brain lobes)
Estimate ROI length with the line fitted with RANSAC
The vnc-length.ipynb notebook has a more complete description and illustrates how the algorithm works.
Embryo Full size#
The full specimen size is calculated by approximating the entire sample shape as an ellipse, and measuring this ellipse’s diameter.
The steps to calculate the embryo’s size are:
Equalize the image histogram
Automatic threshold (Triangle method)
Binarize the image
Calculate the corresponding ellipse’s major axis