Differences between revisions 8 and 13 (spanning 5 versions)
Revision 8 as of 2008-01-11 20:22:03
Size: 162
Comment:
Revision 13 as of 2008-01-11 20:52:24
Size: 988
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
EMAN2 includes a good selection of test images. They come in many shapes and forms, from simple gradients and shapes to basic noise models. To create a testimage start by running e2.py, and creating an empty image that is appropriately, for example as follows:

{{{

#] e2.py

Welcome to EMAN2
Prompt provided by IPython
Enter '?' for ipython help

In [3]: e = EMData()

In [4]: e.set_size(256,256)

}}}

Then issue of the command embedded below in the table to generate the pixel values
Line 2: Line 20:
||{{{ e.process_inplace("testimage.gradient")}}}||{{{ e.process_inplace("testimage.gradient", {'axis','y'}) }}}||
Line 3: Line 22:
||{{{ e.process_inplace("testimage.axes")}}}||{{{ e.process_inplace("testimage.circlesphere") }}}||
Line 4: Line 24:
||{{{ e.process_inplace("testimage.scurve")}}}||{{{ e.process_inplace("testimage.noise.gauss") }}}||

EMAN2 includes a good selection of test images. They come in many shapes and forms, from simple gradients and shapes to basic noise models. To create a testimage start by running e2.py, and creating an empty image that is appropriately, for example as follows:

#] e2.py

Welcome to EMAN2
Prompt provided by IPython
Enter '?' for ipython help

In [3]: e = EMData()

In [4]: e.set_size(256,256)

Then issue of the command embedded below in the table to generate the pixel values

attachment:xcoord.png

attachment:ycoord.png

 e.process_inplace("testimage.gradient")

 e.process_inplace("testimage.gradient", {'axis','y'}) 

attachment:axes.png

attachment:circle.png

 e.process_inplace("testimage.axes")

 e.process_inplace("testimage.circlesphere") 

attachment:scurve.png

attachment:gaussnoise_large.png

 e.process_inplace("testimage.scurve")

 e.process_inplace("testimage.noise.gauss") 

EMAN2/Galleries/Testimages (last edited 2009-04-11 00:48:59 by DavidWoolford)