NodeMICMAC icon indicating copy to clipboard operation
NodeMICMAC copied to clipboard

Global seam leveling

Open smathermather opened this issue 5 years ago • 10 comments

When processing the OpenDroneMap Aukerman example we get some issue with global seam leveling (ht this unrelated issue: https://github.com/dronemapper-io/NodeMICMAC/issues/15).

ODM version: image

NodeMICMAC version: image

I have seen this with the reference NodeMICMAC dataset, though to a lesser extent: image

This is a similar issue to what we saw in ODM here: https://github.com/OpenDroneMap/ODM/issues/801

Fixed in mvs-texturing here: https://github.com/OpenDroneMap/mvs-texturing/pull/3 https://github.com/OpenDroneMap/mvs-texturing/pull/3/commits/7c01bca811467679f535ef292f6393e256e1acec

smathermather avatar May 23 '19 19:05 smathermather

Thanks. Yes, currently there isn't a seamline feathering option in stock MicMac so that radiometric balance routine tries its best to blend all tiles. It is more apparently when you have camera or lighting issues. White balance on 'Auto` really causes problems. Definitely something to improve on. JP

dronemapper-io avatar May 23 '19 19:05 dronemapper-io

Ah, makes sense. That also explains the issues over low-texture areas like the water, which I wasn't sure whether to include with this issue.

smathermather avatar May 23 '19 19:05 smathermather

Implementing a seamline feather routine would solve the issue. There are some additional tweaks to the Tawny command and radiometric balancing that can also improve results.

dronemapper-io avatar May 23 '19 19:05 dronemapper-io

There's an interesting overview of this in the MicMac manual (page 46):

image

I wonder what happens if you pass DEq=1 DegRapXY=[2,0] to Tawny.

https://raw.githubusercontent.com/micmacIGN/Documentation/master/DocMicMac.pdf

pierotofy avatar May 23 '19 20:05 pierotofy

Correct. Yes additional Tawny parameters can improve the results. One can also create a custom .xml and feed this into Porto with a larger blending window / etc.

dronemapper-io avatar May 23 '19 20:05 dronemapper-io

I got better results with this in Malt : DefCor=0.0

Then this in Tawny : DEq=1 DegRapXY=[4,1] SzV=3 CorThr=0.6 NbPerIm=5e4

kikislater avatar May 24 '19 15:05 kikislater

Try DEq=1 DegRapXY=[4,4] SzV=75 NbPerIm=5e4

DefCor=0 will force MICMAC to correlate every pixel, even if it is a hidden point. It is good in some cases. Thanks

dronemapper-io avatar May 24 '19 15:05 dronemapper-io

Try DEq=1 DegRapXY=[4,4] SzV=75 NbPerIm=5e4

DefCor=0 will force MICMAC to correlate every pixel, even if it is a hidden point. It is good in some cases. Thanks

Nice feebback, it was missing on MicMac I think ! Never tried this level of size window ... May be it needs a test with screenshots

kikislater avatar May 24 '19 15:05 kikislater

Usually the ortho blending gets the best results when you run MICMAC to the highest zoom level (aka native resolution) as the ortho tiles are draped onto the DEM via nadir index score. Also, if the original raw imagery is from a sub-par camera or has white balance issues -- results will be bad.

dronemapper-io avatar May 24 '19 15:05 dronemapper-io

Hi Folks,

I am rather late to this conversation, but a while back I adapted the seam-line feathering to multi-band if anyone is interested in my own python micmac lib - though the micmac testlib func is a bit slow. https://ciaran1981.github.io/pycmac/build/html/pycmac.html#dense_match.feather

Ossim seems to perform better at this task in my opinion however....

Ciaran1981 avatar May 13 '20 09:05 Ciaran1981