This repository was archived by the owner on Jul 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Repair
Reel-Deal edited this page Jul 20, 2014
·
1 revision
Repair (
clip,
clip,
int mode (1),
int modeU (mode),
int modeV (modeU),
bool planar (false)
)
Repairs artifacts generated by processing by applying a RemoveGrain-like treatment on the input clip to fix the output clip.
-
clip- Input clip; the processed clip to be repaired. -
clip- Input clip; the unprocessed clip used as reference. -
mode- The repairing mode. It can apply to all the planes or to the Y plane only, depending on the values ofmodeUandmodeV. The available ones are listed below. These modes are similar to theRemoveGrainmodes but include the center pixel of the reference clip for min/max calculation. -
modeU, modeV- Same asmodebut for U and V planes. If not defined, they use the same value asmode. IfmodeVis the only one not defined, it will default to the value ofmodeU. -
planar- Parameter to keep compatibility with the originalRepair. Its internal name is "skip colorspace check", which is exactly what it does - makes the plugin always assume the input to be planar.
| −1 | The plane is not touched at all and may contain garbage on output. |
| 0 | The plane is copied without being processed. |
| 1-4 | Clips the source pixel with the Nth minimum and maximum found on the 3×3-pixel square from the reference clip. |
| 5 | Line-sensitive clipping giving the minimal change. |
| 6-8 | Line-sensitive clipping, intermediate. |
| 9 | Line-sensitive clipping on a line where the neighbor pixels are the closest. |
| 10 | Replaces the target pixel with the closest pixel from the 3×3-pixel reference square. |
| 11-14 | Same as modes 1–4 but uses min(Nth_min, c) and max(Nth_max, c) for the clipping, where c is the value of the center pixel of the reference clip. |
| 15,16 | Clips the source pixels using a clipping pair from the RemoveGrain modes 5 and 6. |
| 17,18 | Clips the source pixels using a clipping pair from the RemoveGrain modes 17 and 18. |
| 19 | ??? |
| 20 | ??? |
| 21 | ??? |
| 22 | ??? |
| 23 | ??? |
| 24 | ??? |