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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: scatter_downsample-0.0.18.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.0.18.tar.gz
Algorithm Hash digest
SHA256 f873aefc379411d15216e7d1a997faabbdd491a041f7225ebd235153c333eb2f
MD5 a7a758b35ef02315200984acf5a70737
BLAKE2b-256 454ba6dece49a693fa36d935952ad8210fd7a110d9ebb4c65382e05fe3db8503

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scatter_downsample-0.0.18-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.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 716d6fae74d0cedb15549b6cda4e35c38e705f9331dc58c28e94d9b65f5a6a4e
MD5 5084b4370616d3a143d57f9ff62360a4
BLAKE2b-256 2b6a573b4988e323a46c236b080a11a1eacfe24b200fe480784128663119ed16

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