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 194
    • Issues 194
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • 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
  • Issues
  • #1936
Closed
Open
Created Jul 09, 2019 by Antoine Regimbeau@aregimbeauContributor

Document bit manipulation in BandMathX

MuparserX allows bit manipulation (doc), but OTB is getting the image as a float type at present. This prevent the use of such bit operator that throws the error:

Message:     Can't evaluate function/operator "<<": 
Argument 1 of function/operator "im1b1" is of type 'f' whereas type 'i' was expected.
Formula:     im1b1 << 1

EDIT: We need to add documentation as it can be done if one is using the int instruction (see Cédric comments)

Edited Jul 09, 2019 by Antoine Regimbeau
Assignee
Assign to
Time tracking