Skip to content

APIS v0.1.2

Choose a tag to compare

@changhwang changhwang released this 12 Mar 07:48
· 6 commits to main since this release

Summary

This release adds a RAW16-based XIMEA sequence workflow for quantitative imaging while keeping live view and normal snapshot behavior unchanged.

Added

  • XIMEA sequence capture in XI_RAW16
  • Per-sequence JSON metadata output
  • RAW16 to RGB8 preview conversion tool
  • Automated tests for RAW16 sequence, cleanup, metadata, and conversion

Changed

  • Live view remains XI_RGB24
  • Snapshot remains preview RGB TIFF
  • Camera gamma is fixed to 1.0
  • Sequence capture enforces gain = 0 dB
  • Default validated sequence exposures:
    • Normal / PPL: 18000 us
    • Crosspol / XPL: 50000 us

Sequence behavior

  • Live camera thread is stopped before sequence capture and restored afterward
  • Sequence images are saved as Bayer RAW uint16 TIFF
  • Sequence outputs now include:
    • {SampleID}_log.csv
    • {SampleID}_metadata.json

Conversion tool

  • Converts saved RAW16 TIFF datasets into RGB8 preview images
  • Processes the selected folder and its immediate child folders
  • Saves results into a sibling _rgb folder
  • Uses demosaic + fixed white balance + gamma for preview generation

Validation

  • Unit tests passed
  • Hardware validation confirmed:
    • RAW16 TIFF output
    • JSON metadata generation
    • Live-view recovery after sequence
    • Exposure baseline validation for PPL/XPL

Notes

  • Sequence capture is RAW16-only in this release
  • RAW Snapshot is not included
  • Reusing the same SampleID may append to the existing CSV log