Forum

Author Topic: Multiplane Layout - possible to convert/add bands (no offset) after align?  (Read 5318 times)

andyroo

  • Sr. Member
  • ****
  • Posts: 460
    • View Profile
I can propagate segmented image data through to a dense cloud in metashape by adding segmented images as bands using the multiplane layout that Alexey describes in this post - (one subfolder for original RGB and another subfolder for segmented images). For these images I fix the offset, rotation and calibration:
Code: [Select]
chunk.sensors[1].layer_index = 1
chunk.sensors[1].bands = ['p1','p2','p3']
chunk.sensors[1].fixed_location = True
chunk.sensors[1].fixed_rotation = True
chunk.sensors[1].calibration = chunk.sensors[0].calibration
The initial experiments are exciting, but for large projects it is frustrating if I have to realign/reoptimize/regenerate dense clouds every time I do different/improved image segmentation. Also since these bands have no offset from the original RGB images I use to align, I shouldn't even need to regenerate a dense cloud - just add an additional band to the already-generated dense cloud.

I tried different ways of using chunk.addphotos with multiplane layout and filegroups, and chunk.sensors[0].makemaster, but I couldn't duplicate the master/slave behavior when adding all cameras at the same time.

Is there a way to convert an existing layout to a multiplane layout and add bands (or add bands to an existing multiplane layout), after the sensor has already been aligned? Also is it possible to add attribute(s) / (band(s)) to the dense cloud (or triangulate/regenerate points) without regenerating depth maps after I add a multiplane sensor, as long as the sensor has zero offsets from the master sensor (and I set sensor calibrations equal)?

Am I even making sense?