Should ImageMetadata::compact() also compact the LUT?
Context
In the framework of the metadata refactoring (#2024 (closed)), the new otbImageMetadata object has a method called compact. This method checks if a metadata entry is shared by all the bands. If it is the case, it puts the metadata at the top level, so there is no redundancy.
As of now, the metadata of the type Look Up Table are not processed by the compact method. I open this issue so that we can discuss the benefits of implementing the compacting of the LUT metadata.
Pros and cons
Please, don't hesitate to complete this list.