Class ArrayImgXYShortProjector<A extends GenericShortType<A>>

    • Constructor Detail

      • ArrayImgXYShortProjector

        public ArrayImgXYShortProjector​(ArrayImg<A,​ShortArray> source,
                                        ArrayImg<UnsignedShortType,​ShortArray> target,
                                        double normalizationFactor,
                                        double min)
        Normalizes an ArrayImg and writes the result into target. This can be used in conjunction with UnsignedByteAWTScreenImage for direct displaying. The normalization is based on a normalization factor and a minimum value with the following dependency:

        normalizationFactor = (typeMax - typeMin) / (newMax - newMin)
        min = newMin

        A value is normalized by: normalizedValue = (value - min) * normalizationFactor.
        Additionally the result gets clamped to the type range of target (that allows playing with saturation...).
        Parameters:
        source - Signed/Unsigned input data
        target - Unsigned output
        normalizationFactor -
        min -
    • Method Detail

      • map

        public void map()