Hi Alex,
Cheers,
Johannes
--
You received this message because you are subscribed to the Google Groups "COLMAP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to colmap+un...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/colmap/37736212-0089-48c5-ad8d-031a59396325%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
colmap feature_extractor \
--database_path $DATABASE_PATH \
--image_path $IMAGES_PATH
colmap exhaustive_matcher \
--database_path $DATABASE_PATH
colmap mapper \
--database_path $DATABASE_PATH \
--image_path $IMAGES_PATH \
--output_path $SPARSE_PATH
# check if ecef file & align model
if [ -e $ECEF_PATH ]; then
colmap model_aligner --input_path $SPARSE_PATH/0 --output_path $SPARSE_PATH/0 --ref_images_path $ECEF_PATH --robust_alignment_max_error 1
else
rm $ECEF_PATH
echo "unable to get exif data from images"
fi
colmap image_undistorter \
--image_path $IMAGES_PATH \
--input_path $SPARSE_PATH/0 \
--output_path $DENSE_PATH \
--output_type COLMAP \
--max_image_size 2000
colmap patch_match_stereo \
--workspace_path $DENSE_PATH \
--workspace_format COLMAP \
--PatchMatchStereo.geom_consistency true
colmap stereo_fusion \
--workspace_path $DENSE_PATH \
--workspace_format COLMAP \
--input_type geometric \
--output_path $MODEL_PATH
08e1a0ffd0cba4cd801593d23b0682d38a6586e9.jpg 4362.30852819728 502.20651148970245 4611.34309057199
17964ca01e51c05efdd772d18b4dea52c47893f3.jpg 4362.325291317298 502.2087730555094 4611.320377811822To view this discussion on the web visit https://groups.google.com/d/msgid/colmap/ba3037b7-7ff7-4eaa-97cf-e0155e262251%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/colmap/43b65617-c29a-4003-902f-164aa47e4898%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "COLMAP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/colmap/6qYieMyK4XI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to colmap+un...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/colmap/3DCF17CF-7BF2-4826-B7BF-6E75270B35C6%40demuc.de.
# based on read_model.py
# load data as usually
cameras, images, points3D = read_model(path=sys.argv[1], ext=sys.argv[2])
# for every image get the ecef coords by multiplying rotation matrix with translation vector as stated in documentation
for image in images:
T = image.tvec.reshape((3,1))
R = np.transpose(image.qvec2rotmat())
ecef_ = np.dot(-1*R, T)