I'm trying to design a line detector in opencv, and to do that, I need to get the Gaussian matrix with variance σs
.
The final formula should be
H=Gσs∗(Gσd')T
, and H
is the detector that I'm going to create, but I have no idea how am I supposed to create the matrix with the variance and furthermore calculate H
finally.
Update
This is the full formula.where “T” is the transpose operation.Gσd'
is the first-order derivative of a 1-D Gaussian function Gσd
with varianceσd in this direction
****Update****
These are the two formulas that I want, I need H
for further use so please tell me how to generate the matrix. thx!