Feature Extraction

JuSPICE includes an advanced feature extraction pipeline that computes per-pixel feature maps from image data for downstream analysis workflows. Every feature map is the same size as the input image (same height/width), so any combination of them can be stacked into one multi-channel array. Pick a feature below.

Core API

The primary entry point is spice.features.extract() (see FeatureExtractionAccessor), accessed directly on a SPICEData object. It returns a new SPICEData whose data array is a multi-channel feature stack, sharing the source object’s provenance lineage.

See juspice.feature_extract for full API details and Feature Extraction for a module-level explanation.

Notebook example

A complete workflow example is available in:

The notebook uses load_data() and save_data() so each saved feature stack includes a metadata JSON sidecar and a reproducible history script.

References

Libraries

  • scikit-image — provides all 16 filter implementations used in the feature pipeline (Gaussian, Sobel, Scharr, Laplace, Hessian, Frangi, Meijering, Sato, Gabor, LBP, Canny, entropy, structure tensor)

  • NumPy — array stacking and statistical aggregation of feature maps

See Bibliography for the publications behind the methods on this page.