Skip to main content

a package of image restoration by leo

Project description

# A package of image restoration by leo

There are three methods in our package, which are

# import the package

import image_restoration_tools.irt as irt

## 1. input the images dir and the dir path where enhanced images save

irt.restore_dir(imgdir, savedir, path_length=3, isJPEG=False, isBLUR=False)

## 2. input the image path and the path where the enhanced image save

irt.restore_path(imgpath, savepath, path_length=3, isJPEG=False, isBLUR=False)

## 3. input the image and the path where the enhanced image save

import image_restoration_tools.utils

img = utils.imread_uint(imgpath, 3)

irt.restore_image(img, savepath, path_length=3, isJPEG=False, isBLUR=False)

You can set enhancement path by set $path_length$, the smaller the value, the shorter the recovery time will be.

if the degrading process is known as JPEG/Gaussian BLUR, set $isJPEG/isBLUR$ true separately

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

image_restoration_tools-2.0.4.tar.gz (32.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

image_restoration_tools-2.0.4-py3-none-any.whl (65.7 MB view details)

Uploaded Python 3

File details

Details for the file image_restoration_tools-2.0.4.tar.gz.

File metadata

  • Download URL: image_restoration_tools-2.0.4.tar.gz
  • Upload date:
  • Size: 32.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.8

File hashes

Hashes for image_restoration_tools-2.0.4.tar.gz
Algorithm Hash digest
SHA256 d88ea35226bd94f51e7d51ea1cd68915d5af92bb3d4534c5938d3145abe55832
MD5 ea12c7c6a611cf3c57d33383af1ff142
BLAKE2b-256 5cd38863debdec74ad8674fe08fa196bb8721f52f78ae51b45eb295690dfa673

See more details on using hashes here.

File details

Details for the file image_restoration_tools-2.0.4-py3-none-any.whl.

File metadata

  • Download URL: image_restoration_tools-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 65.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.8

File hashes

Hashes for image_restoration_tools-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c0bd3012a756eff3498b89b2c724866e8f6c0d711bb548936fee22f1f92dad39
MD5 d855ceb9d77bfad51ca40caae55c05b4
BLAKE2b-256 a7c32550a84512cef150c8702d3cea4d1a4840e702632d413a37714073a4389f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page