Comments (2)
ひとまず、ヒストグラムを用いる方式で実装完了。
こんな感じでうまくいきました。
このトーンカーブを左の写真に適用すると右の写真になるはずです。
なお、ヒストグラムの谷や裾野にあたる部分は線の色を薄くしています。これは、推定トーンカーブの根拠となるピクセルが少ない部分なので信頼性が低いということをなんとなく示しています。
また、RGB別のトーンカーブも推定できるようにしました。
残りの予定は以下のとおり。
- ピクセルごとの色変化をXYプロットする方式を追加
- グラフをズーム可能にする
from compare.
ピクセルごとの色変化をXYプロットする方式も追加で実装しました。
図の中の雲のようにモヤッとしている部分が、色の対応(トーンマップ)の分布を示しています。
先に実装した、ヒストグラムによる推定トーンカーブはくっきりした曲線で重ねて表示しています。
2つの方式は向き不向きがある気がするので、どちらかを選んで使うというより、
このように常に両方表示して、使う人が自分で解釈するのに任せることにします。
あと、グラフをズーム可能にしました。
それから、目盛り線を10分割から8分割に変更しました。
一目盛り32となって割り切れて気持ちよいので。
当初の「推定トーンカーブ」という目標は達成できた気がします。
クローズします。
from compare.
Related Issues (20)
- Numerical info on mouse over on histogram HOT 1
- Number of animation frames for GIF,APNG,WebP HOT 3
- Improve visibility of start point of each line of Optical Flow HOT 1
- Make the Optical Flow figure more understandable
- Animation duration detection for GIF, APNG and WebP
- Animated SVG detection
- Allow to change the reference image for comparison of image information
- Add tests for animated image detection
- Improve visibility of axes on 3D Color Distribution HOT 1
- Double application of Exif orientation
- Enlarge a bit of x-y chromaticity diagram of Vectorscope HOT 1
- AVIF detection
- Enlarge a bit of CIE xyY 3D Color Distribution diagram HOT 1
- slider like imgsli.com HOT 1
- Unit tests with Mocha HOT 1
- Unit test on GitHub Actions HOT 1
- Setup Dependabot version updates HOT 1
- ESLint on GitHub Actions HOT 1
- Error on Firefox HOT 2
- Can't open SVG HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from compare.