Table Of Contents

Previous topic

CTF overlay

Next topic

Lattice overlay

Gauss2DOverlay

Example

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)

Python interface

class iplt.gui.Gauss2DOverlay((object)arg1, (ParamsGauss2D)arg2)
__init__((object)arg1, (ParamsGauss2D)arg2) → None :
C++ signature :
void __init__(_object*,iplt::alg::ParamsGauss2D)

C++ interface