ossimlabs / ossim

Core OSSIM (Open Source Software Image Map) package including C++ code for OSSIM library, command-line applications, tests, and build system
MIT License
296 stars 142 forks source link

Incorrectly resizing chip using ossim-chipper with --cut-bbox-xywh #210

Open xsfire opened 5 years ago

xsfire commented 5 years ago

When ossim-chipper -op chip is run with --cut-bbox-xywh in pixels, and the --thumbnail argument is added, it will give incorrect output (black chips or incorrectly sized and positioned chips). It seems like it is trying to resize in world coordinates when the input is expected in pixel coordinates.

An easy way to test this is by attempting to perform "raster tiling" on a large image at higher zoom levels