GithubHelp home page GithubHelp logo

linville / gray16lib Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 3.0 3.82 MB

πŸ“ˆ 16-bit grayscale processing algorithms for use with QImage::Format_Grayscale16.

License: ISC License

C++ 93.44% C 0.63% CMake 5.93%
qt cpp grayscale 16-bit image-processing

gray16lib's People

Contributors

linville avatar

Stargazers

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

Watchers

 avatar

gray16lib's Issues

build issue: std::reduce

I am trying to build the code on ubuntu using Qt5.13.0 in combination with gcc-9 and g++-9.
All compiles well except line 119 in image_histogram_widget.cpp

I get the error: no matching function for call to β€˜reduce(QVector::const_iterator, QVector::const_iterator)'

Code on line 119 | int sum = std::reduce(histogram.constBegin(), histogram.constEnd());

issue

std::reduce takes a minimum of 3 arguments, you are just providing 2

Can you please help resolving this issue.

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.