Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - wdimmit

Pages: [1]
1
Bug Reports / Re: buildDepthMaps fails with Assertion 239101010894
« on: August 24, 2022, 06:09:34 PM »
No change using camera.photo.image() instead of camera.image(). The information reported in an interactive session after opening the failed project run all appears normal, and as expected.  I've attached a screenshot

2
Bug Reports / Re: buildDepthMaps fails with Assertion 239101010894
« on: August 24, 2022, 05:43:41 PM »
In this script, the sensor dimensions are applied based on the information on the first image:

        camera = self.ms_chunk.cameras[0]   
        self.ms_chunk.addSensor()
        sensor = self.ms_chunk.sensors[0]
        sensor.width = camera.image().width
        sensor.height = camera.image().height
        sensor.type = Metashape.Sensor.Type.Frame

When I open the project after the depth map generation failure, I can see the single sensor type defined properly and all the images listed have the correct dimensions.

3
Bug Reports / buildDepthMaps fails with Assertion 239101010894
« on: August 24, 2022, 12:32:45 AM »
I have an drone flight of 218 images that I can align and build a dense cloud without issues using an interactive Metashape session. When I try to process this same set of images via a python script, buildDepthMaps fails with the following message: "Assertion 239101010894 failed. Image size mismatch: 19009f89-7f2e-42a4-90fa-f9cb8c57855b".

The alignment and depth map generation settings are as identical as I can make them between the interactive and automated processing runs.  I've attached the output of the python script starting at the buildDepthMaps step.  The full call to the method is:

            self.ms_chunk.buildDepthMaps(downscale=16,
                                         filter_mode=dict(Metashape.FilterMode.values)['AggressiveFiltering'],
                                         progress=progress_callback
                                         )

I'm using Metashape 1.8.4 in both cases.

Thanks!

Pages: [1]