This commit is contained in:
32
script/test/TSTIMGSIM3.py
Normal file
32
script/test/TSTIMGSIM3.py
Normal file
@@ -0,0 +1,32 @@
|
||||
import traceback
|
||||
run ("imaging/sim")
|
||||
|
||||
show=True
|
||||
|
||||
|
||||
|
||||
stack = load_test_stack(show=False)
|
||||
shifts= load_shifts("{images}/TestObjAligner/shifts.mat")
|
||||
|
||||
|
||||
if show:
|
||||
ret.show()
|
||||
ret.updateAndDraw()
|
||||
#stack = load_test_stack(show=True)
|
||||
#get_context().getPluginManager().loadInitializePlugin("Align_TranslationFilter.java")
|
||||
#translation_filter = get_context().getClassByName("Align_TranslationFilter").newInstance()
|
||||
#shifts= load_shifts("{images}/TestObjAligner/shifts.mat")
|
||||
|
||||
"""
|
||||
translation_filter.shifts = shifts
|
||||
pfr = PlugInFilterRunner(translation_filter, "", "" )
|
||||
ret = translation_filter.output
|
||||
if show:
|
||||
ret.show()
|
||||
ret.updateAndDraw()
|
||||
#stack = load_test_stack(show=False)
|
||||
#r=translate(stack, shifts, True, java_code=True)
|
||||
"""
|
||||
|
||||
|
||||
#translate(stack, shifts, show=True, java_code=True)
|
||||
Reference in New Issue
Block a user