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

Pages: [1] 2 3 ... 28
You can check out here for sample images: 

First demo panorama has a number of stitching errors near the zenith.  Not something I'd expect for a system calibrated for photogrammetry.

General / Optimising roll for camera stations
« on: August 22, 2020, 09:23:11 AM »
HI. I'm trying to use Agisoft to align images for a single camera station where the roll is variable but the roll is always fixed at 0.  I noticed when exporting the Agisoft XML of the cameras that there appears to be a setting to enable roll. Is there any way to set this to true?

Code: [Select]
<camera id="0" sensor_id="1" label="DJI-0001">
          <reference x="144.960411945" y="-37.798632054999999" z="32.828000000000003" yaw="356.29999999999995" pitch="83.999999999999972" roll="-0" enabled="true" rotation_enabled="false"/>

Python and Java API / Re: Setting bounding box via 2 markers
« on: July 19, 2018, 05:51:52 PM »
Back to my normal profile... (not sure how how my work PC was still logging in with old profile)  As far as python goes I'm pretty much a noob but I've got a script working for most of the process.

Code: [Select]
import PhotoScan
import math

doc =
chunk = doc.chunk

# Detect markers

# Load reference
chunk.loadReference(path='markers.txt', format=PhotoScan.ReferenceFormatCSV, columns='nxyzXYZ', delimiter=',')

# Align images

# Rotate ROI to coordinate system:

#rotates chunks' bounding box in accordance of coordinate system for active chunk
#bounding box size is kept
#compatibility: Agisoft PhotoScan Professional 1.1.0

T = chunk.transform.matrix

v_t = T * PhotoScan.Vector( [0,0,0,1] )
v_t.size = 3

m =
m = PhotoScan.Matrix().diag([1,1,1,1])

m = m * T

s = math.sqrt(m[0,0] ** 2 + m[0,1] ** 2 + m[0,2] ** 2) #scale factor

R = PhotoScan.Matrix( [[m[0,0],m[0,1],m[0,2]], [m[1,0],m[1,1],m[1,2]], [m[2,0],m[2,1],m[2,2]]])

R = R * (1. / s)

reg = chunk.region
reg.rot = R.t()
chunk.region = reg

Now I need to set the size/position of the bounding box between a CP for the top/left and bottom/right corners.. The steps after that I've got working (dense cloud, heightfield, orthomosaic).

General / Batch process > Run script
« on: July 19, 2018, 10:38:55 AM »
Hi All

I'm slowly building up a script for a workflow but for testing I'm also using the Batch Process option for most of the common tasks.  If I use Run Script as a batch process step I'm only getting the script running on one chunk.  Is this just a single script run and I have to use the script to process all chunks or is selecting All Chunk supposed to run the script on each chunk?

[edit] can this be moved to General Discussion please.... posted here by mistake

Unsharp masking shouldn't affect things too much as long as it's kept within reason.  I normally set fill light to 15-30 in camera raw conversions.

General / Re: Combine Structured Light Scanning with Photogrammetry
« on: April 29, 2016, 06:59:06 AM »
You could merge the scans in an external application, mesh and then import the mesh into Photoscan for texturing.

Create point clouds from both.
Align/scale structured light scan to Photoscan point cloud (MeshLab or CloudCompare for example)
Merge point clouds and create mesh
Import mesh into Photoscan
Generate texture

General / Re: Export Pointcloud from "Dense point classes" View
« on: April 29, 2016, 06:50:53 AM »
This doesn't do what you want?

Tools > Dense Cloud > Classify Ground Points
Then export points by selected classes

General / Re: Draw 3D Polylines
« on: April 06, 2016, 09:54:42 AM »
Depending on the application I use either GlobalMapper or 3D-Coat

General / Re: Poor resolution when rendered
« on: March 27, 2016, 08:57:59 AM »
How big is your texture map & how many tiles?

Accurate surface placement with a poisson surface reconstruction typically uses settings that do not reproduce thin segments very well.   In CloudCompare you would normally set the point weight to 0. Using a point weight of 1 will help. Higher values will usually produce excessive bulging.

General / Re: Detecting non coded markers
« on: March 10, 2016, 04:41:27 AM »
You can increase the sensitivity if the markers are small on the image.  Depending on your subject though, you may get some false markers detected as you get higher eg. branches in trees with white sky behind.

Just create a blank white PNG (won't take up much space) and copy it to create masks for the images that don't need masking

General / Re: Tilted Model
« on: March 09, 2016, 03:48:05 PM »
As Alexey pointed out. Gopro = fisheye lens.
I've done some reconstructions for people with similar drones and find that it's often easier to not use the built in GPS metadata. Differences between flights a few hours apart (especially altitude) were problematic

General / Re: Bad imagery alignment
« on: March 09, 2016, 03:42:00 PM »
Mask out the water.

General / Re: Detecting non coded markers
« on: March 09, 2016, 03:39:10 PM »
After alignment
Tools > Markers > Detect Markers. 
Marker type: Cross (non coded)

Pages: [1] 2 3 ... 28