Back to module list
Add contour lines
Description
Adds overlay contour lines (and optional labels) to an image. Lines correspond to contours of constant intensity in the input image.
Parameters
- Input image
- Description: Image onto which overlay will be rendered. Input image will only be updated if "Apply to input image" is enabled, otherwise the image containing the overlay will be stored as a new image with name specified by "Output image".
- Type: InputImageP
- Apply to input image
- Description: Determines if the modifications made to the input image (added overlay elements) will be applied to that image or directed to a new image. When selected, the input image will be updated.
- Type: BooleanP
- Default value: false
- Add output image to workspace
- Description: If the modifications (overlay) aren't being applied directly to the input image, this control will determine if a separate image containing the overlay should be saved to the workspace.
- Type: BooleanP
- Default value: false
- Output image
- Description: The name of the new image to be saved to the workspace (if not applying the changes directly to the input image).
- Type: OutputImageP
- Minimum intensity
- Description: Minimum contour magnitude to display.
- Type: DoubleP
- Default value: 0.0
- Maximum intensity
- Description: Maximum contour magnitude to display.
- Type: DoubleP
- Default value: 255.0
- Number of contours
- Description: Number of different contour magnitudes to display. Contour lines are equally spaced in magnitude between "Minimum intensity" and "Maximum intensity".
- Type: IntegerP
- Default value: 9
- Contour colour mode
- Description: Determines the colour look-up table to use when rendering the contours. Colour corresponds to the magnitude of that contour line:
- "Black fire" Standard ImageJ "Fire" look-up table. Values taken from "https://github.com/imagej/ImageJA/blob/master/src/main/java/ij/LookUpTable.java".
- "Ice" Standard ImageJ "Ice" look-up table. Values taken from "https://github.com/imagej/ImageJA/blob/master/src/main/java/ij/LookUpTable.java".
- "Jet" Look-up table with colour progression blue > cyan > green > yellow > orange > red.
- "Physics" Standard Fiji "Physics" look-up table. Values taken from "https://github.com/fiji/fiji/tree/master/luts/physics.lut".
- "Random" Random sequence of colours.
- "Single colour" All contour lines have the same colour, determined by the "Contour colour" parameter.
- "Single colour gradient" Single colour gradient from the colour determined by the "Contour colour" parameter (lowest magnitude contour line) and white (highest magnitude contour line).
- "Spectrum" Standard ImageJ "Spectrum" look-up table. Values taken from "https://github.com/imagej/ImageJA/blob/master/src/main/java/ij/LookUpTable.java".
- "Thermal" Standard Fiji "Thermal" look-up table. Values taken from "https://github.com/fiji/fiji/tree/master/luts/Thermal.lut".
- Type: ChoiceP
- Default value: Physics
- Choices:
- Black fire
- Ice
- Jet
- Physics
- Random
- Single colour gradient
- Single colour
- Spectrum
- Thermal
- Contour colour
- Description: Contour colour used when "Contour colour mode" is set to either "Single colour" or "Single colour gradient". Options are: White, Black, Red, Orange, Yellow, Green, Cyan, Blue, Violet, Magenta.
- Type: ChoiceP
- Default value: White
- Choices:
- White
- Black
- Red
- Orange
- Yellow
- Green
- Cyan
- Blue
- Violet
- Magenta
- Line width
- Description: Width of the rendered lines. Specified in pixel units.
- Type: DoubleP
- Default value: 1.0
- Draw every N points
- Description: Specifies the interval between plotted points on the contour line. This is useful when there are a lot of contour lines in an image and where a reduction in line precision isn't problematic. Plotting fewer points will reduce the memory required to store/display overlays.
- Type: IntegerP
- Default value: 1
- Show labels
- Description: Display magnitude values as text on each contour line. Labels are placed randomly on each contour and are oriented in line with the local contour line.
- Type: BooleanP
- Default value: true
- Decimal places
- Description: Number of decimal places to use when displaying numeric values.
- Type: IntegerP
- Default value: 0
- Use scientific notation
- Description: When enabled, numeric values will be displayed in the format 1.23E-3. Otherwise, the same value would appear as 0.00123.
- Type: BooleanP
- Default value: false
- Label colour mode
- Description: Determines the colour look-up table to use when rendering the contour labels. Colour corresponds to the magnitude of that contour line:
- "Black fire" Standard ImageJ "Fire" look-up table. Values taken from "https://github.com/imagej/ImageJA/blob/master/src/main/java/ij/LookUpTable.java".
- "Ice" Standard ImageJ "Ice" look-up table. Values taken from "https://github.com/imagej/ImageJA/blob/master/src/main/java/ij/LookUpTable.java".
- "Jet" Look-up table with colour progression blue > cyan > green > yellow > orange > red.
- "Physics" Standard Fiji "Physics" look-up table. Values taken from "https://github.com/fiji/fiji/tree/master/luts/physics.lut".
- "Random" Random sequence of colours.
- "Single colour" All contour line labels have the same colour, determined by the "Contour colour" parameter.
- "Single colour gradient" Single colour gradient from the colour determined by the "Contour colour" parameter (lowest magnitude contour line label) and white (highest magnitude contour line label).
- "Spectrum" Standard ImageJ "Spectrum" look-up table. Values taken from "https://github.com/imagej/ImageJA/blob/master/src/main/java/ij/LookUpTable.java".
- "Thermal" Standard Fiji "Thermal" look-up table. Values taken from "https://github.com/fiji/fiji/tree/master/luts/Thermal.lut".
- Type: ChoiceP
- Default value: Physics
- Choices:
- Black fire
- Ice
- Jet
- Physics
- Random
- Single colour gradient
- Single colour
- Spectrum
- Thermal
- Label colour
- Description: Contour line label colour used when "Contour colour mode" is set to either "Single colour" or "Single colour gradient". Options are: White, Black, Red, Orange, Yellow, Green, Cyan, Blue, Violet, Magenta.
- Type: ChoiceP
- Default value: White
- Choices:
- White
- Black
- Red
- Orange
- Yellow
- Green
- Cyan
- Blue
- Violet
- Magenta
- Label size
- Description: Font size of the text label.
- Type: IntegerP
- Default value: 12