Comments (2)
Thanks for you attention. My english is poor, please see the function "create_initial_image" where
"gray_image.convertTo(floatImage, CV_32FC1, 1.0 / 255.0, 0)" is express. This means we must convert the image to floating point type, 1.0 / 255.0 means the range is 0 to 1 after converted. So you must ensure the convertTo function support CV_S16C1. You should ensure the date type is identical .
If you want reduce the memory consume, i suggest you pay attention to the following aspects:
-
sift.cpp->num_octaves->temp = cvRound(log(size_temp) / log((float)2) - 2)
you can reduce the layer, it is temp, modified it to "temp = cvRound(log(size_temp) / log((float)2) - 3)" or "temp = cvRound(log(size_temp) / log((float)2) - 4)" -
main.cpp->MySift sift_1(0, 3, 0.04, 10, 1.6, true)
change it to "MySift sift_1(0, 3, 0.04, 10, 1.6, false)" -
delete the main.cpp->image_fusion(image_1, image_2, homography, fusion_image, mosaic_image, regist_image)
the function image_funct
from image-registration.
main.cpp->gauss_pyr_1, dog_pyr_1 and main.cpp->gauss_pyr_2, dog_pyr_2 is global variables, so you can change it to local variable.
you can combine "sift_1.detect" and "sift_1.comput_des".
from image-registration.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from image-registration.