Skip to main content

A module used for downsampling high resolution images using the scattering transform

Project description

Downsampling high resolution images using the scattering transform

Atlasing high resolution data

Scattering transform

visualization of imges

downsampling with multiple methods

Usage

ScatterDown(img,ndown2,filtered_std=2):

Input:

- img: input image
- ndown2: how many times to downsample by a factor of 2
- filtered_std: how many standard deviations maximum should not get filtered out (default 2)

Output:

- high dimensional image
- labels for each channel
- an example visualization that you save as a png file

Tests

  • a small (256,256,3) image to test for the shape of output image and labels

python -m unittest tests/testcase.py

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

scatter_downsample-0.0.4.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

scatter_downsample-0.0.4-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file scatter_downsample-0.0.4.tar.gz.

File metadata

  • Download URL: scatter_downsample-0.0.4.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

File hashes

Hashes for scatter_downsample-0.0.4.tar.gz
Algorithm Hash digest
SHA256 ff7f1ca6abf62a5fd38588259b2584cb23a48e4ed4420b8fb2e9f90d5940f49e
MD5 618fd759362d93fa540bd18300f6dd4a
BLAKE2b-256 495b931737a460ee0054e188e3ce951ee3dc1829c36f3d0060416b3894fda79e

See more details on using hashes here.

File details

Details for the file scatter_downsample-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: scatter_downsample-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

File hashes

Hashes for scatter_downsample-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 916b1abfbefb196d236450533cb308d97dd38c4f6dff781a152d88e1ff5fba65
MD5 f4464d25a6f3c22d122827a32e9e1c58
BLAKE2b-256 c52ddf3fa526930d117fdf4ba073c1ba8994cd3d7343031b0506d2eba2d499c6

See more details on using hashes here.

Supported by

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