|
1 | 1 | # VapourSynth-Retinex
|
2 | 2 |
|
3 |
| -Retinex.dll 2014 mawen1250 |
| 3 | +Retinex.dll | 2014 | mawen1250 |
4 | 4 |
|
5 | 5 | VapourSynth plugin
|
6 | 6 |
|
@@ -34,29 +34,29 @@ This function accept 8-16bit integer Gray/YUV/RGB/YCoCg input. Sub-sampled forma
|
34 | 34 | retinex.MSRCP(clip input, float[] sigmaS=[25,80,250], float lower_thr=0, float upper_thr=0, bool fulls, bool fulld=fulls)
|
35 | 35 | ```
|
36 | 36 |
|
37 |
| -- input: |
| 37 | +- input:<br /> |
38 | 38 | clip to process
|
39 | 39 |
|
40 |
| -- sigma: (Default: [25,80,250]) |
| 40 | +- sigma: (Default: [25,80,250])<br /> |
41 | 41 | sigma of Gaussian function to apply Gaussian filtering.<br />
|
42 | 42 | Assign an array of multiple sigma to apply MSR.<br />
|
43 | 43 | It is recommended by most researches to use 3 different scales (balance between speed and quality).
|
44 | 44 |
|
45 |
| -- lower_thr: (Default: 0) |
| 45 | +- lower_thr: (Default: 0)<br /> |
46 | 46 | After applying MSR, a normalization is applied to the value range [Floor,Ceil] of the image.<br />
|
47 | 47 | This parameter define the ratio of pixel number to determine the Floor of value range. 0 means using the minimum pixel value in the image.<br />
|
48 | 48 | Valid range is [0,1), and the sum of lower_thr and upper_thr should be less than 1.
|
49 | 49 |
|
50 |
| -- upper_thr: (Default: 0) |
| 50 | +- upper_thr: (Default: 0)<br /> |
51 | 51 | After applying MSR, a normalization is applied to the value range [Floor,Ceil] of the image.<br />
|
52 | 52 | This parameter define the ratio of pixel number to determine the Ceil of value range. 0 means using the maximum pixel value in the image.<br />
|
53 | 53 | Valid range is [0,1), and the sum of lower_thr and upper_thr should be less than 1.<br />
|
54 | 54 | Increase it if there are some extreme bright parts in the output image which makes the whole image too dark.
|
55 | 55 |
|
56 |
| -- fulls: (Default: True for RGB/YCoCg input, False for YUV/Gray input) |
| 56 | +- fulls: (Default: True for RGB/YCoCg input, False for YUV/Gray input)<br /> |
57 | 57 | Determine the value range of input clip. True means full range/PC range, and False means limited range/TV range.
|
58 | 58 |
|
59 |
| -- fulld: (Default: fulls) |
| 59 | +- fulld: (Default: fulls)<br /> |
60 | 60 | Determine the value range of output clip. True means full range/PC range, and False means limited range/TV range.<br />
|
61 | 61 | Set different value for fulls and fulld will result in range conversion.<br />
|
62 | 62 | When fulls and fulld are the same, it is safe to assign either True or False for any kinds of input clip except YUV. When fulls=False it will automatically determine the Floor and Ceil of input image, which may produce a stronger filter result under some circumstances.
|
|
0 commit comments