Giter Club home page Giter Club logo

pdaf-library's Introduction

PDAF Library

What is a PDAF Library

PDAF Library converts phase difference data from image sensor into defocus.
PDAF gets defocus from PDAF Library and notify defocus to HybridAF.
HybridAF controls PDAF and ContrastAF to get fine focus in short time.
Software components of PDAF, ContrastAF and HybridAF are assumed to be
developed by user. For detail, please refer to
specification document.

Repository structure

Folder and file structure of this repository is the following list.

root/  
    src/                           // Folder contains source code  
         PdafLibrary.c             // Source code of PDAF Library  
         PdafLibrary.h             // Header file of PDAF Library  
         PdafMathFunc.c            // Source code of math function  
         PdafMathFunc.h            // Header file of math function  
    docs/                          // Folder contains document  
         PDAF_Library_API_Specification.pdf // Specification document  
    LICENSE                        // License file  
    README.md                      // This file  
    RELEASENOTE.md                 // Release note  

How to build PDAF Library

Please build PDAF Library on your environment in which you want.

The following example is simple "Application.mk" and "Android.mk"
to build shared library on Android NDK.
Please put PDAF Library source code and "Application.mk" and "Android.mk"
on same directory named "jni".
And command "ndk-build".

#Application.mk 
APP_ABI        := arm64-v8a 
APP_OPTIM      := release 
APP_PLATFROM   := android-23   # Android 6.0  
#Android.mk  
include $(CLEAR_VARS)  
LOCAL_PATH        := .  
LOCAL_MODULE      := PdafLibrary  
LOCAL_SRC_FILES   := PdafLibrary.c PdafMathfunc.c  
include $(BUILD_SHARED_LIBRARY)  

How to use PDAF Library

Please see the following documentation.

Support platforms

  • android
  • windows 10 mobile

Release Notes

Please see the following link.

License

The BSD-3-Clause license.

See LICENSE for details.

pdaf-library's People

Contributors

ichiromiyamoto avatar

Stargazers

 avatar chwit avatar  avatar  avatar LiangZili avatar Milan Nedić avatar Kaspter Ju avatar Tyson Key avatar  avatar GitHitZjuZj avatar Narthil avatar  avatar  avatar  avatar  avatar  avatar Jose Jimenez avatar  avatar cicyTsai avatar  avatar Mude Lin avatar  avatar  avatar Philipp Huebner avatar  avatar

Watchers

Dan Mihai Dumitriu avatar  avatar Amir Tocker avatar James Cloos avatar zhangxianchao avatar  avatar  avatar Takashi Hironaka avatar Naoki Ide avatar  avatar Yoshifumi Ueno avatar  avatar Pradeep A avatar Daisuke Matsumoto avatar Yu Ishihara avatar  avatar Sriram avatar  avatar Hai Victor Habi avatar  avatar  avatar  avatar

pdaf-library's Issues

Android Example Library Usage

Could you provide an example on how to get the raw data needed to construct PdLibInputData on an Android system? I can't seem to find a way to communicate with the camera driver through Android NDK.

Thanks!

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.