Comments (2)
They moved it to `cvaux` in version 2.1.
Original comment by [email protected]
on 31 Jan 2011 at 6:35
- Changed state: Done
from javacv.
And below is the code:
import static com.googlecode.javacv.jna.cv.v10.cvCalcImageHomography;
import com.googlecode.javacv.jna.cxcore.CvPoint3D32f;
public class Test2 {
public static void main(String[] args) {
float[] lines = new float[] {
1, 2, 3
};
CvPoint3D32f center = new CvPoint3D32f();
center.set(0, 0, 0);
int fx = 500;
int fy = 500;
int cx = 0;
int cy = 0;
float[] intrisic_matrix = new float[] {
fx, 0, cx, 0, fy, cy, 0, 0, 1
};
float[] h = new float[9];
cvCalcImageHomography(lines, center, intrisic_matrix, h);
for (int i = 0; i < h.length; i++) {
System.out.println(h[i]);
}
}
}
Original comment by [email protected]
on 31 Jan 2011 at 6:36
from javacv.
Related Issues (20)
- JavaCv on android doesen't work HOT 5
- Access violation and like that HOT 2
- Face Recognition using Eigen and Fisher Face. HOT 8
- problems to acces data from all the detected patterns with singleTracker HOT 4
- Encoded H264 video using FFmpegFrameRecorder missing last few frames HOT 8
- sample RecordActivity broken version 0.5 HOT 3
- Dependent Libraries opencv_legacy HOT 18
- Can't compile JavaCV from source code HOT 2
- cvCalcOpticalFlowPyrLK method will cause fatal error HOT 2
- no jnivideoInputLib in java.library.path HOT 1
- Javacv 0.5 linux-x64 requires new glibc HOT 5
- Using Javacv And Opencv in same project HOT 1
- Null pointer error(native method ) HOT 2
- JavaFX Media Player can not play output video created by Javacv 0.5 HOT 1
- How to grab keyframe from a video with javacv? HOT 23
- [Android + FFMpeg] Encoding error while using FFMpegRecorder in RecordActivity.java HOT 6
- canvas.showimage opens empty window on Mac OS Lion HOT 9
- FFmpegFrameGrabber won't grab till the end of video. HOT 12
- Conversion of audio in FFMpegFrameGrabber HOT 6
- Cached value of CvMat.fullSize and *Buffer fields might get incorrect HOT 34
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 javacv.