Skip to main content

Image segmentation algorithm using Fast Delineation by RAndom Walker

Project description

# FastDRaW FastDRaW – Fast Delineation by Random

This software is under the MIT License. If you use this code in your research please cite the following paper:

H.-E. Gueziri, L. Lakhdar, M. J. McGuffin and C. Laporte “FastDRaW – Fast Delineation by Random Walker: application to large images”, MICCAI workshop on Interactive Medical Image Computing (IMIC), Athens, Greece, (2016).

@author Houssem-Eddine Gueziri

## Requirements:

FastDRaW requires the following packages

Or run

`shell sudo apt-get install build-essential python2.7-dev sudo pip install -r requirements.txt `

## Install:

From PyPI:

`shell sudo pip install FastDRaW ` From git repository:

`shell git clone https://github.com/hgueziri/FastDRaW-Segmentation.git cd FastDRaW-Segmentation sudo python setup.py install `

## Usage example:

`python >>> from FastDRaW import Segmenter >>> from skimage.data import coins >>> import matplotlib.pyplot as plt >>> image = coins() >>> labels = np.zeros_like(image) >>> labels[[129, 199], [155, 155]] = 1 # label some pixels as foreground >>> labels[[162, 224], [131, 184]] = 2 # label some pixels as background >>> fastdraw = Segmenter(image, beta=100, downsampled_size=[100,100]) >>> segm = fastdraw.update(labels) >>> plt.imshow(image,'gray') >>> plt.imshow(segm, alpha=0.7) `

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

FastDRaW-1.2.1.tar.gz (5.9 kB view details)

Uploaded Source

File details

Details for the file FastDRaW-1.2.1.tar.gz.

File metadata

  • Download URL: FastDRaW-1.2.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for FastDRaW-1.2.1.tar.gz
Algorithm Hash digest
SHA256 506fd7934e408af10947c6d41cbf3ff43a0348ed260e162f441730f3c31a5668
MD5 252fe6967cdb989eb24977dbd1a2d1e1
BLAKE2b-256 ecd07b23717ca51eeaa63e47c38b47f133d2d95fae524e309ae938daa9daa3e5

See more details on using hashes here.

Supported by

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