| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
base.parameterizedobject.ParameterizedObject --+
|
base.patterngenerator.PatternGenerator --+
|
GenericImage --+
|
FileImage
2D Image generator that reads the image from a file.
The image at the supplied filename is converted to grayscale if it is not already a grayscale image. See PIL's Image class for details of supported image file formats.
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
filename = Filename(default= 'examples/ellen_arthur.pgm', precFile path (can be relative to Topographica's base path) to a bitmap image. |
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Create the last_filename and last_wiof attributes, used to hold the last filename and last whole_image_output_function. This allows reloading an existing image to be avoided. |
Get a new image, if necessary. If necessary as indicated by the parameters, get a new image, assign it to self._image and return True. If no new image is needed, return False.
|
|
|||
filenameFile path (can be relative to Topographica's base path) to a bitmap image. The image can be in any format accepted by PIL, e.g. PNG, JPG, TIFF, or PGM.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu Feb 21 15:25:07 2008 | http://epydoc.sourceforge.net |