Problem with ImageReader.camera_params for feature extraction in the command line

411 views
Skip to first unread message

Cora W

unread,
Mar 17, 2019, 2:19:02 PM3/17/19
to COLMAP
Hello dear COLMAP users,

I have a question regarding the use of the parameter ImageReader.camera_params with the function feature_extractor in the command line. My camera model is PINHOLE and my parameters are: 2385.63 2350.52 1920 1080
In the GUI, I can insert them and divide them with commas and the extraction works fine. In the command line, I've tried the following commands:

colmap feature_extractor --database_path "path to my database" --image_path "path to my images" --ImageReader.camera_model "PINHOLE" --ImageReader.camera_params "2385.63 2350.52 1920 1080" (decimal point)
colmap feature_extractor --database_path "path to my database" --image_path "path to my images" --ImageReader.camera_model "PINHOLE" --ImageReader.camera_params "2385,63 2350,52 1920 1080" (decimal comma)
colmap feature_extractor --database_path "path to my database" --image_path "path to my images" --ImageReader.camera_model "PINHOLE" --ImageReader.camera_params "2385.63, 2350.52, 1920, 1080" (decimal point, dividing comma)
colmap feature_extractor --database_path "path to my database" --image_path "path to my images" --ImageReader.camera_model "PINHOLE" --ImageReader.camera_params "2385,63 , 2350,52 , 1920, 1080" (decimal comma, dividing comma)

Nothing of the above works for me. The command line window closes regardless of my choice of the four possibilities. When I don't use the parameter --ImageReader.camera_params in the command line, it works fine, just not with my parameters.
Does anyone know how to use my own camera parameters for the feature extraction with the command line?

Thank you in advance for your help!
Best,
Corinna
Reply all
Reply to author
Forward
0 new messages