Forum

Author Topic: fisheye photos and texture blending  (Read 4387 times)

octopus

  • Newbie
  • *
  • Posts: 8
    • View Profile
fisheye photos and texture blending
« on: November 14, 2018, 12:01:43 PM »
Hi.
I am making a model from photos taken by a 360 camera (Samsung Gear 360) and have a question.
Does MOSAIC texture blending mode (Build Texture command) work for fisheye photos?

Here is my situation. I took 10 photos with this camera of two fish eye lenses, that produced 20
fisheye photos (circular images). They were processed with FISHEYE option in Photoscan Pro 1.4.3 and
made a decent model. I then used GENERIC/MOSAIC combination for texture mapping, but the result
has lots of distinctive seam lines, and using GENERIC/AVERAGE option seems to produce the
almost identical result. Using Color Optimization before texture generation does not help either.
The camera uses auto exposure, so there is a variation of brightness among the photos. But when I
work with regular frame cameras, ordinary exposure difference among photos are usually resolved well
by MOSAIC blending option. In contrast, in this fisheye photo project, it seems MOSAIC is doing
nothing.

I attach some comparison screenshot below. The top one uses 5 fisheye photos for texture generation with
MOSAIC option, and is showing the hard seam lines as marked by yellow line. The next one uses
AVERAGE, and the image looks the same. The last one uses only one camera, which covers the
left half of the model and as expected, there is no seam. I add that if I use all 40 photos for texture
generation, MOSAIC option gets me seam lines all over the model.

Thank you.
« Last Edit: November 14, 2018, 12:04:38 PM by octopus »

James

  • Hero Member
  • *****
  • Posts: 769
    • View Profile
Re: fisheye photos and texture blending
« Reply #1 on: November 15, 2018, 05:32:56 PM »
I think you should mask out the black area outside the circle if you haven't already, and mask a little bit inside the black circle too as it seems heavily vignetted at the edges.
« Last Edit: November 15, 2018, 05:34:58 PM by James »

James

  • Hero Member
  • *****
  • Posts: 769
    • View Profile
Re: fisheye photos and texture blending
« Reply #2 on: November 15, 2018, 05:37:34 PM »
not related to your problem, but another thing i would do would be create separate calibration groups for the left and right images, in case there are differences between the two in lens/sensor alignment etc.

octopus

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: fisheye photos and texture blending
« Reply #3 on: November 15, 2018, 06:43:24 PM »
Many thanks, James.

I figured that out and tried to
1. correct vignetting in Photoshop
2. masked out the area around the circular edge

And if I mask out quite a bit, I get much better result with
still some seams. (See below.) I think I need to
make more careful vignetting correction as
preprocess outside Photoscan.

Thanks again.