{"id":28481638,"url":"https://github.com/insightsoftwareconsortium/itkpytorch","last_synced_at":"2025-07-04T20:30:31.698Z","repository":{"id":79265108,"uuid":"280239086","full_name":"InsightSoftwareConsortium/ITKPyTorch","owner":"InsightSoftwareConsortium","description":"Implementations of ITK spatially-aware filters in PyTorch","archived":false,"fork":false,"pushed_at":"2024-09-07T17:41:11.000Z","size":64,"stargazers_count":3,"open_issues_count":7,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-26T04:25:29.958Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InsightSoftwareConsortium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-16T19:20:52.000Z","updated_at":"2025-06-17T07:20:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ef80ad9-ee75-4e9a-9a09-70273ba44dcc","html_url":"https://github.com/InsightSoftwareConsortium/ITKPyTorch","commit_stats":{"total_commits":14,"total_committers":4,"mean_commits":3.5,"dds":0.3571428571428571,"last_synced_commit":"5af60ee309dcd2b58d7bb2788eae93580b730fbf"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/InsightSoftwareConsortium/ITKPyTorch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsightSoftwareConsortium%2FITKPyTorch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsightSoftwareConsortium%2FITKPyTorch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsightSoftwareConsortium%2FITKPyTorch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsightSoftwareConsortium%2FITKPyTorch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InsightSoftwareConsortium","download_url":"https://codeload.github.com/InsightSoftwareConsortium/ITKPyTorch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsightSoftwareConsortium%2FITKPyTorch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263614372,"owners_count":23488905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-07T20:07:53.369Z","updated_at":"2025-07-04T20:30:31.689Z","avatar_url":"https://github.com/InsightSoftwareConsortium.png","language":"C++","readme":"# ITKPyTorch\n\n[ ![ Apache 2.0 License ](https://img.shields.io/badge/License-Apache%202.0-blue.svg) ](https://github.com/InsightSoftwareConsortium/ITKPyTorch/blob/master/LICENSE) [ ![ Build, test, package status ](https://github.com/InsightSoftwareConsortium/ITKPyTorch/workflows/Build,%20test,%20package/badge.svg) ](https://github.com/InsightSoftwareConsortium/ITKPyTorch/actions?query=workflow%3A%22Build%2C+test%2C+package%22)\n\n## Overview\n\nThis [ Insight Toolkit (ITK) ](https://itk.org/) module provides support for PyTorch Tensors as ITK Images.\n\n### Try it online\n\nWe will set up a demonstration of this using [ Binder ](www.mybinder.org) that anyone can try.  Click here: [ ![ Binder ](https://mybinder.org/badge_logo.svg) ](https://mybinder.org/v2/gh/InsightSoftwareConsortium/ITKPyTorch/master?filepath=examples%2FITKPyTorch.ipynb)\n\n### Technical description\n\nThe ITK `TorchImage\u003c TPixel, VImageDimension \u003e` templated class in C++ is a subclass of the corresponding ITK `Image\u003c TPixel, VImageDimension \u003e` templated class and supports the same pixel types (i.e., integers, real numbers, `RGBPixel`, `RGBAPixel`, `Vector`, and `CovariantVector`) and the same numbers of dimensions.  A `TorchImage` can be used in lieu of an `Image` in ITK pipelines but also can be used with filters and transformations that are specialized for `TorchImage` objects.  These specialized pipeline steps are executed on a CUDA GPU using the C++ `libTorch` interface.\n\nIt is intended that this module enable MONAI intergration.\n\n## Installation for Python\n[ ![ PyPI Version ](https://img.shields.io/pypi/v/itk-pytorch.svg) ](https://pypi.python.org/pypi/itk-pytorch)\n\n## Usage in Python\n\n### Functional interface to ITK\n\n### ITK pipeline interface\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsightsoftwareconsortium%2Fitkpytorch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finsightsoftwareconsortium%2Fitkpytorch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsightsoftwareconsortium%2Fitkpytorch/lists"}