pimpy.image – Image Media Module

image – Image Object

features – Features

feature – Abstract Feature Class

pimpy.image.feature : abstract feature class object

Platforms: Unix, Mac, Windows

Module author: Sebastien Campion <sebastien.campion@inria.fr>

class pimpy.image.features.feature.Feature(**kwargs)

This base class describes an feature about image :param kwargs: an optional dict

The constructor sets instance attributes from kwargs

Class attributes:
 
  • name
    The name of the feature
  • description
    The description of the feature
get(image)

get the feature descriptor of the image

Parameter:image – image object
Type:pimpy.image.image

histogram – Histogram

pimpy.image.features.histogram : image histogram

Platforms: Unix, Mac, Windows

Module author: Sebastien Campion <sebastien.campion@inria.fr>

class pimpy.image.features.histogram.HistogramGray(**kwargs)

An histogram Gray image descriptor

get(image, bins=256)

get histogram for RGBA color channel

Return type:list of tuple (histo,bin_edges) for r,g,b,a channels
class pimpy.image.features.histogram.HistogramRGB(**kwargs)

An histogram image descriptor

get(image, bins=256)

get histogram for RGBA color channel

Return type:list of tuple (histo,bin_edges) for r,g,b,a channels
class pimpy.image.features.histogram.HistogramSampled4dRGBA(**kwargs)

An histogram sampled image descriptor

get(image)

bindct – BinDCT

pimpy.image.features.bindct enable to compute a binary dct

Platforms: Unix, Mac, Windows

Module author: Sebastien Campion <sebastien.campion@inria.fr>

class pimpy.image.features.bindct.BinDCT(**kwargs)

A binary DCT image descriptor

Parameter:name (int) – sigsize input signature size default 64
get(image)

return dct descriptor

Return type:numpy.array

gist – GIST

pimpy.image.features.gist : image gist using http://pypi.python.org/pypi/pyleargist/

Platforms: Unix, Mac, Windows

Module author: Sebastien Campion <sebastien.campion@inria.fr>

class pimpy.image.features.gist.GIST(**kwargs)

An gist image descriptor using pyleargist. See alsohttp://pypi.python.org/pypi/pyleargist/

get(image)

get gist descriptor

Return type:list of tuple (histo,bin_edges)

surf – SURF

sift – SIFT

goodfeaturestotrack – GoodFeaturesToTrack