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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: scatter_downsample-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 4fb8f7168e10acb1e30099296884b7dc673678f1e21401acd2cb5b744425b0c2
MD5 54bff0a90a1562f408edfa2a561a6990
BLAKE2b-256 1a9a5157634ff159ca210e8385fc0f5d0ca54730dd6971429f0e75b47b358918

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scatter_downsample-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f12fb14e7426f7ed7c429fb3c09a3d4f9e96fd4be37bafc605fd8e82f6ff8385
MD5 e2ebfeab3d8f18338b72947ab85bd590
BLAKE2b-256 8a60700a6f560301684a022a003d3a8d08cafaa559fe9d939feb13abea31ea38

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