Bug report #21373

OTB: Segmentation not working

Added by Paolo Cavallini about 5 years ago. Updated about 5 years ago.

Status:Closed
Priority:Normal
Assignee:Rashad Kanavath
Category:Processing/OTB
Affected QGIS version:3.7(master) Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:up/downstream
Crashes QGIS or corrupts data:No Copied to github as #:29190

Description

Segmentation, all default params fails because of a missing compulsory `Condition` parameter, which I cannot find in the interface.

Associated revisions

Revision c763b922
Added by Rashad Kanavath about 5 years ago

fix #21373 #21374: handle update optional status based on user-input

Parameters are marked required in descriptor file for certian
applications but they are only required if a parent parameter has a
"certain" value. So initial idea was to make all of those parameters
optional from OTB part. So that qgis can work correctly and was a easy
fix. But.. we (me and Antonie) decided not to take that route and
found a better fix.

`OtbParameterChoice` and its wrapper will update optional status of
all sub-parameters depending on the value of a choice parameter.

A test has been added to check this issue and will be available in
next commit.

History

#1 Updated by Jürgen Fischer about 5 years ago

  • Subject changed from OTB: Segmentation not wiorking to OTB: Segmentation not working

#2 Updated by Paolo Cavallini about 5 years ago

  • Assignee set to Rashad Kanavath

#3 Updated by Antoine Regimbeau about 5 years ago

This is a known problem in OTB. It will be fixed in the next release. For more information see https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/issues/1814.

#4 Updated by Giovanni Manghi about 5 years ago

  • Resolution set to up/downstream
  • Status changed from Open to Closed

Also available in: Atom PDF