# ImageTileProcessor
This is a in-house package to deal with lazy tiled image tile loading to save RAM and various methods to post process tiled outpus.
## Installation
```sh
poetry install
```
or
```sh
pip install ImageTileProcessor
```
## Usage
There are several command line tools that can be used to process tiled images (and their processed results).
```sh
merge-peaks
merge-polygons
tile-2d-image
```
And if you just want to fetch the raw pixel data from a tile, you can use the following function:
```python
from imagetileprocessor import slice_and_crop_image
slice_and_crop_image(
image_p, x_min, x_max, y_min, y_max, zs, channel, resolution_level
)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/BioinfoTongLI/ImageTileProcessor",
"name": "ImageTileProcessor",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.11,>=3.8",
"maintainer_email": null,
"keywords": "image, tiles, processing",
"author": "Tong Li",
"author_email": "tl10@sanger.ac.uk",
"download_url": "https://files.pythonhosted.org/packages/14/90/c26007bf36224da067e912f3ff87bb263b1285cf73e1aac93ce436411d0d/imagetileprocessor-0.1.6.tar.gz",
"platform": null,
"description": "# ImageTileProcessor\n\nThis is a in-house package to deal with lazy tiled image tile loading to save RAM and various methods to post process tiled outpus.\n\n## Installation\n\n```sh\npoetry install\n```\nor\n```sh\npip install ImageTileProcessor\n```\n## Usage\nThere are several command line tools that can be used to process tiled images (and their processed results).\n```sh\nmerge-peaks\n\nmerge-polygons\n\ntile-2d-image\n```\n\nAnd if you just want to fetch the raw pixel data from a tile, you can use the following function:\n```python\nfrom imagetileprocessor import slice_and_crop_image\nslice_and_crop_image(\n image_p, x_min, x_max, y_min, y_max, zs, channel, resolution_level\n)\n```",
"bugtrack_url": null,
"license": "MIT",
"summary": "This is a in-house package to deal with lazy tiled image tile loading to save RAM and various methods to post process tiled outpus s",
"version": "0.1.6",
"project_urls": {
"Homepage": "https://github.com/BioinfoTongLI/ImageTileProcessor",
"Repository": "https://github.com/BioinfoTongLI/ImageTileProcessor"
},
"split_keywords": [
"image",
" tiles",
" processing"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "38a6b94889b0b0ee5ce444a2731893639bdbda519ccbe0afc37d5649f3976393",
"md5": "8047fdd2a91e6eaaa71e4eaa0eb01300",
"sha256": "a1cb5664baf27a9e91978d47747710c1532cf8ae9b2a8d372391c9c750d0ee2e"
},
"downloads": -1,
"filename": "imagetileprocessor-0.1.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8047fdd2a91e6eaaa71e4eaa0eb01300",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.11,>=3.8",
"size": 8350,
"upload_time": "2025-03-14T21:44:45",
"upload_time_iso_8601": "2025-03-14T21:44:45.823280Z",
"url": "https://files.pythonhosted.org/packages/38/a6/b94889b0b0ee5ce444a2731893639bdbda519ccbe0afc37d5649f3976393/imagetileprocessor-0.1.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1490c26007bf36224da067e912f3ff87bb263b1285cf73e1aac93ce436411d0d",
"md5": "9484393e83dd15b12bf7e2a2ab4dca76",
"sha256": "1528970e7026236f43835b8a6e93b2ed8fcf2fff10d469bbb5ab1645283493f5"
},
"downloads": -1,
"filename": "imagetileprocessor-0.1.6.tar.gz",
"has_sig": false,
"md5_digest": "9484393e83dd15b12bf7e2a2ab4dca76",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.11,>=3.8",
"size": 6144,
"upload_time": "2025-03-14T21:44:46",
"upload_time_iso_8601": "2025-03-14T21:44:46.988122Z",
"url": "https://files.pythonhosted.org/packages/14/90/c26007bf36224da067e912f3ff87bb263b1285cf73e1aac93ce436411d0d/imagetileprocessor-0.1.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-03-14 21:44:46",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "BioinfoTongLI",
"github_project": "ImageTileProcessor",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "imagetileprocessor"
}