public class CaptureOverlayAction extends AbstractTMAction
Modifier and Type | Class and Description |
---|---|
static class |
CaptureOverlayAction.Factory |
Modifier and Type | Field and Description |
---|---|
static String |
INFO_TEXT |
static String |
KEY |
static String |
NAME |
logger
Constructor and Description |
---|
CaptureOverlayAction() |
Modifier and Type | Method and Description |
---|---|
static ij.ImagePlus |
capture(ij.ImagePlus imp,
int first,
int last,
Logger log)
Generates a new ImagePlus of type RGB, 2D over time, made by capturing
each time frame of the specified ImagePlus.
|
static ij.ImagePlus |
capture(TrackMate trackmate,
int first,
int last)
Generates a new ImagePlus of type RGB, 2D over time, made by capturing
each time frame of the TrackMate display.
|
void |
execute(TrackMate trackmate,
SelectionModel selectionModel,
DisplaySettings displaySettings,
Frame gui)
Executes this action within an application specified by the parameters.
|
setLogger
public static final String NAME
public static final String KEY
public static final String INFO_TEXT
public void execute(TrackMate trackmate, SelectionModel selectionModel, DisplaySettings displaySettings, Frame gui)
TrackMateAction
trackmate
- the TrackMate
instance to use to execute the action.selectionModel
- the SelectionModel
currently used in the application,displaySettings
- the DisplaySettings
used to render the views in the
application.gui
- the user-interface parent window.public static ij.ImagePlus capture(TrackMate trackmate, int first, int last)
trackmate
- the TrackMate instance to use for capture.first
- the first frame, inclusive, to capture.last
- the last frame, inclusive, to capture.public static ij.ImagePlus capture(ij.ImagePlus imp, int first, int last, Logger log)
imp
- the ImagePlus to capture.first
- the first frame, inclusive, to capture.last
- the last frame, inclusive, to capture.log
- a Logger
to report capture progress. Can be
null
.Copyright © 2015–2021 Fiji. All rights reserved.