atomoclast / csfm Goto Github PK
View Code? Open in Web Editor NEWA Structure From Motion implementation using OpenCV and GT SAM.
License: GNU General Public License v3.0
A Structure From Motion implementation using OpenCV and GT SAM.
License: GNU General Public License v3.0
Hello,
Your project is very interesting,
I have compiled and ran, everything seems fine, but the output file 'options.txt.ply' is not empty but has no values with a point cloud.
this is a 'options.txt.ply' file:
ply
format ascii 1.0
element vertex 0
property float x
property float y
property float z
property float nx
property float ny
property float nz
property uchar diffuse_red
property uchar diffuse_green
property uchar diffuse_blue
end_header
I try to load this file to meshLab but this does not work.
this is the output in my terminal:
Opening Images...
Opened Images...
Finding Matches...
Finding Keypoints.
Found Keypoints. Matching them now....
Number of keypoints/poses: 4
find Fund Mat
Pushing Keypoints into vectors. Size of mask: 300
find Fund Mat
Pushing Keypoints into vectors. Size of mask: 98
find Fund Mat
Pushing Keypoints into vectors. Size of mask: 71
find Fund Mat
Pushing Keypoints into vectors. Size of mask: 182
find Fund Mat
Pushing Keypoints into vectors. Size of mask: 107
find Fund Mat
Pushing Keypoints into vectors. Size of mask: 289
Found Matches...
Initial Camera Matrix K:
[2911.5848, 0, 415;
0, 2911.5848, 360;
0, 0, 1]
Image width and height: 925, 706
Size of keypoint matches: 182
Iterating through images now...
iterating through keypoints.
Finding essential Matrix.
Size of destination: 155, Size of source: 155
Recovering Pose.
iterating through keypoints.
Finding essential Matrix.
Size of destination: 76, Size of source: 76
Recovering Pose.
image 2 ==> 1 scale=1.03861 count=136
iterating through keypoints.
Finding essential Matrix.
Size of destination: 162, Size of source: 162
Recovering Pose.
image 3 ==> 2 scale=1.16829 count=171
Running Bundle Adjustment now.
%%%%%%%%%%%%%%%%%%%%%
Initial Graph Error = 2.18264e+06
Final Graph Error = 2.60423
Resultant Camera Matrix K:
2921.55 1.68795e-07 406.039
0 2900.38 363.988
0 0 1
Copying image.
Copying image.
Copying image.
Copying image.
Copying image.
Copying image.
Copying image.
Copying image.
--- Summary of specified options ---
Reading images: ****
0 1 Harris running ...Harris running ...2 Harris running ...3 Harris running ...430 harris done
DoG running...468 harris done
DoG running...482 harris done
DoG running...512 harris done
DoG running...619 dog done
653 dog done
684 dog done
712 dog done
done
adding seeds
(3,0)(2,0)(1,1)(0,1)done
---- Initial: 0 secs ----
Total pass fail0 fail1 refinepatch: 5627 2 5606 19 21
Total pass fail0 fail1 refinepatch: 100 0.0355429 99.6268 0.337658 0.373201
Expanding patches...
---- EXPANSION: 0 secs ----
Total pass fail0 fail1 refinepatch: 18 5 12 1 6
Total pass fail0 fail1 refinepatch: 100 27.7778 66.6667 5.55556 33.3333
FilterOutside
mainbody:
Gain (ave/var): 0.53037 0.212283
7 -> 7 (100%) 0 secs
Filter Exact: ****
7 -> 6 (85.7143%) 0 secs
FilterNeighbor: 6 -> 0 (0%) 0 secs
FilterGroups: STATUS: 0 0 27 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0
Expanding patches...
---- EXPANSION: 0 secs ----
Total pass fail0 fail1 refinepatch: 0 0 0 0 0
Total pass fail0 fail1 refinepatch: -nan -nan -nan -nan -nan
FilterOutside
mainbody:
Gain (ave/var): 0 0
0 -> 0 (-nan%) 0 secs
Filter Exact: ****
0 -> 0 (-nan%) 0 secs
FilterNeighbor: FilterGroups: STATUS: 0 0 27 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0
Expanding patches...
---- EXPANSION: 0 secs ----
Total pass fail0 fail1 refinepatch: 0 0 0 0 0
Total pass fail0 fail1 refinepatch: -nan -nan -nan -nan -nan
FilterOutside
mainbody:
Gain (ave/var): 0 0
0 -> 0 (-nan%) 0 secs
Filter Exact: ****
0 -> 0 (-nan%) 0 secs
FilterNeighbor: FilterGroups: STATUS: 0 0 27 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0
---- Total: 0 secs ----
Operation complete. Navigate to output/options/ and open 'options.txt.ply' to view your model.
do you have any idea what should i do?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.