2209807ce8db8fe82eabbe6ca51e6370beea2934,kornia/feature/laf.py,,denormalize_laf,#Any#Any#,179
Before Change
- Input: :math:`(B, N, 2, 3)`
- Output: :math:`(B, N, 2, 3)`
n_dims = len(LAF.size())
if (n_dims != 4):
raise TypeError(
"LAF shape should be must be [Nx2x3] or [BxNx2x3]. "
"Got {}".format(LAF.size())
)
n, ch, h, w = images.size()
w = float(w)
h = float(h)
min_size = min(h, w)
After Change
- Input: :math:`(B, N, 2, 3)`
- Output: :math:`(B, N, 2, 3)`
raise_error_if_laf_is_not_valid(LAF)
n, ch, h, w = images.size()
w = float(w)
h = float(h)
min_size = min(h, w)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 10
Instances Project Name: arraiy/torchgeometry
Commit Name: 2209807ce8db8fe82eabbe6ca51e6370beea2934
Time: 2019-10-01
Author: ducha.aiki@gmail.com
File Name: kornia/feature/laf.py
Class Name:
Method Name: denormalize_laf
Project Name: arraiy/torchgeometry
Commit Name: 2209807ce8db8fe82eabbe6ca51e6370beea2934
Time: 2019-10-01
Author: ducha.aiki@gmail.com
File Name: kornia/feature/laf.py
Class Name:
Method Name: laf_to_boundary_points
Project Name: arraiy/torchgeometry
Commit Name: 2209807ce8db8fe82eabbe6ca51e6370beea2934
Time: 2019-10-01
Author: ducha.aiki@gmail.com
File Name: kornia/feature/laf.py
Class Name:
Method Name: normalize_laf
Project Name: arraiy/torchgeometry
Commit Name: 2209807ce8db8fe82eabbe6ca51e6370beea2934
Time: 2019-10-01
Author: ducha.aiki@gmail.com
File Name: kornia/feature/laf.py
Class Name:
Method Name: generate_patch_grid_from_normalized_LAF