Vigra JNI sample code