Code Monkey home page Code Monkey logo

eclipsemixer's Introduction

Eclipse Mixer is for HDR-like image processing, for both landscape and sun-shape in one photo.

It is impossible to express daylight landscape and sun-shape, because of too far exposure level. image

It needs a set of following two files, with exactly same position, same angle, and same pixel size.

  1. Standard photo, normal exposure. The Sun is in frame. The area near the Sun is usually over exposure.
  2. The photo of the shape of the Sun, by using ND100000 filter.

How to process: For each pixel, do following conversion.

sunR, sunG, sunB, from Sun-Shape photo. baseR. baseG, base B, from Base photo.

Calc. Gray scale brightness. sunG =0.298912 * sunR + 0.586611 * sunG + 0.114478 * sunB

Mix Ratio How much to compress base file brightness.

Calc new value for base photo baseR' = (d + (1-d) * (G/256)) * baseR baseG' = (d + (1-d) * (G/256)) * baseG baseB' = (d + (1-d) * (G/256)) * baseB

image

image

How to use app.

image

  • Instruction file. Write [Base file],[Sun-Shape file],[Output file] for each line.

  • Mix Ratio

  • Skip or Overwrite for existing output file

eclipsemixer's People

Contributors

naokiueda avatar

Watchers

 avatar

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.