2017-07-09 14:27:05 -0600 | received badge | ● Student (source) |
2013-06-02 21:23:43 -0600 | commented question | Negative Values When Getting Pixels in Java API You can fix this by doing an "& 0xFF" with each entry. |
2013-05-07 22:42:04 -0600 | received badge | ● Editor (source) |
2013-05-07 22:41:11 -0600 | asked a question | Matrix not displayed in ant example (Java Tutorial) Just installed OpenCV (2.4.9). Followed the ant example in the Java tutorial using the files already given. Doesn't seem like I encountered any problems. That said, the matrix isn't printed like in the example. Instead, nothing gets printed. Output: Is there something wrong / new with the dump function? I didn't encounter this problem the last time I installed OpenCV (2.4.4). Nothing seems different looking at the API. I am using Java Oracle 7 and running Arch Linux. I was able to output other functions like m.cols() fine. Here's the SimpleSample.java file for reference: |
2013-03-05 15:31:55 -0600 | received badge | ● Scholar (source) |
2013-03-04 21:31:56 -0600 | asked a question | Negative Values When Getting Pixels in Java API The pixel values I'm getting are negative. Am I doing something wrong or is it because Java doesn't support unsigned data types? What's the best way to fix this? |
2012-12-18 22:30:10 -0600 | received badge | ● Supporter (source) |