Приветствую всех.
Необходимо на аэрофотоснимке выделить одинаковые области (границы водоема). Пробовал сделать "в лоб" с использованием Orfeotulbox KMeansClassification но он выдает сообщение
Загрузить результирующие слои
The following layers were not correctly generated.<ul><li>/tmp/processing_fa76f3a570f443d7bbfc98c9bae515fd/25fea264fe4a4e59aeb217ffdc539e45/out.tif</li></ul>You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.
Есть ли какй-то другой способ?
Последний раз редактировалось _taras_ 17 май 2019, 18:30, всего редактировалось 1 раз.
вы не то привели, нужно содержимое лога, упомянутого в сообщении
_taras_ писал(а): ↑14 май 2019, 15:55You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.
и почти наверняка там русские буквы, пробелы, и прочее в путях и именах файлов.
Выполняется алгоритм…
Algorithm 'KMeansClassification' starting…
Входные параметры:
{ 'in' : '/home/taras/video/QGIS/obrez_svod.tif', 'cleanup' : True, 'outmeans' : '/tmp/processing_d64e6fa8f96e4c3893e64569dbff3ba6/6a95c6dbb7864523bd8950c5894f4600/outmeans.file', 'nc' : 5, 'out' : '/tmp/processing_d64e6fa8f96e4c3893e64569dbff3ba6/05536e4404824c0688956c06e44d279c/out.tif', 'ts' : 100, 'sampler.periodic.jitter' : 0, 'rand' : 0, 'maxit' : 1000, 'nodatalabel' : 0, 'vm' : None, 'sampler' : 'periodic', 'outputpixeltype' : 5 }
/home/taras/OTB/bin/otbApplicationLauncherCommandLine: error while loading shared libraries: libOTBCommandLine-6.6.so.1: cannot open shared object file: No such file or directory
Выполнение завершено за 0.28 сек.
Результаты:
{'out': '/tmp/processing_d64e6fa8f96e4c3893e64569dbff3ba6/05536e4404824c0688956c06e44d279c/out.tif',
'outmeans': '/tmp/processing_d64e6fa8f96e4c3893e64569dbff3ba6/6a95c6dbb7864523bd8950c5894f4600/outmeans.file'}
Загрузить результирующие слои
The following layers were not correctly generated.<ul><li>/tmp/processing_d64e6fa8f96e4c3893e64569dbff3ba6/05536e4404824c0688956c06e44d279c/out.tif</li></ul>You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.
_taras_ писал(а): ↑15 май 2019, 07:46libOTBCommandLine-6.6.so.1: cannot open shared object file: No such file or directory
тут указана библиотека, которую не смогли загрузить. Поищите, есть ли она вообще, а дальшу нужно смотреть, какое окружение установлено при запуске командной строки, и видно ли эту библиотеку в этом окружении. Там скрипт на Питоне, скорее всего, его нужно изучать. И попробовать запустить снаружи.