| eLynx SDK
v3.0.1 C++ image processing API reference |
|
|
|
|
|
|
|
|
Process source image horizontal line
Point 1
|
|
|
|
|
|
|
|
|
|
Now we can can apply vertical kernel for whole image first line.
Point2
|
|
compute V = v0*T2,0 + v1*T2,1 + v2*T2,2 + v3*T2,3 + v4*T2,4
clamp V on demand and convert back to ubyte into original image
Compute P2,0, P3,0, P4,0 ....
|
First line is now computed into original image.
|
Process next lines
|
Compute new temp line like in Point 1 but reading for P0,3 and writing into buffer last line (Tx,H-1).
|
|
Process buffer with vertical kernel like in Point2 but destination is original image line P0,1
So we get:
|
Process next line the same reading from P0,4
|
|
|
For last halfH lines process identically except that we won't fill last buffer line from image source.
So after shifting last temp buffer line is duplicated. We get:
|
|
|