jloyd / javacv

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

How can I get Pixel values? #65

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. trying to use cvGet2D(,,); But I can't find that method
2. trying to use bufferedImage, getRGB() is return nagative values.. is that 
right?

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

What version of the product are you using? On what operating system?
javacv-bin-20110407
java version "1.6.0_21"
eclipse helios
window xp 32bit

Please provide any additional information below.

Original issue reported on code.google.com by ave10...@gmail.com on 9 May 2011 at 5:58

GoogleCodeExporter commented 9 years ago
This isn't an issue with JavaCV, but Java itself:
http://classic-web.archive.org/web/20080725051445/darksleep.com/player/JavaAndUn
signedTypes.html

There are some discussion about that on the mailing list, so please take the 
time to read it:
http://groups.google.com/group/javacv/browse_thread/thread/9c8620a78265daaa/b413
3f72a5a0d101
http://groups.google.com/group/javacv/browse_thread/thread/bad2d812ff0601ab/e09e
0c1bdff365a6
http://groups.google.com/group/javacv/browse_thread/thread/4ea74615c2e7dae5/4e9f
ea6a4f888457

Original comment by samuel.a...@gmail.com on 9 May 2011 at 9:58