Skip to content
GitLab
Projects Groups Topics 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
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 207
    • Issues 207
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and 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
  • #2295
Closed
Open
Incident created Jul 05, 2022 by Yannick TANGUY@ytanguyDeveloper

Problem when trying to orthorectify an image issued from SuperImpose application (OTB 8)

Description

Some OTB 8 users reported us the fact that it was impossible to orthorectify an image that was computed by Superimpose application. The use-case can be describe as following :

  • [optional] Extract an ROI of some georeferenced data
  • superimpose that data onto a PHR image in its raw sensor geometry
  • orthorectify that image => we expect that final step to produce an image co-registered with our initial data.

This problem can be reproduced for example with OTB PHR images from Workshop Data. With OTB 7.4, the behaviour was correct but with OTB 8.x, the image issued from Superimpose does not contain the right metadata to compute orthorectification.

Steps to reproduce

To reproduce that problem on different images, I wrote that little script :

#!/bin/sh
DIR=$1
IM_GEO=$2
IM_SENSOR=$3

mkdir -p ${DIR}/step2_extractroi
mkdir -p ${DIR}/step3_superimpose
mkdir -p ${DIR}/step4_ortho

otbcli_ExtractROI -in ${IM_GEO} -out ${DIR}/step2_extractroi/xt_ortho.tif -startx 500 -starty 500 -sizex 500 -sizey 500
otbcli_Superimpose -inr ${IM_SENSOR} -inm ${DIR}/step2_extractroi/xt_ortho.tif -out ${DIR}/step3_superimpose/xt_sensor.tif
otbcli_OrthoRectification -io.in ${DIR}/step3_superimpose/xt_sensor.tif -io.out ${DIR}/step4_ortho/xt_ortho.tif

Configuration information

OTB 8.x or OTB 7.4 (binaries)

Assignee
Assign to
Time tracking