Fusion of classification : Segmentation fault
Description
I tried to run otbcli_FusionOfClassifications with dempstershafer method. I have 4 binaries classifications (pixel value 0 for rural areas and 1 for urban) with same spatial parameters. I've got Segmentation fault (core dumped) fatal error.
I ran the same command line on 2 different Linux computers (See below) and i tried to use different parameters (removing confusion matrix, use an other mass of belief ...).
otbcli_FusionOfClassifications-il/media/wenger/ROMAIN/Stage_M2/Analyse_Resultats/JOB_2019-04-05_17-21-35_748424/31UDQ/31UDQ_2017_CLASSIFICATION_1.tif/media/wenger/ROMAIN/Stage_M2/Analyse_Resultats/JOB_2019-04-11_13-36-17_180655/31UDQ/31UDQ_2017_CLASSIFICATION_2.tif/media/wenger/ROMAIN/Stage_M2/Analyse_Resultats/JOB_2019-04-05_17-23-08_813336/31UDQ/31UDQ_2017_CLASSIFICATION_3.tif/media/wenger/ROMAIN/Stage_M2/Analyse_Resultats/JOB_2019-04-08_14-09-47_589123/31UDQ/31UDQ_2017_CLASSIFICATION_4.tif-methoddempstershafer-method.dempstershafer.cmfl/home/wenger/Documents/classifications_fusion/conf_matrices/31UDQ_2017_CLASSIFICATION_1.csv/home/wenger/Documents/classifications_fusion/conf_matrices/31UDQ_2017_CLASSIFICATION_2.csv/home/wenger/Documents/classifications_fusion/conf_matrices/31UDQ_2017_CLASSIFICATION_3.csv/home/wenger/Documents/classifications_fusion/conf_matrices/31UDQ_2017_CLASSIFICATION_4.csv-method.dempstershafer.mobkappa-out/home/wenger/Documents/classifications_fusion/fusion_classif_UDQ_test.tif
NOTE : It works well using majority voting method.
Steps to reproduce
Use 2 or more binaries classifications and run otbcli_FusionOfClassifications command.
Configuration information
OTB 6.6.1
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial