diff --git a/examples/img/spoke_pattern.py b/examples/img/spoke_pattern.py index 33a242c4709f67d90d96965155b72abb8e7fab3e..c0a43b0013bb3d91d8391b25ca84d8e96e0bbe0a 100644 --- a/examples/img/spoke_pattern.py +++ b/examples/img/spoke_pattern.py @@ -40,4 +40,6 @@ filter=ost.img.alg.GaussianLowPassFilter(threshold) image.ApplyIP(filter) # Viewer is launched to show the result -v=gui.CreateDataViewer(image) \ No newline at end of file +v=gui.CreateDataViewer(image) +main_area=gui.GostyApp.Instance().perspective.main_area +main_area.AddWidget("Modulated Image", v) \ No newline at end of file