You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to get equal exposure for all camera for stiching #4589
I am running 5 virtual cameras with fov 90 degree in +-xyz (omit the -y for now since it points to the ground) direction to form a cube map and I want to stich them together to form an epirectangular image. But I found that the exposure of the images are drastically different with each other even when the image are collected by python script simultaneouly (so there should not be any effect of light direction change). This is from the landscapeMountain scene. I suppose this is due to auto exposure. So I want to ask if there is a way to set manual exposure level here?
Hi JiancongWang! This may be due to missing image postprocessing. Can you try applying the solution given in this thread?
I like that image. How did you generate it?
I think that post processing is not the problem here. In real camera terms, I want to make sure the camera ISO/aperature/exposure time are all the same for the image so that their exposure is as closed as possible. I think now in airsim the image is auto adjusted to fit a certain target. I want to turn that off and instead manually fixed the picture intensity.
I tried histogram match all the image to the middle one. It certainly looks better but the seam between stiching is still very bad.
The stiching is done by the py360 convert package. So once you have the 5 fov90 views by the 5 cameras in the settings.json, you can treat it as the cube map faces and convert that to equirectangular using this. https://github.com/sunset1995/py360convert
Activity
jonyMarino commentedon Jun 24, 2022
Hi JiancongWang! This may be due to missing image postprocessing. Can you try applying the solution given in this thread?
I like that image. How did you generate it?
JiancongWang commentedon Jun 24, 2022
I think that post processing is not the problem here. In real camera terms, I want to make sure the camera ISO/aperature/exposure time are all the same for the image so that their exposure is as closed as possible. I think now in airsim the image is auto adjusted to fit a certain target. I want to turn that off and instead manually fixed the picture intensity.
I tried histogram match all the image to the middle one. It certainly looks better but the seam between stiching is still very bad.
The stiching is done by the py360 convert package. So once you have the 5 fov90 views by the 5 cameras in the settings.json, you can treat it as the cube map faces and convert that to equirectangular using this.
https://github.com/sunset1995/py360convert
jonyMarino commentedon Jun 24, 2022
Nice package, thanks!
#3949 changed the default unreal camera to the cinematographic one. I think what you are searching for is this API method added by that PR
JiancongWang commentedon Jun 27, 2022
Thank you for sending me this! I will give it a try.