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 Summary
Constructors Constructor Description ImageMetadata(long recorderImageNumber, PcoMetadataStruct pcoMetadataStruct, Timestamp timestamp)Constructor as in pco.recorder PCO_RecorderCopyImage function -
Method Summary
Modifier and Type Method Description booleanequals(Object obj)bytegetBinningX()Returns the horizontal binningbytegetBinningY()Returns the vertical binninglonggetCameraImageNumber()Returns the number of the image returned by the FW of the cameralonggetCameraSerialNo()Serial number of the cameralonggetFramerateMilliHz()Returns the pixel clockPcoMetadataStructgetPcoMetadataStruct()Returns the info from the PCO_METADATA_STRUCTlonggetRecorderImageNumber()Returns the number of the image in the current recordintgetSensorConvFactor()Conversion factor of the sensorshortgetSensorTemperature()Returns the current temperature of the sensorintgetSizeX()Returns the width of the imageintgetSizeY()Returns the height of the imageTimestampgetTimestamp()Returns the timestampinthashCode()StringtoString()
-
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
Returns the info from the PCO_METADATA_STRUCT- Returns:
-
getTimestamp
Returns the timestamp- Returns:
-
hashCode
public int hashCode() -
equals
-
toString
-