Interface ImageJConverter
public interface ImageJConverter
This class provides access to utility methods for interoperating with
ImageJ. It can be accessed via the DataManager.ij() method or the
DataManager.getImageJConverter() method.
-
Method Summary
Modifier and TypeMethodDescriptioncreateImage(ij.process.ImageProcessor processor, Coords coords, Metadata metadata) Create a new Image based on the provided ImageProcessor and metadata.ij.process.ImageProcessorcreateProcessor(Image image) Create an ImageProcessor whose image pixel data is derived from the provided Image.ij.process.ImageProcessorcreateProcessorFromComponent(Image image, int component) Create an ImageProcessor whose image pixel data is derived from a single component of the provided Image.
-
Method Details
-
createProcessor
Create an ImageProcessor whose image pixel data is derived from the provided Image.- Parameters:
image- Micro-Manager Image object- Returns:
- ImageJ ImageProcessor with reference to input Image pixel data
-
createProcessorFromComponent
Create an ImageProcessor whose image pixel data is derived from a single component of the provided Image. Use this to e.g. extract out just the red component of an RGB image.- Parameters:
image- Micro-Manager Image objectcomponent- Component number of the image to produce a processor for- Returns:
- ImageJ ImageProcessor whose pixels are based on a single component of the input Image.
-
createImage
Create a new Image based on the provided ImageProcessor and metadata.- Parameters:
processor- ImageProcessor whose pixel data will form the data of the result image.coords- Coordinates for the new image.metadata- Metadata to use to create the new Image.- Returns:
- an Image based on the pixel data in the processor and the given coordinates and metadata.
-