- java.lang.Object
-
- org.scijava.ops.flim.Pseudocolor
-
- All Implemented Interfaces:
Functions.Arity6<FitResults,Float,Float,Float,Float,ColorTable,Img<ARGBType>>
public class Pseudocolor extends Object implements Functions.Arity6<FitResults,Float,Float,Float,Float,ColorTable,Img<ARGBType>>
Generates an HSV pseudocolored image of FLIM fit results, where for each pixel:- The Hue is a function of the lifetime fit parameters
- The Value is a function of the initial intensity fit parameters
- Author:
- Dasong Gao, Gabriel Selzer
- Implementation Note:
- op names="flim.pseudocolor"
-
-
Constructor Summary
Constructors Constructor Description Pseudocolor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Img<ARGBType>apply(FitResults rslt, Float cMin, Float cMax, Float bMin, Float bMax, ColorTable lut)static ColorTable8spci()ColorTableused by the SPCI applicationstatic ColorTable8tri2()ColorTableused by the TRI2 application-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.scijava.function.Functions.Arity6
andThen
-
-
-
-
Method Detail
-
apply
public Img<ARGBType> apply(FitResults rslt, Float cMin, Float cMax, Float bMin, Float bMax, ColorTable lut)
- Specified by:
applyin interfaceFunctions.Arity6<FitResults,Float,Float,Float,Float,ColorTable,Img<ARGBType>>- Parameters:
rslt- the results from the FitcMin- The lower bound used for the hue map. Hue values below this bound will be mapped to black. Defaults to the fifth percentile value across all lifetime values.cMax- The upper bound used for the hue map. Hue values above this bound will be mapped to white. Defaults to the ninety-fifth percentile value across all lifetime values.bMin- The lower bound used for the value map. Defaults to the minimum ofrslt.intensityMapbMax- The upper bound used for the value map. Defaults to the 99.5th percentile ofrslt.intensityMaplut- theColorTablefunction to map hues betweencMinandcMax. Defaults totri2().- Returns:
-
tri2
public static ColorTable8 tri2()
ColorTableused by the TRI2 application- Returns:
- a
ColorTablethat colors images similar to the TRI2 application
-
spci
public static ColorTable8 spci()
ColorTableused by the SPCI application- Returns:
- a
ColorTablethat colors images similar to the SPCI application
-
-