-
-
Notifications
You must be signed in to change notification settings - Fork 943
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial commit for image api * implement normalize/denormalize * add more tests * add docs * remove normalize and polish api * add docs * polishing gray functionality * more polishing * implement onxx tests * rename ImageColor, and add contrib.io * image as non-tensor * magix functions * rename ImagePrompter to VisualPrompter * [pre-commit.ci] pre-commit suggestions (#2394) updates: - [github.com/charliermarsh/ruff-pre-commit: v0.0.269 → v0.0.270](astral-sh/ruff-pre-commit@v0.0.269...v0.0.270) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * remove artifacts * remove requirements * simplify base class * add TensorWrapper * fix docs generation * fix test * recover setup * more fixes * implement write * add docs * fix backend * fix backend * fix mypy * Fix write shape * apply code review * artifact * fix docstring * fix annotations * skip test because of dlpack * Update kornia/image/image.py Co-authored-by: Christie Jacob <christeejacobs@gmail.com> * simplify * fix doctest * fix doctest * fix doctest * fix build docs * iterate on the pixel format definition * Update kornia/image/base.py Co-authored-by: Christie Jacob <christeejacobs@gmail.com> * adjust test tolerance --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christie Jacob <christeejacobs@gmail.com>
- Loading branch information
1 parent
ebd402c
commit 34017fc
Showing
16 changed files
with
640 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
kornia.core | ||
=========== | ||
|
||
.. currentmodule:: kornia.core | ||
|
||
.. autoclass:: TensorWrapper | ||
:members: | ||
:undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
kornia.image | ||
============ | ||
|
||
Module to provide a high level API to process images. | ||
|
||
.. currentmodule:: kornia.image | ||
|
||
.. autoclass:: ImageSize | ||
:members: | ||
:undoc-members: | ||
|
||
.. autoclass:: PixelFormat | ||
:members: | ||
:undoc-members: | ||
|
||
.. autoclass:: ChannelsOrder | ||
:members: | ||
:undoc-members: | ||
|
||
.. autoclass:: ImageLayout | ||
:members: | ||
:undoc-members: | ||
|
||
.. autoclass:: Image | ||
:members: | ||
:undoc-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
from .base import ImageSize | ||
from .base import ChannelsOrder, ImageLayout, ImageSize, PixelFormat | ||
from .image import Image | ||
|
||
__all__ = ["ImageSize", "PixelFormat", "ChannelsOrder", "ImageLayout", "Image"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.