Hi, thank you again!
I tried with CPU. On my notebook with intel core2 everything run just
fine and i had this output:
run-single:
Loading hessianDet_kernel.cl with -DIMAGES_SUPPORTED -DIMAGES_INTEGER
Loading nonMaxSuppression_kernel.cl with -DIMAGES_SUPPORTED -DIMAGES_INTEGER
Loading integralImage_kernels.cl with -DIMAGES_SUPPORTED -DIMAGES_INTEGER
Loading getOrientation_kernels.cl with -DIMAGES_SUPPORTED -DIMAGES_INTEGER
Loading createDescriptors_kernel.cl with -DIMAGES_SUPPORTED -DIMAGES_INTEGER
Loading normaliseDescriptors_kernel.cl with -DIMAGES_SUPPORTED -DIMAGES_INTEGER
Loading
utils.cl with
Loading generated integral image with
Not enough space for Ipoints had 3431 needed 3072 reallocating and running again
Found 3431 features in 5.054888s
done
BUILD SUCCESSFUL (total time: 2 minutes 39 seconds)
But when i tried with another pc with intel core i5 i had a problem
with this output:
Exception in thread "AWT-EventQueue-0"
com.jogamp.opencl.CLException$CLImageFormatNotSupportedException: can
not create 2d image [error: CL_IMAGE_FORMAT_NOT_SUPPORTED]
at com.jogamp.opencl.CLException.checkForError(CLException.java:67)
at com.jogamp.opencl.CLImage2d.createImage(CLImage2d.java:62)
at com.jogamp.opencl.CLContext.createImage2d(CLContext.java:399)
at com.jogamp.opencl.CLContext.createImage2d(CLContext.java:378)
at au.notzed.socle.feature.surf.ResponseLayer.<init>(ResponseLayer.java:58)
at au.notzed.socle.feature.surf.FastHessian.createResponseMap(FastHessian.java:122)
at au.notzed.socle.feature.surf.FastHessian.<init>(FastHessian.java:112)
at au.notzed.socle.feature.surf.SURFDetector.<init>(SURFDetector.java:126)
at au.notzed.socle.feature.surf.SURFDetector.<init>(SURFDetector.java:102)
at soclesdemo.feature.SURFeatures$1.run(SURFeatures.java:77)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:711)
at java.awt.EventQueue.access$000(EventQueue.java:104)
at java.awt.EventQueue$3.run(EventQueue.java:672)
at java.awt.EventQueue$3.run(EventQueue.java:670)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:681)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
So i tried to change the image type to R_Type to RGBA_type and in this
way i did not have this error anymore but i have a new error:
Exception in thread "AWT-EventQueue-0" java.nio.BufferOverflowException
at java.nio.DirectIntBufferU.put(DirectIntBufferU.java:357)
at java.nio.IntBuffer.put(IntBuffer.java:832)
at au.notzed.socle.util.ImageLoader.putImage(ImageLoader.java:118)
at soclesdemo.feature.SURFeatures$1.run(SURFeatures.java:81)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:711)
at java.awt.EventQueue.access$000(EventQueue.java:104)
at java.awt.EventQueue$3.run(EventQueue.java:672)
at java.awt.EventQueue$3.run(EventQueue.java:670)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:681)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
any idea? Thank you again