Git Product home page Git Product logo

photoquick-plugins's Introduction

GitHub release (latest by date) GitHub Release Date GitHub repo size GitHub all releases GitHub

PhotoQuick plugins

Description

A set of plugins for the viewer photoquick

Runtime Dependencies

  • libqtcore4
  • libqtgui4
  • libgomp1

Build

It can be built with either Qt4 or Qt5

Linux

Install dependencies...
Build dependencies ...

  • libqt4-dev or qtbase5-dev

To build this program, extract the source code zip.
Open terminal and change directory to src/
Then run these commands to compile...

qmake  
make -j4  

Windows

Download Qt 4.8.7 and minGW32
Add Qt/4.8.7/bin directory and mingw32/bin directory in PATH environment variable.
In src directory open Command Line.
Run command...

qmake
make -j4

Install (Linux)

sudo make install

Links

Examples

See examples.

photoquick-plugins's People

Contributors

ksharindam avatar zvezdochiot avatar

Watchers

 avatar  avatar  avatar

photoquick-plugins's Issues

optimizing xbr scaler

Hi @zvezdochiot
XBR scaler code uses a precomputed array for RGB to YUV conversion. that occupies 64MB or memory even if the code is not executed.
I want to compute rgb to yuv when the code is executed. and will not use that array.

    for (bg = -255; bg < 256; bg++) {
        for (rg = -255; rg < 256; rg++) {
            const uint32_t u = (uint32_t)((-169*rg + 500*bg)/1000) + 128;
            const uint32_t v = (uint32_t)(( 500*rg -  81*bg)/1000) + 128;
            int startg = _max(-bg, _max(-rg, 0));
            int endg = _min(255-bg, _min(255-rg, 255));
            uint32_t y = (uint32_t)(( 299*rg + 1000*startg + 114*bg)/1000);
            c = bg + (rg<<16) + 0x010101 * startg;
            for (g = startg; g <= endg; g++) {
                XBR_RGBtoYUV[c] = ((y++) << 16) + (u << 8) + v;
                c+= 0x010101;
            }
        }
    }

Trying to find a way to convert from r, g and b to rg and bg.
by trying to create a reverse equation of c = bg + (rg<<16) + 0x010101 * startg;
Please help me.

Histogram?

Hi @ksharindam .

I really don't like your histograms:

  • norm
  • log

For me, the ones that I get are much less bad:

  • norm
  • log

See attachment:
photoquick-plugins-hist.zip

PS: Accumulation mode can also be added:

Hh = scale_h * k * hist[k];

But you will need a radiocheck and methods of working with it.

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.