Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • otb otb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 189
    • Issues 189
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Main Repositories
  • otbotb
  • Merge requests
  • !286

Add class probability output for RF classifiers

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jordi Inglada requested to merge classifier_probability_output into develop Nov 09, 2018
  • Overview 27
  • Commits 7
  • Changes 38

Summary

Add an output to the ImageClassifier application providing an image with the probability of each class for each pixel.

Rationale

The image has as many channels as the number of classes and each channel stores the probability of a class in the order of the labels. Only the implementation for SharkRF has been done.

Implementation Details

Classes and files

Many files and classes are touched, since the approach is to add a tag which indicates if a particular ML model knows how to output the probabilities. It is the same approach used for the confidence map. Therefore, all ML models have now this tag.

The ClassificationFilter has a new output containing the probability map.

Applications

The ImageClassifier application has a new parameter "probamap" to activate the output. The number of classes has to be given also, since not all models store the number of classes.

Additional notes

Copyright

The copyright owner is COPYRIGHT OWNER (OR OWNER'S AGENT) and has signed the ORFEO ToolBox Contributor License Agreement.


Check before merging:

  • All discussions are resolved
  • At least 2 👍 votes from core developers, no 👎 vote.
  • The feature branch is (reasonably) up-to-date with the base branch
  • Dashboard is green
  • Copyright owner has signed the ORFEO ToolBox Contributor License Agreement
Edited Jan 08, 2019 by Jordi Inglada
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: classifier_probability_output