バージョン0.9
使い方
眼の年齢シミュレータは、加齢と白内障による眼の見え方を体験するアプリケーションです。
画像(サンプル・カメラの映像・「写真」の画像)に、眼の光学(水晶体の黄ばみ・ぼけ・濁りによる散乱とまぶしさ)を計算して反映し、元の画像や正常眼と並べて表示します。
診断・治療の目的には使用できません。数値は文献の目安で、見え方には個人差があります。
基本的な使用方法
-
1.
表示を選択します。
下の帯の下の段(表示のツールバー)の「元の画像」「正常眼」「白内障眼」から、見たい物を選択します(複数選択できます。押した物が区画になります)。 -
2.
年齢を決めます。
帯の上の段(白内障のツールバー)の右の、年齢のスライダーを動かします(20〜90 歳、5 歳刻み)。 -
3.
白内障の型と進み具合を決めます。
白内障のツールバーの左の、型(核・皮質・後嚢下)のボタンを押して、オンとオフを切り替えます。各ボタンの右の「▲」を押すと、その型の進み具合(0〜100%)の縦のスライダーが吹き出しで表示されます。 -
4.
画像を選択します。
サンプルのボタンで、サンプルの一覧から選択します。カメラや「写真」の画像は、右の列の 3 つ目のボタンで選択します。
主画面の見かた
上端に区画の名前とズームの倍率、画面の上半分の左右にボタン、下に 1 本の帯(上の段が白内障のツールバー、下の段が表示のツールバー)があります。最後に操作してから 10 秒たつと、ボタンと帯は隠れます。画面を押すと、また表示されます。上端の文字
- 区画の名前 各区画の上端の中央。白内障眼の区画は、その下に年齢と型ごとの進み具合(「3 つの表示」)。
- ズームの倍率 右上(「ズーム:100%」)。区画の名前と重なる時は、名前の下に表示します。
- 研究向けの値を使用中 研究向けの値を使用している時に、右上に表示します。区画の名前とズームの倍率は、その下に並びます。その値が効く区画の名前の後ろに印「*」。
上のボタン(左の列と右の列)
設定 (左の列の 1 つ目)設定の画面を表示します。
サンプル (左の列の 2 つ目)サンプルの一覧を表示します。
トーチ (左の列の 3 つ目)ライトを点灯・消灯します(ライトのあるカメラの時だけ)。
フリーズ (右の列の 1 つ目。カメラの時)カメラの映像を止めます。サンプルの時は、同一の場所が自動切り替えの再生・停止のボタン(
)になります。「写真」の画像の時は押せません。
保存 (右の列の 2 つ目)画面に表示している区画を、「写真」に保存します。
イメージソース (右の列の 3 つ目)後ろのカメラ・前のカメラ・「写真」の画像を選択します。
3 つの表示(元の画像・指定年齢の正常眼・白内障眼)
- 元の画像 加工していない画像です。
- 指定年齢の正常眼(ボタンの文字は「正常眼」) 年齢のスライダーで決めた年齢の、正常な眼の見え方です。若い眼との差(水晶体の黄ばみ・散乱の増加)だけを反映します。
- 白内障眼 指定した年齢で、選択した型の白内障がある眼の見え方です。
- 初期値は、3 つともオン(3 区画)です。3 つは独立に押せます。押した物が区画になり、画面の大きさと向きに応じて並びます。最後に残った 1 つは解除できません。長押しすると、その 1 つだけになります。
- 各区画の上端に、区画の名前(「元の画像」「65 歳の正常眼」「65 歳の白内障眼」など)を表示します。白内障眼の区画は、その下に年齢と型ごとの進み具合を表示します。型(核・皮質・後嚢下)を全部切った時は、白内障眼の区画の名前は「65 歳(白内障なし)」になります(画像は正常眼と同一です)。
本アプリは、文献に基づいて、加齢と白内障の違いを次のように捉えています。指定年齢の正常眼は、年齢とともに水晶体の全体が少しずつ黄色くなり、光を散らすようになるとされる変化を表した眼です。白内障眼はそれに濁りを加えた眼で、核白内障はその変化が中心で強く進んだもの、皮質白内障と後嚢下白内障は水晶体の一部にできる濁りとして表しています。
見え方の基準について
20 歳の眼を基準にしています
画面の画像は、見ているあなた自身の眼を通って届きます。あなたの眼の黄ばみや光の散乱は、何もしなくても画像に重なります。そのため、「指定年齢の正常眼」と「白内障眼」は、基準の眼(20 歳の若い眼)からの変化分だけを画像に加えています。20 歳前後の人が見ると、その年齢の見え方に近くなります。
あなたが 20 歳より年上の場合
基準が 20 歳のままだと、あなたの眼の変化が重なるので、実際より少し強く見えます。
基準の年齢は変更できます
基準の 20 歳は初期値です。研究向けの設定の「見る人の年齢」で、20〜90 歳の間で変更できます。自分の年齢に合わせると、自分の年齢より上の見え方が、より正確になります。
自分の年齢より若い眼の見え方
「見る人の年齢」を自分の年齢に合わせた時、年齢のスライダーを自分の年齢より若くしても、若い眼の見え方は完全には再現できません。
- 光の散乱(まぶしさ・霞): 自分の年齢より若い眼の散乱は、シミュレーションできません。あなたの眼の中で起きている散乱を、画像の側で取り除く事はできないためです。自分の年齢より若い範囲では、散乱は自分の年齢の時と同じままで、正しいシミュレーションにはなりません。
- 色合い: 水晶体の黄ばみの差は、画像の色で補正しています。自分の年齢より若い範囲では、画像の青みを増して、若い眼の色合いに近づけています。
年齢
- 年齢のスライダーは、20〜90 歳を 5 歳刻みで決めます。「指定年齢の正常眼」と「白内障眼」が同一の年齢を使用します。「元の画像」には影響しません(元の画像だけを表示している時は、薄くなって動かせません)。
- 年齢が高いほど、水晶体の黄ばみと光の散乱(まぶしさ・霞)が増えます。瞳孔は、画像の明るさと年齢から自動で決まります。
白内障の型と進み具合
- 核(水晶体の中心の濁り。黄ばみ)・皮質(周辺から楔形に濁る)・後嚢下(後ろの中心の濁り。明るい所で強く現れる)の 3 つのボタンが、白内障のツールバーの左に並びます。白内障眼を表示している時だけ押せます。
- ボタンを押すと、その型のオン・オフが切り替わります。長押しすると、その型だけがオンになります。オフにしても、進み具合の % は残ります(オンに戻すと、その % で反映されます)。
- 各ボタンの右の「▲」を押すと、その型の進み具合(0〜100%)の縦のスライダーが吹き出しで表示されます。上に型の名前と % を表示します。吹き出しは、外を押すか、もう一度「▲」を押すと閉じます。ボタンには名前と進み具合の % を常に表示します(オフの型は薄くなります)。
- 2 本指の上下でも進み具合を動かせます(上へ = 進む)。動かすのは、最後に「▲」で開いた型です。
- 複数の型を同時にオンにできます。初期値は、核 50%(オン)・皮質 25%(オン)・後嚢下 25%(オフ)です。
暗所散瞳・色順応
表示のツールバーの右の 2 つのボタンです。- 暗所散瞳 暗い所では瞳孔が開き、濁りによるまぶしさと霞が強くなります。ボタンをオンにすると、瞳孔を 7 mm に固定します(オフは、画像の明るさから自動)。初期値はオンです。
- 色順応 長く白内障だと、脳が黄ばみに慣れて気づきにくくなります。オンは慣れた後(既定)、オフは慣れる前の見え方です。
イメージソース(サンプル・カメラ・「写真」の画像)
サンプル 場面ごとにまとめた一覧から選択します(夜の運転・街・昼の屋外・家の中・駅や店・読む)。起動した時はサンプルで、約 8 秒ごとに自動で切り替わります。右の列の 1 つ目のボタンで、自動切り替えを再生・停止します。自動切り替えで再生している間は、1 本指で左右に払うと前後のサンプルに移ります(左へ = 次、右へ = 前。斜めでも、横の動きが縦より大きければ移ります)。移った後も自動切り替えは続きます。上下に動かしても、画像は動かず、自動切り替えも続きます。画面を押す・長押し・ダブルタップ・2 本指の操作をすると、自動切り替えは止まります。停止している時は、サンプルの一覧から選択します。
カメラ・「写真」の画像 右の列の 3 つ目のボタンで、後ろのカメラ・前のカメラ・「写真」の画像を選択します。カメラの映像に、そのまま計算を反映します。カメラを最初に使用する時は、カメラの使用の許可を求められます(サンプル・「写真」の画像を見ている間は、カメラを動かさず、許可も求めません)。- カメラと「写真」の画像は、場面の本当の明るさの情報がありません。画像の明るさから瞳孔を自動で決めます。
ズーム・フリーズ
- ピンチで拡大します(100〜500%)。1 本指のドラッグで画像を動かせます(画像が画面より大きい時。自動切り替えの再生中は画像は動かないので、画面を押して自動切り替えを止めてから動かします)。
- ダブルタップで、ズームと位置が元に戻ります。iOS では、デバイスを振っても戻ります。
- 画面の長押しで、カメラの映像を止めます(設定の「長押しで静止」がオンの時)。
画像の保存
保存ボタンを押すと、画面に表示している区画を「写真」に保存します。設定の「音量ボタンで保存」がオンの時は、入力がカメラの間、音量ボタンでも保存できます(サンプル・「写真」の画像の時は、画面の保存ボタンで保存します)。- 設定の「保存画像に文字埋込」がオン(初期値)の時は、各区画の左上に区画の名前(白内障の区画は、その下に年齢と型ごとの進み具合)、右上に暗所散瞳・色順応の状態を重ねて保存します。研究向けの値を使用している時は、区画の名前と右上の条件に画面と同一の印「*」を付け、右上の条件の下に「研究向けの値を使用中」を 1 行加えて保存します。
設定
歯車のボタンで設定の画面を開きます。上から、保存(保存画像に文字埋込)、操作(長押しで静止・音量ボタンで保存)、音(保存の音・音量)、色空間(自動・sRGB)、研究向け(研究向けの設定)、その他(リセット・マニュアル表示・プライバシーポリシー)、アプリケーション情報(バージョン・著作権)です。- 色空間: 自動は、広い色域に対応しているデバイスでは Display P3 で表示し、保存します。共有する画像を sRGB にそろえたい時は sRGB を選びます。
- 研究向けの設定: Web Edition の研究向けの欄と同一の物です。上に瞳孔・視野・広い散乱の今の値を表示します。眼の光学の値を区分ごとに開いて、スライダーか数の入力で 1 つずつ変えられます(範囲と刻みに合わせます)。屈折度数(D)は、眼科の屈折の表し方です(近視はマイナス、遠視はプラス。0 は眼鏡で矯正した状態)。ほかに、「一般向けの値に戻す」、乱数の種(「新しい種」で変更します)、値の一式の JSON への保存・読み込みがあります(Web Edition と同一の形なので、Web Edition で保存した値を読み込めます)。研究向けの値を使用している時は、画面の右上と設定の画面に「研究向けの値を使用中」と表示され、その値が効く区画の名前と右上の条件の後ろに印「*」が付きます。
- 最後の状態(年齢・型ごとの進み具合・表示の選択など)は、自動で覚えます。研究向けの値も覚え、年齢・型・進み具合などのメインの操作、画像の切り替え、画面の回転では消えません(戻す時は、研究向けの設定の「一般向けの値に戻す」を押します)。「リセット」で、すべてが初期値に戻ります。
読み上げ(VoiceOver・TalkBack)
- 画像は、「夜の広場、元の画像、65 歳の正常眼、65 歳の白内障眼、65 歳 · 核 50% · 皮質 25%、ズーム 100%」のように、サンプルの名前・表示している区画・ズームを読み上げます。
- 画像のジェスチャーの代わりに、画像に次の操作があります。拡大・縮小(ピンチの代わり)、上下左右へ動かす・中央に戻す(拡大している時の 1 本指の代わり)、ズームと位置を元に戻す(ダブルタップの代わり)、次のサンプル・前のサンプル(自動の切り替えの再生中の 1 本指の左右の払いの代わり。自動の切り替えを停止している時は、停止したままで切り替えます)、進み具合を上げる・下げる(2 本指の上下の代わり。最後に開いた型を 10% ずつ)、静止・静止をやめる(カメラの時。長押しの代わり)。操作が隠れている時は、画像をダブルタップすると表示されます。
- 白内障の型のボタンは、「核白内障、オン、50%」のように、名前・オンとオフ・進み具合を読み上げます。長押しの代わりに「この型だけにする」の操作を、表示のボタンには「この表示だけにする」の操作を選択できます。▲ を押すと、進み具合のスライダーが開き、上げる・下げる操作で 10% ずつ変更できます。
- 年齢のスライダーは「65 歳」と読み上げ、上げる・下げる操作で 5 歳ずつ変更できます。白内障眼を表示していない時の型のボタン、正常眼・白内障眼を表示していない時の年齢のスライダーは、使用できない状態として読み上げます。
- 保存した時・静止した時・サンプルを切り替えた時は、その事を読み上げます(自動の切り替えでは読み上げません)。
- iOS では、2 本指のダブルタップ(マジックタップ)で、カメラの時は静止・静止をやめる、サンプルの時は自動の切り替えの再生・停止をします。Android では、TalkBack の使用中は音量ボタンでの保存を行わず、音量ボタンで読み上げの音量を変更できます。
HDR の写真と普通の写真(まぶしさの表示)
白内障のまぶしさは、強い光が眼の中で散らばって起きます。散らばる光の量は、光の本当の強さで決まります。普通の写真(JPEG など)は、白い紙も、ヘッドライトも、太陽も、同一の「白」として記録します。そのため、写真から光の本当の強さは分かりません。HDR の写真は、白より明るい部分の強さも記録しています(ゲインマップ)。このアプリは、その情報を利用して、強い光のまぶしさを計算します。
| 見え方 | 普通の写真 | HDR の写真 |
|---|---|---|
| 水晶体の黄ばみ | どちらも表示できます | |
| 全体の霞とコントラストの低下 | どちらも表示できます | |
| 皮質・後嚢下の濁りの影 | どちらも表示できます | |
| ヘッドライト・街灯・太陽などのまぶしさと光の輪 | 弱く表示されます | 強さに合わせて表示します |
- サンプルの画像は、50 枚のうち 44 枚が HDR です。紙面の 6 枚(本・新聞・説明書・スマートフォンの画面・時刻表・メニュー)は、普通の画像です。
- 「写真」の画像は、ゲインマップ付きの HDR の写真(Android の Ultra HDR、ISO 21496-1 の形式、iPhone の HDR の写真)なら、まぶしさまで表示します。それ以外の写真は、普通の写真として扱います。
- カメラの映像は、HDR(HLG)で撮影できるデバイスでは、白より明るい部分の強さも使用して、まぶしさまで表示します(元の画像の区画も、白より明るい部分を白に切り詰めず、なめらかに収めて表示します)。HLG で撮影できないデバイスでは、普通の写真と同一の扱いです。
- 画面は、本物のヘッドライトほど明るく光れません。そのため、画面で表示できない強い光については、眼の中で起きるはずの光の輪を追加で描いています。
- サンプルの明るさは、場面ごとの推定値です。実際の見え方には個人差があります。
ご注意
- このアプリは、白内障と加齢による見え方の理解を助けるための体験ツールです。診断・治療・視力検査には使用できません。眼の症状が気になる時は、眼科で受診してください。
- 画面の明るさ・色は、ご使用の画面によって違って見えます。見え方には個人差があり、数値は文献の目安です。
- 画像はこのデバイスの中だけで処理します。カメラの映像・「写真」の画像は、外へ送りません。
サンプル画像の出典とライセンス
サンプルの写真は、Poly Haven(polyhaven.com)と ambientCG(ambientcg.com)の HDRI(CC0)から切り取っています。CC0 は著作権を放棄した画像で、表示は不要ですが、作者への感謝として、出典と作者の一覧を下に載せます。読む物の紙面(本・新聞・説明書・スマートフォンの画面・時刻表・メニュー)は自作で、本文に青空文庫の夏目漱石『吾輩は猫である』(著作権切れ)を使用しています。対向車のヘッドライトの写真は、ぱくたそ(pakutaso.com)の「夜道を走る車のヘッドライト」(Yukillow、https://www.pakutaso.com/en/20200244059post-25672.html)です。ぱくたその利用規約(商用・非商用とも無料、加工可、クレジット不要)による素材で、CC0 ではありません。ヘッドライトの画素に、物理の値を加算してあります。- Greg Zaal: 月夜の林、晴れた丘(太陽が高い)、夜の駅のホーム、居間(窓の光)、木の部屋、夜の街(広場の街灯)、夜の公園、湖と丘の照り返し、水面の照り返し、台所、洗面所、地下通路
- Sergej Majboroda: 昼の並木道、カフェ、レンガの壁の部屋、雪の夜、公園(逆光・太陽が写る)、映画館(スクリーン)、曇りの冬の野原
- 自作の紙面: 本のページ、新聞、薬の説明書、スマートフォンの画面、時刻表・案内板、メニュー
- Oliksiy Yakovlyev: 病院の診察室、病院の病室、雪の公園(雪面のまぶしさ)、雪の林道
- ambientCG: トンネルの出口(明るい光)、濡れた霧の道、夜の路地(石畳)、居間(テレビ)
- Dimitrios Savva, Jarod Guest: 昼の街並み、夕暮れの野原、店の棚
- Savva Zakharov: ロッカーのある部屋、公園の木漏れ日、廊下
- Greg Zaal, Rico Cilliers: 夜の広場、駐車場(暗い所と明るい出口)
- Greg Zaal, Jenelle van Heerden: 夜の石畳の道
- Yukillow(ぱくたそ): 対向車のヘッドライト
- Grzegorz Wronkowski: 夕暮れの街
- Dario Barresi, Jenelle van Heerden: 寝室
- Greg Zaal, Dimitrios Savva: 夕日
- Alexander Scholten: 冬の湖
- Philip Modin: 線路の切り通し(木漏れ日)
- Dario Barresi: 階段(段差)
- Adrian Kubasa: 浴室
ライセンス
眼の年齢シミュレータは、次のオープンソースのソフトウェアとフォントを使用しています。ライセンスの全文は、この節の後半に掲載しています。使用している部品と著作権表示
- Android Jetpack(AndroidX・Compose・CameraX): Copyright The Android Open Source Project(Apache-2.0)
- Kotlin 標準ライブラリ、kotlinx(coroutines・serialization・atomicfu): Copyright JetBrains s.r.o. and Kotlin Programming Language contributors(Apache-2.0)
- JetBrains annotations: Copyright JetBrains s.r.o.(Apache-2.0)
- Dagger: Copyright Google, Inc.(Apache-2.0)
- AutoValue annotations: Copyright (C) 2012 Google, Inc.(Apache-2.0)
- JSpecify: Copyright The JSpecify Authors(Apache-2.0)
- Jakarta Inject: Copyright Eclipse Foundation and the respective authors(Apache-2.0)
- javax.inject(JSR-330)、Guava ListenableFuture: Apache-2.0
- libyuv(CameraX に含まれる): Copyright 2011 The LibYuv Project Authors. All rights reserved. ライセンスは BSD-3-Clause
- フォント Roboto Bold(ラテン文字の一部): Copyright 2011 Google Inc. All Rights Reserved.(Apache-2.0)
Apache-2.0、BSD-3-Clause の全文は次のとおりです。
Apache License, Version 2.0
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
libyuv(BSD-3-Clause)
Copyright 2011 The LibYuv Project Authors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
* Neither the name of Google nor the names of its contributors may
be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
open image
open image
open image
open image
open image