1
General / Re: Bad stitching with good Sequoia dataset
« on: August 16, 2017, 11:33:53 AM »how can it be to have so much rolling shutter issue? never seen something like thisStrong wind and no gimbal
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.
how can it be to have so much rolling shutter issue? never seen something like thisStrong wind and no gimbal
Hello andrey.d,I tried this too.
I think that you should use Height Field option for the mesh reconstruction instead of Arbitrary to avoid severe artifacts by the edges of the area of interest.
...
chunk = PhotoScan.app.document.addChunk()
camera = chunk.addCamera();
camera.sensor = chunk.addSensor();
camera.sensor.label = 'Mapir Survey2'
camera.sensor.type = PhotoScan.Sensor.Type.Frame
camera.sensor.width = int("0.00134")
camera.sensor.height = int("0.00134")
camera.sensor.focal_length = int("3.97")
camera.sensor.fixed = True
...
?chunk.exportReport("report.pdf")
It works well before. And it works well in a GUI mode now. ExportReport
Segmentation fault (core dumped)
chunk.addPhotos(images_list)
camera = chunk.cameras[0]
chunk.loadReference(out_csv, format=PhotoScan.ReferenceFormatCSV, columns="nxyzabc", delimiter=",", group_delimiters=False, skip_rows=1)
chunk.crs = PhotoScan.CoordinateSystem("EPSG::4326")
....crs = PhotoScan.CoordinateSystem("EPSG::3857")
doc = PhotoScan.app.document
doc.open(project_path)
chunk = doc.chunk
chunk.crs = crs
chunk.buildOrthomosaic(surface=PhotoScan.ModelData, blending=PhotoScan.MosaicBlending, color_correction=False)
chunk.exportOrthomosaic(args.ortho_path, image_format=PhotoScan.ImageFormatTIFF, raster_transform=PhotoScan.RasterTransformNone, write_kml=False, write_world=False, write_alpha=True, tiff_compression=PhotoScan.TiffCompressionDeflate)
Hello andrey.d,
Actually, it doesn't seem to be related to the version 1.3 - you have set the projected coordinate system, so by default PhotoScan will be building the orthomosaic in geographic coordinates, but since you have no reference information that model is arbitrary oriented causing incorrect scene estimation.
crs = PhotoScan.CoordinateSystem("EPSG::3857")
doc = PhotoScan.app.document
doc.open(project_path)
chunk = doc.chunk
chunk.addPhotos(images_list)
chunk.matchPhotos(accuracy=PhotoScan.MediumAccuracy, preselection=PhotoScan.NoPreselection)
chunk.alignCameras()
chunk.buildModel(surface=PhotoScan.HeightField, interpolation=PhotoScan.EnabledInterpolation)
chunk.crs = crs
chunk.buildOrthomosaic(surface=PhotoScan.ModelData, blending=PhotoScan.MosaicBlending, color_correction=False)
chunk.exportOrthomosaic(args.ortho_path, image_format=PhotoScan.ImageFormatTIFF, raster_transform=PhotoScan.RasterTransformNone, write_kml=False, write_world=False, write_alpha=True, tiff_compression=PhotoScan.TiffCompressionJPEG, jpeg_quality=90, tiff_big=True)
Hello andrey.d,
For me it looks like the camera orientation angles loaded to the Reference pane is incorrect - so the model orientation in space in also incorrect. I've input very large number as "camera accuracy (deg)" to the Reference pane settings and then Updated the Reference pane - the orientation of the model after that looked valid.