Template Library DiffM2

Name
DiffM2
OldNames
LinearTemplateInverse,
Description
Inverse of a linear template operation using dense support of input pixels [55]
Input Desc.
a linear template as well as two static gray scale images P1 (result of the linear template operation (see the test template above and its output) and P2. (masked version of the original image). P3 is a binary version of P2 providing the fixed state mask for CNN operation. P3 indicates the positions of supporting pixels where the interpolation is fixed.. The result of the inverse of a linear template operation is computed rapidly using masked diffusion even if the template cannot be inverted (linear template – convolution kernel - have zero Eigen values).
Output Desc.
Gray scale image containing the inverse of the B template operation (B=1-A).
Input
P1
Boundary
Fixed(0)
State
P2
FeedBack
0.00.00.0
0.00.00.0
0.00.00.0
Control
-0.03-0.1-0.02
0.00.5-0.2
-0.03-0.1-0.02
Current
0.0

Example

Input Image: LenaSCs.png ...
State Image: LenaSMask.png ...

Output ...