Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump albumentations from 1.4.13 to 1.4.14 (#600)
Bumps [albumentations](https://github.com/albumentations-team/albumentations) from 1.4.13 to 1.4.14. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/albumentations-team/albumentations/releases">albumentations's releases</a>.</em></p> <blockquote> <h2>Albumentations 1.4.14 Release Notes</h2> <ul> <li>Support Our Work</li> <li>Transforms</li> <li>Improvements and Bug Fixes</li> </ul> <h2>Support Our Work</h2> <ol> <li><strong>Love the library?</strong> You can contribute to its development by becoming a <a href="https://github.com/sponsors/albumentations-team">sponsor for the library</a>. Your support is invaluable, and every contribution makes a difference.</li> <li><strong>Haven't starred our repo yet?</strong> Show your support with a ⭐! It's just <a href="https://github.com/albumentations-team/albumentations">only one mouse click away</a>.</li> <li><strong>Got ideas or facing issues?</strong> We'd love to hear from you. Share your thoughts in our <a href="https://github.com/albumentations-team/albumentations/issues">issues</a> or join the conversation on our <a href="https://discord.gg/AmMnDBdzYs">Discord server</a></li> </ol> <h2>Transforms</h2> <h3>Added <code>GridElasticDeform</code> transform</h3> <p><img src="https://github.com/user-attachments/assets/574c0b71-33cd-4b8b-a3c3-808326eddd2f" alt="image" /></p> <pre lang="python"><code>Grid-based Elastic deformation Albumentation implementation <p>This class applies elastic transformations using a grid-based approach. The granularity and intensity of the distortions can be controlled using the dimensions of the overlaying distortion grid and the magnitude parameter. Larger grid sizes result in finer, less severe distortions.</p> <p>Args: num_grid_xy (tuple[int, int]): Number of grid cells along the width and height. Specified as (grid_width, grid_height). Each value must be greater than 1. magnitude (int): Maximum pixel-wise displacement for distortion. Must be greater than 0. interpolation (int): Interpolation method to be used for the image transformation. Default: cv2.INTER_LINEAR mask_interpolation (int): Interpolation method to be used for mask transformation. Default: cv2.INTER_NEAREST p (float): Probability of applying the transform. Default: 1.0.</p> <p>Targets: image, mask</p> <p>Image types: uint8, float32</p> <p>Example: >>> transform = GridElasticDeform(num_grid_xy=(4, 4), magnitude=10, p=1.0) >>> result = transform(image=image, mask=mask) >>> transformed_image, transformed_mask = result['image'], result['mask']</p> <p>Note: This transformation is particularly useful for data augmentation in medical imaging and other domains where elastic deformations can simulate realistic variations. </code></pre></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/albumentations-team/albumentations/commit/fa2a6d1acb00ed7ccd4d9abf5beffc7aaa878341"><code>fa2a6d1</code></a> Boost version to 1.4.14 (<a href="https://redirect.github.com/albumentations-team/albumentations/issues/1887">#1887</a>)</li> <li><a href="https://github.com/albumentations-team/albumentations/commit/7da112ee87e765092bd7ba0b647619054ac084a4"><code>7da112e</code></a> Fix in Affine fit_output (<a href="https://redirect.github.com/albumentations-team/albumentations/issues/1886">#1886</a>)</li> <li><a href="https://github.com/albumentations-team/albumentations/commit/f99d91add2926628d797ba021c12e5caaff3f7be"><code>f99d91a</code></a> Fix keypoint reflection in pad if needed (<a href="https://redirect.github.com/albumentations-team/albumentations/issues/1885">#1885</a>)</li> <li><a href="https://github.com/albumentations-team/albumentations/commit/5a2abd42144dcb791599260a15ed7ffd7c08529c"><code>5a2abd4</code></a> Updated ruff and cleaned rules (<a href="https://redirect.github.com/albumentations-team/albumentations/issues/1884">#1884</a>)</li> <li><a href="https://github.com/albumentations-team/albumentations/commit/bee3a75a13dcc3fdc78bb7588cec2bfc9ff2c5de"><code>bee3a75</code></a> Refactored Random Shadow (<a href="https://redirect.github.com/albumentations-team/albumentations/issues/1883">#1883</a>)</li> <li><a href="https://github.com/albumentations-team/albumentations/commit/d384b67da1fbad98d908bb447c84cf58b9b53aca"><code>d384b67</code></a> Make shadow_intensity modifiable (<a href="https://redirect.github.com/albumentations-team/albumentations/issues/1880">#1880</a>) (<a href="https://redirect.github.com/albumentations-team/albumentations/issues/1882">#1882</a>)</li> <li><a href="https://github.com/albumentations-team/albumentations/commit/12f5801973b6a93aeb04199c169dd661cbd7304d"><code>12f5801</code></a> Refactor grid elastic distortions (<a href="https://redirect.github.com/albumentations-team/albumentations/issues/1881">#1881</a>)</li> <li><a href="https://github.com/albumentations-team/albumentations/commit/3a2c7c811725442cb019eb1187dc8e9abd54ef4b"><code>3a2c7c8</code></a> Grid based Elastic Distortions (refs: albumentations-team/albumentati… (<a href="https://redirect.github.com/albumentations-team/albumentations/issues/1866">#1866</a>)</li> <li><a href="https://github.com/albumentations-team/albumentations/commit/0f32475e071f98e3984e8632ea18a52f5d42716f"><code>0f32475</code></a> Add multichannel support to RandomShadow (<a href="https://redirect.github.com/albumentations-team/albumentations/issues/1735">#1735</a>) (<a href="https://redirect.github.com/albumentations-team/albumentations/issues/1879">#1879</a>)</li> <li><a href="https://github.com/albumentations-team/albumentations/commit/39fce40c70ea2ef94579522ee81fc407c44bed95"><code>39fce40</code></a> Added reflection padding for bounding boxes (<a href="https://redirect.github.com/albumentations-team/albumentations/issues/1877">#1877</a>)</li> <li>Additional commits viewable in <a href="https://github.com/albumentations-team/albumentations/compare/1.4.13...1.4.14">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
- Loading branch information