Skip to content

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

License

Notifications You must be signed in to change notification settings

BioinfoTongLI/ImageTileProcessor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

poetry install

or

pip install ImageTileProcessor

Usage

There are several command line tools that can be used to process tiled images (and their processed results).

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:

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
)

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages