Giter Club home page Giter Club logo

brighterandbigger's Introduction

Brighter and Bigger

This is an open source code of the “Brighter and Bigger" Android version 2.0.

What is the "Brighter and Bigger"?

  • A reading assistance tool for people who have difficulty reading small letters.

  • "Brighter and Bigger" is a reading glasses tool for people who have difficulty reading fine print and focusing on nearby objects due to presbyopia, eye illness, etc.

  • Presbyopia is a normal condition for people over the age of 40, which arises from age-related changes in the anatomy of the eye. Moreover, it becomes difficult to read small letters due to eye illnesses, such as cataracts and low vision.

  • This application helps you to read small letters by making the images bigger, brighter and clearer with scientific color changing methods.

 

Features

  • Shows you fine print bigger, brighter and clearer.

  • "Brightness Reverse" mode and "Monochrome" mode are supported. These modes are suitable for people with cataracts and low vision.

  • "Tilted Angle Correction" mode, which revises the distortion of images when you read books, etc. from a tilted angle, is supported.

  • Maximum magnification of up to 20 times is supported so that you can use this tool as a monocle when you would like to see distant objects even if blurred.

Announcement

Announcement of making Open-Source version is here.
https://asada.website/brighterandbigger/e/opensource.html

Official Website

Official website of the "Chromatic Vision Simulator" is here.
https://asada.website/brighterandbigger/e/index.html

User's Guide

User's Guide of this application is in the official website.
https://asada.website/brighterandbigger/e/manual.html

Requirements

Android device with Android 5.0 (API level 21) or later and OpenGL ES2.0 or later.

Notes

This application software was developed by Kazunori Asada (Ph.D. of Medical Science and Ph.D. of Media design).

Acknowledgment

I wish to express my gratitude to Mr. Hirofumi Ukawa and Masataka Matsuda who helped development of the open-source version.

License

The MIT License (MIT)

Copyright 2019 Kazunori Asada

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Powered by

NumberPicker - Copyright 2018 ShawnLin013 (MIT license).

Appendix

Mathematical Expressions of Brighter and Clearer theory in this application

(1) Convert RGB color from sRGB(gammaed) to sRGB(linear). (IEC 61966-2-1)

(2) Convert color space from sRGB to CIEXYZ. (IEC 61966-2-1)

(3) Convert color space from CIEXYZ to CIELUV. (CIE 1976 L*u*v* Color Space)

(caution: is assumed, not 100.)

When under D65 illuminant,

Where,

(4) Brighter. Only lightness L* value is used for changing "Brighter" in CIELUV uniform color space. The chromaticity is not changed. Increase (brighter) or decrease (darker) lightness L* according to the value of the “Brighter Dial."

( in this application.)

result

(fig.1) dial the Brighter. (The horizontal is the original, the vertical is the new lightness.)

(5) Clearer. Only lightness L* value is used for changing "Clearer" in CIELUV uniform color space. The chromaticity is not changed. Increase or decrease contrast by changing the slope of lightness L* according to the value of the “Clearer Dial." Sigmoid function is used to change contrast smoothly.

( in this application.)

result

(fig.2) dial the Clearer. (The horizontal is the original, the vertical is the new lightness.)

result

(fig.3) dial the Brighter after Clearer. (The horizontal is the original, the vertical is the new lightness.)

(6) Brightness Reverse

(7) Monochrome Mode

(7-1) In the monochrome mode, only the lightness is used, not the chromaticity of the original pixel. Obtain the chromaticity of the used color c1 (light) and c2 (dark) in the u'v' chromaticity diagram (CIE1976UCS chromaticity diagram). If there is only one color c1, c2 should be achromatic . Use Equation 1 and Equation 2 for conversion from RGB to XYZ, and use Equation 3 (bottom one) to convert to u'v' chromaticity.

(7-2) Change only the chromaticity, keep the lightness L* of the color before conversion. If the lightness of a certain color c0 is Lc0*, the chromaticity of c0 (uc0new', vc0new') is obtained by linearly interpolating the chromaticities of c1 and c2 on the u′v′ chromaticity diagram plane, according to the value of the lightness Lc0*.

(8) Convert color space from CIELUV to CIEXYZ. (CIE 1976 L*u*v* Color Space)

(9) Convert color space from CIEXYZ to sRGB. (IEC 61966-2-1)

(10) Convert RGB color from sRGB(linear) to sRGB(gammaed). (IEC 61966-2-1)

(11) Tilted Angle Correction (projection transform). This is achieved using OpenGL texture2DProj() in the application, but the formula should be as follows.

( in this application.)

(fig.4) Before(left) and after(right) Tilted Angle Correction.

brighterandbigger's People

Contributors

asada0 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  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.