Make Shark Optional for the DimensionalityReductionLearning
module.
The OTBDimensionalityReductionLearning
module adds machine learning models for dimensionality reduction :
SOMModel
: using the Self organizing map classes of the OTB.AutoencoderModel
: using the Shark autoencoder classes.PCAModel
: using the Shark PCA classes.Currently, this module can't be built without the Shark library, i.e. we can't build only the SOMModel
.
This is actually a problem, because this means that the OTBAppDimensionalityReduction
also requires Shark. Therefore if the OTB is built without Shark, the DimensionalityReduction
application (that has nothing to do with Shark and the DimensionalityReductionLearning
module) will not be built.
This merge request makes Shark Optional for the DimensionalityReductionLearning
module, similarly as it is done for the Supervised
and Unsupervised
modules. If OTB is built without Shark, the TrainDimensionalityReduction will only have the SOM algorithm available.
Also, this MR adds missing copyrights in the Unsupervised
module.
The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.
Check before merging: