Code Monkey home page Code Monkey logo

android-opencl-sobel-filter's Introduction

Android OpenCL Sobel Filter:

This is a sobel filter on Android using OpenCL to accelerate. To compile this project,you should using Android NDK and OpenCV-Android. To run this application on your device,you should install OpenCV Manager first. This code is written by Zhangxi Yan,Shuai Wang and Tong Zhou from Xidian University. If you have any question,please contact me by e-mail: [email protected]. Enjoy!

android-opencl-sobel-filter's People

Contributors

whiteisclosing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-opencl-sobel-filter's Issues

clGetPlatformIDs() gets error

Hi, I build and run your code on my MI5 (Qualcomm 820, Adreno 530) with eclipse. The process of build is ok but I get some errors as follows when code run

Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 23010 (Thread-3)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Xiaomi/gemini/gemini:7.0/NRD90M/7.7.20:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 22941, tid: 23010, name: Thread-3  >>> com.white.imagesobelfilter <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
    r0 00000001  r1 ce7e3180  r2 cd578f64  r3 00000000
    r4 e8eb1f8c  r5 e8eb2108  r6 e8eaf63c  r7 00000000
    r8 ea5f1d10  r9 00000100  sl 00000000  fp cd57911c
    ip eb414948  sp cd578f28  lr e8ead10f  pc 00000000  cpsr 200f0010
backtrace:
    #00 pc 00000000  <unknown>
    #01 pc 0000210d  /data/app/com.white.imagesobelfilter-1/lib/arm/libSobelFilter.so (_Z9GPU_SobelP9_IplImageS0_+140)
    #02 pc 0000258b  /data/app/com.white.imagesobelfilter-1/lib/arm/libSobelFilter.so (Java_com_white_imagesobelfilter_nativeSobelFilter_sobelFilter+186)
    #03 pc 000652cd  /data/app/com.white.imagesobelfilter-1/oat/arm/base.odex (offset 0x65000)

The failed code is

status = clGetPlatformIDs(0, NULL, &numPlatforms);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.