15.12.2012 Views

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SciPy Reference Guide, Release 0.8.dev<br />

zoom(input, zoom, output_type=None, output=None, order=3, mode=’constant’, cval=0.0, prefilter=True)<br />

Zoom an array.<br />

The array is zoomed using spline interpolation of the requested order. Points outside the boundaries of the input<br />

are filled according to the given mode. The parameter prefilter determines if the input is pre- filtered before<br />

interpolation, if False it is assumed that the input is already filtered.<br />

3.10.4 Measurements <strong>scipy</strong>.ndimage.measurements<br />

center_of_mass(input[, labels,<br />

index])<br />

Calculate the center of mass of of the array.<br />

extrema(input[, labels, index]) Calculate the minimum, the maximum and their positions of the<br />

values of the array.<br />

find_objects(input[, max_label]) Find objects in a labeled array.<br />

histogram(input, min, max, bins[,<br />

labels, index])<br />

Calculate a histogram of of the array.<br />

label(input[, structure, output]) Label features in an array.<br />

maximum(input[, labels, index]) Return the maximum input value.<br />

maximum_position(input[, labels,<br />

index])<br />

Find the position of the maximum of the values of the array.<br />

mean(input[, labels, index]) Calculate the mean of the values of the array.<br />

minimum(input[, labels, index]) Calculate the minimum of the values of the array.<br />

minimum_position(input[, labels,<br />

index])<br />

Find the position of the minimum of the values of the array.<br />

standard_deviation(input[, labels,<br />

index])<br />

Calculate the standard deviation of the values of the array.<br />

sum(input[, labels, index]) Calculate the sum of the values of the array.<br />

variance(input[, labels, index]) Calculate the variance of the values of the array.<br />

watershed_ift(input, markers[, Apply watershed from markers using a iterative forest transform<br />

structure, ...])<br />

algorithm.<br />

center_of_mass(input, labels=None, index=None)<br />

Calculate the center of mass of of the array.<br />

The index parameter is a single label number or a sequence of label numbers of the objects to be measured. If<br />

index is None, all values are used where labels is larger than zero.<br />

extrema(input, labels=None, index=None)<br />

Calculate the minimum, the maximum and their positions of the<br />

values of the array.<br />

The index parameter is a single label number or a sequence of label numbers of the objects to be measured. If<br />

index is None, all values are used where labels is larger than zero.<br />

find_objects(input, max_label=0)<br />

Find objects in a labeled array.<br />

The input must be an array with labeled objects. A list of slices into the array is returned that contain the objects.<br />

The list represents a sequence of the numbered objects. If a number is missing, None is returned instead of a<br />

slice. If max_label > 0, it gives the largest object number that is searched for, otherwise all are returned.<br />

histogram(input, min, max, bins, labels=None, index=None)<br />

Calculate a histogram of of the array.<br />

The histogram is defined by its minimum and maximum value and the number of bins.<br />

3.10. Multi-dimensional image processing (<strong>scipy</strong>.ndimage) 283

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!