Signal models#
A concentration analysis (Concentration analysis) has two swappable mathematical pieces: a signal reduction that turns an image difference into a scalar, and a model that turns that scalar into a physical quantity.
Signal reduction#
MonochromaticReduction– take one colour channel ("red","hue", …).SignalReduction– general projection / dimension reduction.AxisReduction,reduce_axis(),extrude_along_axis()– reduce or extend a spatial axis.
Models#
All models share the Model interface (__call__ maps signal to
quantity) and compose with CombinedModel.
linear / affine maps |
|
clamp to a range |
|
fixed / data-driven thresholds |
|
histogram-based thresholding |
|
|
|
non-linear map learned from labelled colour samples; handles curved colour paths |
|
interpolation along a colour path |
|
piecewise transformation |
|
apply a different model per region / facies |
|
BinaryDataSelector plus the criterion classes
(ValueCriterion, GradientModulusCriterion,
CombinedCriterion, …) build the masks that decide where a model is
applied.