Class FlattenAsChannel

Object
AnchorBean<StackReader>
StackReader
FlattenAsChannel

public class FlattenAsChannel extends StackReader
Combines all series and frames returned by a reader by converting them into multiple channels in the same image.

It assumes that the underlying StackReader will only return images with:

  1. a constant number of channels.
  2. a constant number of frames.
Author:
Owen Feehan
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    StackReader
    Reads the image that is subsequently flattened.
    OpenedImageFile
    openFile(Path path, ExecutionTimeRecorder executionTimeRecorder)
     
    void
    setStackReader(StackReader stackReader)
    Reads the image that is subsequently flattened.

    Methods inherited from class org.anchoranalysis.image.io.bean.stack.reader.StackReader

    readStack

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • FlattenAsChannel

      public FlattenAsChannel()
  • Method Details

    • openFile

      public OpenedImageFile openFile(Path path, ExecutionTimeRecorder executionTimeRecorder) throws ImageIOException
      Specified by:
      openFile in class StackReader
      Throws:
      ImageIOException
    • getStackReader

      public StackReader getStackReader()
      Reads the image that is subsequently flattened.
    • setStackReader

      public void setStackReader(StackReader stackReader)
      Reads the image that is subsequently flattened.