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.


Topics - andrey.d

Pages: [1]
1
General / Bad stitching with good Sequoia dataset
« on: August 15, 2017, 12:01:07 AM »
Hi!

I have the dataset of 1576 RGB images of field by Sequoia camera. It has a very good overlap - more 9 images for most points. And I use CameraAlignment with  RollingShutter options.
But result is bad. What is the problem? 

Please see Agisoft Photoscan report for details
https://share.skyglyph.com/index.php/s/vBPCTQxP0eU8BxA

2
Hello,


I use this manual https://training.fws.gov/courses/references/tutorials/geospatial/CSP7304/2016documents/HandsOn_Afternoon/UAS/UAS%20II%20Post%20Processing/PhotoScan%20Processing%20Procedures%20MicaSense%20Feb%202016.pdf
 to stitch Multispectral Sequoia images into a map. The result looks without proper color information.

The resulting map has the problem with bands interpretation: the first band is Gray, 2-4 are Undefined, 5-th is Alfa.


As input, I have set of one channel images for like
IMG_xxx_GRE.TIF, 
IMG_xxx_REG.TIF
IMG_xxx_RED.TIF,
IMG_xxx_NIR.TIF.

3
Hello

The Mapir camera needs manual setting for custom pixel size and focal length.
(There is link to instruction
https://www.mapir.camera/blogs/guide/processing-survey2-camera-images-in-agisoft-photoscan)

How can I set it by Python script?
Can I just use this code



Code: [Select]
...
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
...
?


4
Python and Java API / exportReport error
« on: March 07, 2017, 01:02:30 AM »
Hello,

I have the problem with report exporting:
Code: [Select]
chunk.exportReport("report.pdf") It works well before. And it works well in a GUI mode now.

Current ver. 1.3 build 3772 linux 64bit
Error:
Quote
ExportReport
Segmentation fault (core dumped)

Thanks

5
Hello,

Could you help me to understand how I have to set Coordinate System?
I have csv with image coordinates file with in EPSG::4326.
I need export map in  EPSG::3857
A did it but stitching quality was terrible.
I use this code to load images and reference (csv) file

Link th the report https://drive.google.com/open?id=0B5NgaXpGOtOUNzhBempTd2lMUXVUaUhLZEpxZElSZ096dkhJ
The csv file in attachment

My code:
Code: [Select]
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")
....
And before export orthomap I change CoordinateSystem to EPSG::3857

Code: [Select]
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)

6
Hi,

Is it posible use APM data flash log with loadReference()?
Code: [Select]
chunk.loadReference(APM_flight_log_file, format=PhotoScan.ReferenceFormatCSV, delimiter=",")
As I see it not work.


Thanks.

Andrew

Pages: [1]