Wednesday, 11 December 2013

JavaCV Tutorial 4 -Color Filtering




In this tutorial I've explained the color filtering operations in javacv using the function "cvInRangeS()" .

Source Codes:  " https://drive.google.com/file/d/0Bxr1St4kFOnQb0FyYnl3aDBfRnM/edit?usp=sharing "

3 comments:

  1. hi, I would like to ask how to change the image size?

    can explan>>cvCreateImage(cvSize(640,480),8,3);

    ReplyDelete
  2. Its Giving Such Kinds of errors

    Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\technowings\AppData\Local\Temp\javacpp20952400491261\jniopencv_core.dll: Can't find dependent libraries
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1957)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1882)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1843)
    at java.lang.Runtime.load0(Runtime.java:795)
    at java.lang.System.load(System.java:1061)
    at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:566)
    at com.googlecode.javacpp.Loader.load(Loader.java:489)
    at com.googlecode.javacpp.Loader.load(Loader.java:431)
    at com.googlecode.javacv.cpp.opencv_core.(opencv_core.java:127)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:270)
    at com.googlecode.javacpp.Loader.load(Loader.java:453)
    at com.googlecode.javacv.cpp.opencv_imgproc.(opencv_imgproc.java:96)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:270)
    at com.googlecode.javacpp.Loader.load(Loader.java:453)
    at com.googlecode.javacv.cpp.opencv_highgui.(opencv_highgui.java:91)
    at JavaCv1.main(JavaCv1.java:27)
    Caused by: java.lang.UnsatisfiedLinkError: no opencv_core231 in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1878)
    at java.lang.Runtime.loadLibrary0(Runtime.java:849)
    at java.lang.System.loadLibrary(System.java:1087)
    at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:593)
    at com.googlecode.javacpp.Loader.load(Loader.java:481)
    ... 11 more

    ReplyDelete