ivan16luis / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

parameters for cvmat method? #119

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

I want to use warpperspective on an iplimage .But the problem is parameters 
given to the cvmat method was not supported.Can anyone suggest the parameters 
to be given for cvmat method?

Original issue reported on code.google.com by vishakh...@gmail.com on 19 Oct 2011 at 9:26

GoogleCodeExporter commented 9 years ago
Does this line of the README.txt file answer your question?
    CvMat randomR = CvMat.create(3, 3);
And please post your questions on the mailing list next time, thank you. This 
is not an issue with JavaCV.

Original comment by samuel.a...@gmail.com on 20 Oct 2011 at 7:07

GoogleCodeExporter commented 9 years ago
Sorry Sir...Cant find the mailing list....Actually I have created the cvmat 
object with the cvmat.create(1,4).......But the following code shows error....
bit=BitmapFactory.decodeFile(selectedImagePath);
srcwidth=bit.getWidth();
matsrc.put(0,1,srcwidth,0);

Original comment by vishakh...@gmail.com on 20 Oct 2011 at 8:44

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
That call to CvMat.put() is ambiguous. If you are trying to put four double 
values to fill your CvMat object, use double literals, e.g.:
    matsrc.put(0.0,1.0,srcwidth,0.0);

You can find the address to the mailing list in the README.txt file, thank you.

Original comment by samuel.a...@gmail.com on 21 Oct 2011 at 6:29