Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cummon questions for openCv in java-desktop

Hello, I am a beginner in openCv in java-desktop.I used to use openCV for c++ and it was awesome.However, know I am lost.I have some questions because I stuck.

  1. How can i show/ display an image?
  2. How can i define an image with CvType.CV_8UC1 with out to know the size (Mat next =Mat.ones( ?, >, CvType.CV_8UC1 );) and then i load it from disk.

  3. I am using the following function Video.calcOpticalFlowFarneback(prev,next,flow,0.5,1, 1, 1, 7, 1.5,1); how can i use the flow matrix?

Thanks in advance, Ioanna