Official Imaging Science Plugin

This plugin is installed alongside imagepypelines by default

Developed by: Jeff Maggio and Ryan Hartzell

Status: Alpha

Version: 0.1.0

Licence: MIT

Find it on: Github, (todo)pypi

imagepypelines_image Package

Functions

carlenna([img_name])

standard image retrieval for carlenna

crowd([img_name])

standard image retrieval for crowd

gecko([img_name])

standard image retrieval for gecko

get_standard_image(img_name)

retrieves the numpy array of standard image given a string key

giza([img_name])

standard image retrieval for giza

linear([img_name])

standard image retrieval for linear

panda([img_name])

standard image retrieval for panda

pig([img_name])

standard image retrieval for pig

redhat([img_name])

standard image retrieval for redhat

sparse_checkerboard([img_name])

standard image retrieval for sparse_checkerboard

standard_image_filenames()

returns a list of standard image filenames on the local machine

standard_image_gen()

generator function to yield all standard images sequentially useful for testing

standard_images()

returns a list of all standard image arrays

Classes

BaseChannelMerger([order])

combines independent channels into one Image

CastTo(cast_type)

casts arrays to a given numpy dtypes

Centroid([order])

Retrieves the central pixel in the image, rounds down to integer if an image dimension has an odd length

ChannelSplit([order])

splits images into separate component channels

CompareView([pause_for, close_fig, order])

Image Viewer that uses matplotlib internally to compare 2 images.

Dimensions([channels_none_if_2d, order])

Retrieves the dimensions of the image, including number of channels.

DisplaySafe()

normalizes to [0,255] and bins to a displayable bitdepth

FrameSize([order])

Retrieves the size of the image frame

ImageFFT([order])

Performs an FFT on each Image channel independently

ImageIFFT([order])

Performs an IFFT on each Image channel independently

Merger3

alias of abc.ChannelMerge3

Merger4

alias of abc.ChannelMerge4

MergerFactory

Norm01([cast_type])

normalizes to [0,1] and then casts to given cast_type

NormAB(a, b[, cast_type])

normalizes to range [a,b] and then casts to given cast_type

NormDtype([cast_type])

normalizes to [dtype_min, dtype_max] and then casts to given cast_type

NumberImage([start_at, order])

Numbers incoming images.

QuickView([pause_for, close_fig, order])

RGBAMerger

alias of abc.ChannelMerge4

RGBMerger

alias of abc.ChannelMerge3

Resize([h, w, scale_h, scale_w, interp])

splits images into separate component channels

SequenceViewer([pause_for, order])

Display the given images.

Squeeze()

Removes single dimension axes from the array

Unsqueeze(axis)

Adds single dimension to array at specified position

Class Inheritance Diagram

Inheritance diagram of imagepypelines_image.blocks.BaseChannelMerger, imagepypelines_image.blocks.CastTo, imagepypelines_image.blocks.Centroid, imagepypelines_image.blocks.ChannelSplit, imagepypelines_image.blocks.CompareView, imagepypelines_image.blocks.Dimensions, imagepypelines_image.blocks.DisplaySafe, imagepypelines_image.blocks.FrameSize, imagepypelines_image.blocks.ImageFFT, imagepypelines_image.blocks.ImageIFFT, imagepypelines_image.blocks.MergerFactory, imagepypelines_image.blocks.Norm01, imagepypelines_image.blocks.NormAB, imagepypelines_image.blocks.NormDtype, imagepypelines_image.blocks.NumberImage, imagepypelines_image.blocks.QuickView, imagepypelines_image.Resize.Resize, imagepypelines_image.blocks.SequenceViewer, imagepypelines_image.blocks.Squeeze, imagepypelines_image.blocks.Unsqueeze