Forum

Author Topic: Access to PhotoScan.DepthMap  (Read 2200 times)

callahb

  • Newbie
  • *
  • Posts: 30
    • View Profile
Access to PhotoScan.DepthMap
« on: April 25, 2016, 11:38:44 PM »
I'd like access to the DepthMaps for a chunk but can't figure out how to retrieve/call them.  The API doc says:

class PhotoScan.DepthMaps
A set of depth maps generated for a chunk frame.

but trying to call chunk.DepthMaps returns an error:
AttributeError: 'PhotoScan.Chunk' object has no attribute 'DepthMaps'


callahb

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: Access to PhotoScan.DepthMap
« Reply #1 on: April 25, 2016, 11:44:21 PM »
Duh. Found it:

chunk.depth_maps