Tags: ptahmose/MEXlibCZI
Tags
improve CZI-write (#10) * Enhance CziWriter::Close for C-dimension display settings Updated the `Close` method to handle C-dimension statistics. If the C-dimension is valid, default display settings are applied to each channel to prevent display issues in certain ZEN versions. The metadata builder is utilized to write these settings before retrieving the XML for metadata writing. * Bump patch version and enhance CZI handling tests Updated `CMakeLists.txt` to increment the patch version of the `MEXLIBCZI` library from 4 to 5. Refactored the `Close()` method in `CziWriter.cpp` to utilize a `unique_ptr` for better memory management. Added a new test function in `TestMEXlib_Write.m` to validate multi-channel CZI file creation and properties. * Update documentation for writer object's subblock Added details on available pixel types for argument #4 and options for argument #6 in the writer object's subblock documentation.
Remove commented-out methods from CziReader.h Deleted the commented-out methods `StatisticsToJson` and `SubblockInfoToJson` from `CziReader.h` to clean up the codebase and remove unnecessary clutter.