kallyani1989 / javacv

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

capacity() method of IplImage always returns 0. #114

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. IplImage image = IplImage.create(10, 10, IPL_DEPTH_8U, 1);
2. System.out.println(image.capacity());

What is the expected output? What do you see instead?
I expect the capacity to be at least 100 in this case, but the returned 
capacity is 0.

What version of the product are you using? On what operating system?
I'm using JavaCV (20110820) on Ubuntu 11.04.

Please provide any additional information below.

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

GoogleCodeExporter commented 8 years ago
What you want to call is `imageSize()`, that should return 100.

Original comment by samuel.a...@gmail.com on 6 Oct 2011 at 12:37