Package de.pco.common

Class ImageMetadata

java.lang.Object
de.pco.common.ImageMetadata

public class ImageMetadata
extends Object
Presents the container of the subsidiary info to the recorded image. Encapsulates the recorder image number, PCO_METADATA_STRUCT and PCO_TIMESTAMP_STRUCT
Author:
PCO
  • Constructor Details

    • ImageMetadata

      public ImageMetadata​(long recorderImageNumber, PcoMetadataStruct pcoMetadataStruct, Timestamp timestamp)
      Constructor as in pco.recorder PCO_RecorderCopyImage function
      Parameters:
      recorderImageNumber -
      pcoMetadataStruct -
      timestamp -
  • Method Details

    • getCameraSerialNo

      public long getCameraSerialNo()
      Serial number of the camera
      Returns:
    • getCameraImageNumber

      public long getCameraImageNumber()
      Returns the number of the image returned by the FW of the camera
      Returns:
    • getRecorderImageNumber

      public long getRecorderImageNumber()
      Returns the number of the image in the current record
      Returns:
    • getSizeX

      public int getSizeX()
      Returns the width of the image
      Returns:
    • getSizeY

      public int getSizeY()
      Returns the height of the image
      Returns:
    • getBinningX

      public byte getBinningX()
      Returns the horizontal binning
      Returns:
    • getBinningY

      public byte getBinningY()
      Returns the vertical binning
      Returns:
    • getSensorConvFactor

      public int getSensorConvFactor()
      Conversion factor of the sensor
      Returns:
    • getFramerateMilliHz

      public long getFramerateMilliHz()
      Returns the pixel clock
      Returns:
    • getSensorTemperature

      public short getSensorTemperature()
      Returns the current temperature of the sensor
      Returns:
    • getPcoMetadataStruct

      public PcoMetadataStruct getPcoMetadataStruct()
      Returns the info from the PCO_METADATA_STRUCT
      Returns:
    • getTimestamp

      public Timestamp getTimestamp()
      Returns the timestamp
      Returns:
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals​(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object