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 - photoscan_user

Pages: [1] 2 3 ... 7
Python and Java API / "Error: Empty extent" on chunk.buildOrthomosaic
« on: August 20, 2018, 08:47:35 PM »
For some reason I have "Error: Empty extent" on chunk.buildOrthomosaic.

What can be reason of such behaviour?

General / Re: Is it possible to fix not aligned photos manually?
« on: August 20, 2018, 08:40:11 PM »
How to check "tie points"? As I said in Tools->Tie points->view matches these pairs of photos have matches, but less then other pairs.

General / Re: Is it possible to fix not aligned photos manually?
« on: August 14, 2018, 07:11:25 PM »
Also it's strange but when I move photos that are not aligned to separate project and do Align Photos there most of them aligned ok.

General / Is it possible to fix not aligned photos manually?
« on: August 14, 2018, 03:52:51 PM »
I have UAV flight and in some parts of it photos seems not aligned, so point cloud have holes in this part.
I have inspected this problem in Tools->Tie points->view matches and seems 'bad' photos have small number of matches about 800, other 'normal' photos have about 4k, I have tried to increase number of Key point limit and Tie point limit in in Align Photos settings but this don't help much.

What are possible reasons of such problems? How to fix this problem? maybe it's possible to fix not aligned photos manually?

General / Missing large parts from orthomosaic
« on: August 01, 2018, 02:56:32 PM »
I use following pipeline Sparse point cloud -> Mesh -> Orthomosaic, sparse point cloud and mesh look good, but in orthomosaic I have several large pieces that are missing, what can cause such problem? what can be done to overcome this problem?

General / Is it possible to crop area by region?
« on: July 13, 2018, 05:47:12 PM »
Is it possible to crop chunk point_cloud by region in GUI or python script?

Python and Java API / How to remove point cloud from chunk?
« on: July 13, 2018, 05:16:31 PM »
How to remove point cloud from chunk?

I get holes on orthophoto with Enable hole filling when build from DEM.

On DEM I can see that these areas are filled.

When building from mesh with Enable hole filling I still get holes, but they are smaller.

Is it normal behaviour?


Look like hole was with 1e-7 pixel size and with 1e-6 holes are gone, but I get another artifact DEM area is not the same as ortho area on borders. And I can't see the  pixel size setting for DEM is there any option to make it the same size as ortho?

Python and Java API / Re: What is RasterFormatNone stand for?
« on: July 11, 2018, 03:07:45 PM »
ImageJ gives me error: 'ImageJ can't open tiled TIFFs'.

> Also does it happen even when tiff_overviews are disabled?

I use:

chunk.exportOrthomosaic(path, dx=1e-07, dy=1e-07, format=PhotoScan.RasterFormat.RasterFormatTiles, image_format=PhotoScan.ImageFormat.ImageFormatTIFF, tiff_overviews=False, white_background=False, write_kml=True)

In log I see

ExportRaster: image_format = TIFF, path = orthophoto_1.tif, resolution_x = 1e-07, resolution_y = 1e-07, tiff_overviews = off, tile_height = 0, tile_width = 0, white_background = off, write_kml = on
generating 34045 x 15940 raster in 1 x 1 tiles

so looks like it's just 1 tile with size of full image.

Python and Java API / Re: What is RasterFormatNone stand for?
« on: July 11, 2018, 12:27:42 PM »
Yes RasterFormatTiles is my current approach, but when I try to view it via imagej for example it tells me that it's a tiled tiff format and can't open it, but I need 'ordinary' tiff.

Python and Java API / What is RasterFormatNone stand for?
« on: July 10, 2018, 04:31:34 PM »
I want to export orthomap not in tiled format.

I wast thinking that RasterFormatNone will help me to do this, but I get error that it's not supported : RuntimeError: Unsupported raster format

Code: [Select]
chunk.exportOrthomosaic(path, dx=1e-07, dy=1e-07, format=PhotoScan.RasterFormat.RasterFormatNone, image_format=PhotoScan.ImageFormat.ImageFormatTIFF, tiff_overviews=False, white_background=False, write_kml=True)

Python and Java API / Re: Number of points in points cloud
« on: July 05, 2018, 04:38:34 PM »
Is it ok that

len([p for p in chunk.point_cloud.points if p.valid])

is the same as


and both of them equal to 79429


As I said right click on project -> show info it show me 79429 of 103995




Python and Java API / Number of points in points cloud
« on: July 04, 2018, 04:09:24 PM »
As I can see len(chunk.point_cloud.points) gives me 79429 points, but when I use right click on project -> show info it show me 79429 of 103995, so as I understand chunk.point_cloud.points is just valid points? How can I access all points?

General / OOM at the end of export orthomosaic
« on: June 28, 2018, 07:47:48 PM »
I'm trying to export orthomosaic of large project, but get OOM(out-of-memory) at the end of export orthomosaic, as I can see memory consumption start grow drastically when 99% is done. I'm able successfully build orthomosaic from mesh builded from sparse point cloud and I'm export it in Google Map Tiles format.

If I can fit images and orthomap in memory why it crashes with OOM at export orthomosaic? as i understand it should just cut orthomosaic in tiles.

Is it a bug? If it matters after crash .zip file with tiles is about 20Gb and it's broken.

Also maybe someone can give additional recomendations for pipeline how to export orthomap in Google Map Tiles format with lowest memory consumption?

General / Re: Example of markers
« on: June 21, 2018, 09:21:04 PM »
That doesn't quite match what the manual shows - have a look at the image James posted in response to your original request.

Do you mean that white/black should be mirrowed or this type of marker should have circle shape?

Anyway one example I have attached was detected, false positives were really unrelated like point on forest.

Is there any public data that I can use to test this feature?

Pages: [1] 2 3 ... 7