Skip to content
Snippets Groups Projects

Use ImageMetadata to manage NoData and TileHint

Merged 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 :thumbsup: votes from core developers, no :thumbsdown: 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

Merge request pipeline #8929 passed

Merge request pipeline passed for ec03fe30

Merged by Cédric TraizetCédric Traizet 3 years ago (Oct 24, 2021 7:44pm UTC)

Merge details

  • Changes merged into with 18dc504c.
  • Deleted the source branch.

Pipeline #8958 passed

Pipeline passed for 18dc504c on develop

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading