Skip to content
Snippets Groups Projects
Select Git revision
  • 398542b3115920d90eae241ced81c6f0652cba97
  • master default protected
  • develop protected
  • cmake_boost_refactor
  • ubuntu_ci
  • mmtf
  • non-orthogonal-maps
  • no_boost_filesystem
  • data_viewer
  • 2.11.1
  • 2.11.0
  • 2.10.0
  • 2.9.3
  • 2.9.2
  • 2.9.1
  • 2.9.0
  • 2.8.0
  • 2.7.0
  • 2.6.1
  • 2.6.0
  • 2.6.0-rc4
  • 2.6.0-rc3
  • 2.6.0-rc2
  • 2.6.0-rc
  • 2.5.0
  • 2.5.0-rc2
  • 2.5.0-rc
  • 2.4.0
  • 2.4.0-rc2
29 results

immutable_info_handler.py

Blame
  • fft_li.py 366 B
    import sys
    import ost.img.alg
    if len(sys.argv)<2:
      images=io.LoadImageList(['square.png','circle.png'])  
    else:
      images=io.LoadImageList(sys.argv[1:])
    viewers=[]
    i=1
    main_area=gui.GostyApp.Instance().perspective.main_area
    for im in images:
       im.CenterSpatialOrigin()
       im.ApplyIP(img.alg.DFT()) 
       v=gui.CreateDataViewer(im,"Image")
       viewers.append(v)
       i+=1