9 Morphological Features
FLIM Playground extracts single-cell morphological features from each channel’s region of interest (ROI) mask using skimage.measure.regionprops. This extractor is available for image-based FLIM, intensity-only, and QPI channels. Area and length measurements remain in pixel units, including for QPI channels. The features are:
area: the number of pixels in the ROI.perimeter: length of the ROI boundary in pixels.solidity: \(\text{Solidity} = \frac{\text{\# ROI pixels}}{\text{\# convex hull pixels}}\), where the convex hull is the smallest convex polygon that contains the ROI. A value close to 1 means the shape has few concavities (more solid), while lower values indicate more irregular boundaries.eccentricity: the eccentricity of the ellipse with the same second moments as the region. It is the distance between the foci divided by the major-axis length: \(e = \frac{c}{a}, \quad e \in [0,1)\), where \(a\) is the semi-major axis length, \(b\) is the semi-minor axis length, and \(c = \sqrt{a^2 - b^2}\) is the distance from the center to either focus. When \(e=0\), the ellipse is a circle; values approaching 1 indicate a more elongated ellipse.major_axis_length: the length of the major axis of the ellipse that has the same second moments as the region: \(2a\). It represents the longest dimension of the ellipse that approximates the region’s shape.minor_axis_length: the length of the minor axis of the ellipse that has the same second moments as the region: \(2b\). It represents the shortest dimension of that ellipse.circularity: describes how close the ROI is to a perfect circle. It is calculated as \(\text{circularity} = \frac{4 \pi A_{\text{ROI}}}{P_{\text{ROI}}^2}\), where \(A_{\text{ROI}}\) is the area of the region and \(P_{\text{ROI}}\) is its perimeter. In continuous geometry, values lie in \((0,1]\), with \(1\) for a perfect circle. The pixel-based perimeter estimate used here can produce values above \(1\), and exported values are not clipped. If the estimated perimeter is zero, the app reports \(0\).
Output columns use the prefix Intensity morphology_<channel>:, for example Intensity morphology_nadh: area for cell area in the NAD(P)H channel. See feature grouping in Data Analysis.
The extractor also exports <channel>_centroid_x and <channel>_centroid_y as uncategorized numerical columns. If several channels request morphology from the same mask file, morphology is exported once under the first such channel.