Object Classification Features
ilastik object features describe objects in terms of numbers.
These are used in classification to differentiate between different types of objects (classes).
Per default ilastik comes with 3 feature plugins: “Standard Object Features”, “Skeleton Features” (2D only), and “Convex Hull Features”.
A short overview of available object features is given in the following segment of the webinar ilastik beyond pixel classification - [NEUBIASAcademy@Home]:
Click to load video from YouTube.
By clicking, you agree to YouTube’s privacy policy.
Some practical advice on selecting features can be found in our i2k ilastik tutorial:
Click to load video from YouTube.
By clicking, you agree to YouTube’s privacy policy.
Following here is a list of all available object features along with their description.
Standard Object Features
The coordinates of the upper right corner of the object's bounding box. The first axis is x, then y, then z (if available).
The coordinates of the lower left corner of the object's bounding box. The first axis is x, then y, then z (if available).
Total size of the object in pixels. No correction for anisotropic resolution or anything else.
For multi-channel images this feature computes the covariance between the channels inside the object.
For multi-channel images this feature computes the covariance between the channels in the object neighborhood. The size of the neighborhood is determined from the controls in the lower part of the dialogue.
Histogram of the intensity distribution inside the object. The histogram has 64 bins and its range is computed from the global minimum and maximum intensity values in the whole image.
Histogram of the intensity distribution in the object neighborhood. The histogram has 64 bins and its range is computed from the global minimum and maximum intensity values in the whole image. The size of the neighborhood is determined from the controls in the lower part of the dialogue.
Kurtosis of the intensity distribution inside the object, also known as the fourth standardized moment. This feature measures the heaviness of the tails for the distribution of intensity over the object's pixels. For multi-channel data, this feature is computed channel-wise. If all pixels in an object have the same value, you may encounter a 'bad features' warning when computing Kurtosis. Kurtosis will have a value of 0 for these objects.
Kurtosis of the intensity distribution in the object neighborhood, also known as the fourth standardized moment. This feature measures the heaviness of the tails for the distribution of intensity over the object's pixels. For multi-channel data, this feature is computed channel-wise. If all pixels in an object have the same value, you may encounter a 'bad features' warning when computing Kurtosis. Kurtosis will have a value of 0 for these objects. The size of the neighborhood is determined from the controls in the lower part of the dialogue.
Maximum intensity value inside the object. For multi-channel data, this feature is computed channel-wise.
Maximum intensity value in the object neighborhood. For multi-channel data, this feature is computed channel-wise. The size of the neighborhood is determined from the controls in the lower part of the dialogue.
Mean intensity inside the object. For multi-channel data, this feature is computed channel-wise.
Mean intensity in the object neighborhood. For multi-channel data, this feature is computed channel-wise. The size of the neighborhood is determined from the controls in the lower part of the dialogue.
Minimum intensity value inside the object. For multi-channel data, this feature is computed channel-wise.
Minimum intensity value in the object neighborhood. For multi-channel data, this feature is computed channel-wise. The size of the neighborhood is determined from the controls in the lower part of the dialogue.
PrincipalAxes, stay tuned for more details
Quantiles of the intensity distribution inside the object, in the following order: 0%, 10%, 25%, 50%, 75%, 90%, 100%.
Eigenvectors of the PCA on the coordinates of the object's pixels. Very roughly, this corresponds to the axes of an ellipse fit to the object. The axes are ordered starting from the one with the largest eigenvalue.
Average of the coordinates of this object's pixels.
Eigenvalues of the PCA on the coordinates of the object's pixels. Very roughly, this corresponds to the radii of an ellipse fit to the object. The radii are ordered, with the largest value as first.
Skewness of the intensity distribution inside the object, also known as the third standardized moment. This feature measures the asymmetry of the intensity distribution inside the object. For multi-channel data, this feature is computed channel-wise. If all pixels in an object have the same value, you may encounter a 'bad features' warning when computing Skewness. Skewness will have a value of 0 for these objects.
Skewness of the intensity distribution in the object neighborhood, also known as the third standardized moment. This feature measures the asymmetry of the intensity distribution in the object neighborhood. For multi-channel data, this feature is computed channel-wise. If all pixels in an object have the same value, you may encounter a 'bad features' warning when computing Skewness. Skewness will have a value of 0 for these objects. The size of the neighborhood is determined from the controls in the lower part of the dialogue.
Sum of intensity values for all the pixels inside the object. For multi-channel images, computed channel-wise.
Sum of intensity values for all the pixels in the object neighborhood. For multi-channel images, computed channel-wise. The size of the neighborhood is determined from the controls in the lower part of the dialogue.
Variance of the intensity distribution inside the object. For multi-channel data, this feature is computed channel-wise.
Variance of the intensity distribution in the object neighborhood. For multi-channel data, this feature is computed channel-wise. The size of the neighborhood is determined from the controls in the lower part of the dialogue.
Convex Hull Features
The ratio between the areas of the object and its convex hull (<= 1)
Combined centroid of convexity defects, which are defined as areas of the convex hull, not covered by the original object.
Total number of defects, i.e. number of connected components in the area of the convex hull, not covered by the original object
Mean distance between the centroids of the original object and the centroids of the defects, weighted by defect area.
Kurtosis (4th standardized moment, measure of tails' heaviness) of the distribution of the areas of convexity defects. Defects are defined as connected components in the area of the convex hull, not covered by the original object.
Average of the areas of convexity defects. Defects are defined as connected components in the area of the convex hull, not covered by the original object.
Skewness (3rd standardized moment, measure of asymmetry) of the distribution of the areas of convexity defects. Defects are defined as connected components in the area of the convex hull, not covered by the original object.
Variance of the distribution of areas of convexity defects. Defects are defined as connected components in the area of the convex hull, not covered by the original object.
Centroid of the convex hull of this object. The axes order is x, y, z
Area of the convex hull of this object
Centroid of this object. The axes order is x, y, z
Area of this object, computed from the interpixel contour (can be slightly larger than simple size of the object in pixels). This feature is used to compute convexity.
Skeleton Features
Average length of a branch in the skeleton
Total number of branches in the skeleton of this object.
The longest path between two endpoints on the skeleton.
The Euclidean distance between the endpoints (terminals) of the longest path on the skeleton
The number of cycles in the skeleton (i.e. the number of cavities in the region)
The coordinates of the midpoint on the longest path between the endpoints of the skeleton.
Total length of the skeleton in pixels
Spherical Texture Features
Extracts Spherical Textures: Angular mean projections of 2D or 3D image objects, as described in this preprint.
Spherical Texture features were first incorporated into ilastik in version 1.4.1b19
.
Maps each object to a sphere/circle by mean intensity projection, and returns the angle in rad with the max intensity in the angular projection.
Maps each object to a sphere/circle by mean intensity projection,and quantifies the distribution of the intensity signal in the projection through Circular Harmonics/Fourier decomposition. It thus gives a quantification of variance per angular wavelength in 20 values.
Maps each object to a sphere/circle by mean intensity projection, and returns the angle in rad with the max intensity in the angular projection.
Maps each object to a sphere/circle by mean intensity projection,and quantifies the distribution of the intensity signal in the projection through Spherical Harmonics/Fourier decomposition. It thus gives a quantification of variance per angular wavelength in 20 values.