Giter Club home page Giter Club logo

bayer2rgb's People

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  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  avatar  avatar  avatar

bayer2rgb's Issues

getopt_long returns int, not char

You are declaring c as 'char' which is an unsigned datatype on ARM linux such as the Raspberry Pi. Which means -1 becomes 255 and your test against -1 fails.

So getopt_long returns an int for a reason, change the type of 'c' to 'int' to avoid the issue on non-x86 platforms.

And yes, the Internet is full of incorrect examples for getopt usage.

Many errors on GCC(G++)

Your code has too many errors to build it with G++ ( 6.3.0 or higher on aarch64 )
Specially MIN, MAX, LIM macros not works correctly, and many typecasting erros to char to int.
And what meaning of "*restricted" ?
It should be fixed.
Please test on armhf(32bit) or aarch64(64bit) platforms of Linux.

how long time change one 1280*800 pic from Bayer to RGB?

how long time change one 1280800 pic from Bayer to RGB? and do you know other faster bayer2RGB algorithm ?I know used opencv:read raw first: rawData(rawDataHeight, rawDataWidth, CV_8UC1, cv::Scalar(0)); then call cvtColor(rawImage, rgbImage, cv::COLOR_BayerGB2BGR), but is also need about 7ms for one 1280800 pic

Unable to remove black borders

I would like to use the algorithms from bayer2rgb in my project. I have Nearest Neighbour working perfectly, however, HQLinear and Bilinear attach thin black borders to the delayed image. Is there a way to remove the black borders?

Many 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.