Forum

Author Topic: Alpha in PNG files should be treated as a mask  (Read 5410 times)

Tapejara

  • Newbie
  • *
  • Posts: 13
    • View Profile
Alpha in PNG files should be treated as a mask
« on: January 04, 2014, 10:19:50 PM »
In creating a model from JPeg photos, I went through the trouble of editing out all of the parts of the photos that were not part of the model (leaving Alpha=0 "transparent") and stored the edited photos to PNG files. In my mind this should have told PhotoScan to treat the transparent parts of the photos as a sort of mask to make the solver ignore those areas and consider them to not contribute to the solve of the model. But the solve created a lot of snow-like looking white stuff where there should have been no geometry. My photos had no white yet a lot of "white stuff" ended up in my model. I can only presume that the solver was ignoring the Alpha in the PNG files and was placing a default white background behind the photos and then interpreted it as part of the substance of the model. This should not have happened.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14944
    • View Profile
Re: Alpha in PNG files should be treated as a mask
« Reply #1 on: January 05, 2014, 02:35:43 PM »
Hello Tapejara,

Please use Tools Menu -> Import Masks -> From Alpha option to load all the masks from the alpha-channel.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Tapejara

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Alpha in PNG files should be treated as a mask
« Reply #2 on: January 14, 2014, 03:23:17 AM »
That is good. Thanks.