🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.bioinspired
クラス RetinaFastToneMapping
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.bioinspired.RetinaFastToneMapping
-
public class RetinaFastToneMapping extends Algorithm
a wrapper class which allows the tone mapping algorithm of Meylan&al(2007) to be used with OpenCV. This algorithm is already implemented in thre Retina class (retina::applyFastToneMapping) but used it does not require all the retina model to be allocated. This allows a light memory use for low memory devices (smartphones, etc. As a summary, these are the model properties:- それぞれ異なる局所近傍を用いた2段階の局所輝度適応。
- 第1段階は網膜の光受容器による局所輝度適応をモデル化する
- 第2段階は神経節細胞による局所情報適応をモデル化する
- 最初の発表時と比べて、このクラスは空間のみのフィルタの代わりに時空間ローパスフィルタを使用する。これにより、動画シーケンスを用いるユースケースにおいてノイズ耐性と時間的安定性を高められる。
-
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description protectedRetinaFastToneMapping​(long addr)
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static RetinaFastToneMapping__fromPtr__​(long addr)voidapplyFastToneMapping​(Mat inputImage, Mat outputToneMappedImage)applies a luminance correction (initially High Dynamic Range (HDR) tone mapping) using only the 2 local adaptation stages of the retina parvocellular channel : photoreceptors level and ganlion cells level.static RetinaFastToneMappingcreate​(Size inputSize)voidsetup()updates tone mapping behaviors by adjusing the local luminance computation area (default is 1, see reference paper)voidsetup​(float photoreceptorsNeighborhoodRadius)updates tone mapping behaviors by adjusing the local luminance computation areavoidsetup​(float photoreceptorsNeighborhoodRadius, float ganglioncellsNeighborhoodRadius)updates tone mapping behaviors by adjusing the local luminance computation areavoidsetup​(float photoreceptorsNeighborhoodRadius, float ganglioncellsNeighborhoodRadius, float meanLuminanceModulatorK)updates tone mapping behaviors by adjusing the local luminance computation area-
クラス org.opencv.core.Algorithm から継承されたメソッド
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
メソッドの詳細
-
__fromPtr__
public static RetinaFastToneMapping __fromPtr__​(long addr)
-
applyFastToneMapping
public void applyFastToneMapping​(Mat inputImage, Mat outputToneMappedImage)
applies a luminance correction (initially High Dynamic Range (HDR) tone mapping) using only the 2 local adaptation stages of the retina parvocellular channel : photoreceptors level and ganlion cells level. Spatio temporal filtering is applied but limited to temporal smoothing and eventually high frequencies attenuation. This is a lighter method than the one available using the regular retina::run method. It is then faster but it does not include complete temporal filtering nor retina spectral whitening. Then, it can have a more limited effect on images with a very high dynamic range. This is an adptation of the original still image HDR tone mapping algorithm of David Alleyson, Sabine Susstruck and Laurence Meylan's work, please cite: -> Meylan L., Alleysson D., and Susstrunk S., A Model of Retinal Local Adaptation for the Tone Mapping of Color Filter Array Images, Journal of Optical Society of America, A, Vol. 24, N 9, September, 1st, 2007, pp. 2807-2816- 引数:
inputImage- 処理対象の入力画像。RGBまたはグレーレベルoutputToneMappedImage- 出力されるトーンマッピング画像
-
setup
public void setup​(float photoreceptorsNeighborhoodRadius, float ganglioncellsNeighborhoodRadius, float meanLuminanceModulatorK)updates tone mapping behaviors by adjusing the local luminance computation area- 引数:
photoreceptorsNeighborhoodRadius- 第1段階の局所適応エリアganglioncellsNeighborhoodRadius- 第2段階の局所適応エリアmeanLuminanceModulatorK- meanLuminance情報を変調するために適用される係数(デフォルトは1。参照論文を参照)
-
setup
public void setup​(float photoreceptorsNeighborhoodRadius, float ganglioncellsNeighborhoodRadius)updates tone mapping behaviors by adjusing the local luminance computation area- 引数:
photoreceptorsNeighborhoodRadius- 第1段階の局所適応エリアganglioncellsNeighborhoodRadius- 第2段階の局所適応エリア(デフォルトは1。参照論文を参照)
-
setup
public void setup​(float photoreceptorsNeighborhoodRadius)
updates tone mapping behaviors by adjusing the local luminance computation area- 引数:
photoreceptorsNeighborhoodRadius- 第1段階の局所適応エリア(デフォルトは1。参照論文を参照)
-
setup
public void setup()
updates tone mapping behaviors by adjusing the local luminance computation area (default is 1, see reference paper)
-
create
public static RetinaFastToneMapping create​(Size inputSize)
-
-