Skip to content

Use ImageMetadata to manage NoData and TileHint

Cédric Traizet requested to merge refactor_no_data into develop

Summary

In OTB 7.4, NoData value are stored in the ITK dictionary of the images. A NoData key has been added into ImageMetadata numeric dictionary (MDNum::NoData), but the dictonary is still used in many filters.

With this Merge request, these filters now use the new framework to handle no data. The no data information is not stored into the ITK dictionary anymore. The ManageNoData application has also been refactored to include these changes.

The NoDataHelper functions have been refactored to use otb::ImageMetadata instead of itk::MetaDataDictionary.

In a similar fashion, the TileHintX and TileHintY are now also managed using ImageMetadata.

Copyright

The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.


Check before merging:

  • All discussions are resolved
  • At least 2 👍 votes from core developers, no 👎 vote.
  • The feature branch is (reasonably) up-to-date with the base branch
  • Dashboard is green
  • Copyright owner has signed the ORFEO ToolBox Contributor License Agreement
  • Optionally, run git diff develop... -U0 --no-color | clang-format-diff.py -p1 -i on latest changes and commit
Edited by Cédric Traizet

Merge request reports

Loading