Open qsisi opened 2 years ago
https://github.com/fabiopoiesi/dip/blob/6b72d5c370793d91efd3560c9f1819f731b34da4/lrf.py#L27 The ptnn is arranged like [3, N], so it should be 1 / ptnn.shape[1] instead of 1 / len(ptnn) ?
ptnn
1 / ptnn.shape[1]
1 / len(ptnn)
https://github.com/fabiopoiesi/dip/blob/6b72d5c370793d91efd3560c9f1819f731b34da4/lrf.py#L27 The
ptnn
is arranged like [3, N], so it should be1 / ptnn.shape[1]
instead of1 / len(ptnn)
?