Request for Changes-37: Enhance ManageNodata application

From OTBWiki
Jump to: navigation, search

[Request for Changes - 37] Enhance ManageNodata application

Status

  • Author: Mickaël Savinaud
  • Submitted on 22.04.2016
  • Proposed target release : 5.6
  • Pending
  • Branch Enhance_ManageNodata_app

Summary

The Manage NoData application didn't expose a way to set the output NoData value in the apply mode. The user cannot change the value to another one than zero. I proposed with this RFC to add a parameter to allow the user to set it.

Rationale

If you have an image without NoData and an additional mask with the NoData information, then it is useful to merge the latter in the image thanks to the apply mode. However currently the nodata value is set to zero. It is problematic because in some case 0 could be a valid value inside the image.

Implementation details

Classes and files

N/A

Applications

.../AppImageUtils/app/otbManageNoData.cxx          |    5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

Tests

N/A

Documentation

The recipe in Cookbook need to be updated to indicate that the new parameter exist [cf. ENH_ManageNoData_app branch).

Additional notes