Module org.scijava.ops.flim
Package org.scijava.ops.flim
Class AbstractFitRAI<I extends RealType<I>,K extends RealType<K>>
- java.lang.Object
-
- org.scijava.ops.flim.AbstractFitRAI<I,K>
-
- Type Parameters:
I- element type of the input imageK- element type of the kernel
- All Implemented Interfaces:
Functions.Arity4<FitParams<I>,RealMask,RandomAccessibleInterval<K>,FitWorker.FitEventHandler<I>,FitResults>
- Direct Known Subclasses:
BayesFit.BayesSingleFitRAI,GlobalFit.GlobalSingleFitRAI,LMAFit.LMASingleFitRAI,PhasorFit.PhasorSingleFitRAI,RLDFit.RLDSingleFitRAI
public abstract class AbstractFitRAI<I extends RealType<I>,K extends RealType<K>> extends Object implements Functions.Arity4<FitParams<I>,RealMask,RandomAccessibleInterval<K>,FitWorker.FitEventHandler<I>,FitResults>
Shared base class for all FLIM fitting Ops- Author:
- Dasong Gao, Gabriel Selzer
-
-
Constructor Summary
Constructors Constructor Description AbstractFitRAI()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description FitResultsapply(FitParams<I> params, RealMask mask, RandomAccessibleInterval<K> kernel, FitWorker.FitEventHandler<I> handler)abstract FitWorker<I>createWorker(FitParams<I> params, FitResults results)Generates a worker for the actual fit.-
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.Arity4
andThen
-
-
-
-
Method Detail
-
apply
public FitResults apply(FitParams<I> params, RealMask mask, RandomAccessibleInterval<K> kernel, FitWorker.FitEventHandler<I> handler)
- Specified by:
applyin interfaceFunctions.Arity4<FitParams<I extends RealType<I>>,RealMask,RandomAccessibleInterval<K extends RealType<K>>,FitWorker.FitEventHandler<I extends RealType<I>>,FitResults>- Parameters:
params- theFitParamsused for fittingmask- aRealMaskdefining the areas to fitkernel- kernel used in an optional convolution preprocessing stephandler- aFitWorker.FitEventHandlerallowing for callback once computation has completed- Returns:
- the results of fitting
-
-