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

Uploaded Source

Built Distribution

scatter_downsample-0.2.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scatter_downsample-0.2.0.tar.gz
  • Upload date:
  • Size: 5.9 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.2.0.tar.gz
Algorithm Hash digest
SHA256 a695e4e9954a717558ebf862817ab4d23e3a22827df83c03e28c366ad24490bd
MD5 2a7ff571978b669e561e044a0aaaed2a
BLAKE2b-256 683cad196ce84e22a02894aa56da21a5f37fbf0430865efdeb7adaf1e31f98ac

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scatter_downsample-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.7 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d842943769881f45211747bc42ee9d4cbd7683f05cd2b2fdf54293bacd805e83
MD5 83960fae6fbb451f3c813cb57d32d225
BLAKE2b-256 1a6820a3f49096f8bfb3b5d3b8f3f4f954cd873eb932611fcc6e14681635ce03

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