Kornia v0.6.5 Release Notes

Release Date: 2022-05-16 // almost 2 years ago
  • :new: New Features

    • Create kornia.io and implement load_image with rust (#1701)
    • Implement diamond_square and plasma augmentations: RandomPlasmaBrightness, RandomPlasmaContrast, RandomPlasmaShadow (#1700)
    • ➕ Added RandomRGBShift augmentations (#1694)
    • ➕ Added STE gradient estimator (#1666)
    • More epipolar geometry metrics (+linalg utility) (#1674)
    • ➕ Add Lovasz-Hinge/Softmax losses (#1682)
    • Add adjust_sigmoid and adjust_log initial implementation (#1685)
    • ➕ Added distribution mapper (#1667)
    • pos_weight param to focal loss (#1744)

    🛠 :lady_beetle: Bug fixes

    • 🛠 Fixes filter2d's output shape shrink when padding='same' (#1661)
    • fix: added eps in geometry/rotmat_to_quaternion (#1665)
    • [fix] receive num_features as an arg to KeyNetDetector constructor (#1686

    :zap: Improvements

    • ➕ Add reduction option to MS_SSIMLoss (#1655)
    • Making epipolar metrics work with volumetric tensors (#1656)
    • Add get_safe_device util (#1662)
    • ➕ Added antialiasing option to Resize augmentation (#1687)
    • 👉 Use nearest neighbour interpolation for masks (#1630)
    • grayscale to rgb for torch.uint8 (#1705)
    • Add KORNIA_CHECK_SAME_DEVICES (#1775)

Previous changes from v0.6.4

  • :new: New Features

    • ➕ Adds MS-SSIMLoss reconstruction loss function (#1551)
    • ➕ Added HyNet descriptor (#1573)
    • ➕ Add KeyNet detector (#1574)
    • ➕ Add RandomPlanckianJitter in color augmentations (#1607)
    • ➕ Add Jina AI QAbot to Kornia documentation (#1628)
    • Add draw_convex_polygon (#1636)

    🛠 :lady_beetle: Bug fixes

    • RandomCrop fix and improvement (#1571)
    • 🛠 Fix draw_line produce wrong output for coordinates larger than uint8
    • 🛠 Fix mask bug for loftr (#1580)
    • 🛠 Fix gradient bug for distance_transform (#1584)
    • 🛠 Fix translation sampling in AffineGenerator3D (#1581)
    • 🛠 Fix AugmentationSequential bbox keypoints transformation fix (#1570)
    • 🛠 Fix CombineTensorPatches (#1558)
    • 🛠 Fix overblur in AA (#1612)

    :exclamation: Changes

    • 🗄 Deprecated return_transform, enabled 3D augmentations in AugmentionSequential (#1590)

    :zap: Improvements

    • Making compute_correspond_epilines work with fundamental and point of volumetric tensor (#1585)
    • ⚡️ Update batch shape when augmentations change size of image (#1609)
    • Remap accepts arbitrary grid size (#1617)
    • ✅ Rename variables named 'input' to 'sample' (in tests). (#1614)
    • ✂ Remove half log2 in extract_patches (#1616)
    • ➕ Add orientation-preserving option for AffNet and make it default (#1620)
    • ➕ Add option for sampling_method in 2d perspective transform generation (#1591) (#1592)
    • 🛠 Fix adjust brightness (#1586)
    • ➕ Added default params for laf construction from xy and new tensor shape check (#1633)
    • 👉 Make nms2d jittable (#1637)
    • ➕ Add fn to automatically compute padding (#1634)
    • ➕ Add pillow_like option for ColorJitter to match torchvision. (#1611)