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

installed by: python -m unittest tests/testcase.py

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

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.1.7.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

scatter_downsample-0.1.7-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scatter_downsample-0.1.7.tar.gz
  • Upload date:
  • Size: 5.8 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.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

File hashes

Hashes for scatter_downsample-0.1.7.tar.gz
Algorithm Hash digest
SHA256 96a8516c1140aee594d1447e0a1c5ed7cbd8777edddf3acb4dc73cfe5cc6dddb
MD5 127c30b16da11534aaba2a812841ed6c
BLAKE2b-256 01a0c2084836e829ba68c5a221400962cc5a71d90315521ff56c698788c8ede6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scatter_downsample-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 11.6 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.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9

File hashes

Hashes for scatter_downsample-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 065f7fb4502b893c2c5f5f16102a454a4d797d1bfa6abe6911bac72cf244b26d
MD5 0a38944dee267051c5eff7e736121807
BLAKE2b-256 fd2e6f0bdab715a2a2d237f36ddc3cb17c8e911995cebc968ee01dae2486e5d4

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