Gauss2DOverlay
Example
This is the test script available under src/gui/tests/test_gauss2d_overlay.py:
import math img=CreateImage(Size(100,100),Point(0,0)) g2d=alg.ParamsGauss2D(1.0, 30.0,10.0, 0.0, 2.5,-11.0, math.radians(33.0), 0.0,0.0) fg2d=alg.FuncGauss2D(g2d) fg2d.SetExtent(img.GetExtent()) img.Paste(fg2d) go=gui.Gauss2DOverlay(g2d) v=Viewer(img) v.AddOverlay(go)
back to GUI Overview
Attachments
- gauss2d_overlay.jpg (16.5 kB) - added by ansgar on 06/26/07 18:53:20.

