コード例 #1
0
from icy.main import Icy

seq = Icy.getMainInterface().getFocusedSequence()

if seq != None:
    Icy.addSequence(seq.getCopy())
コード例 #2
0
ファイル: test.py プロジェクト: imcf/imcf-toolbox
from icy.main import Icy
from plugins.ylemontag.histogram import Histogram

seq = Icy.getMainInterface().getFocusedSequence()

#print dir(seq)
hist = Histogram.compute(seq, 16, 0, 15);
print dir(hist)
for ibin in xrange(hist.getNbBins()):
	bin = hist.getBin(ibin)
	# print dir(bin)
	val = bin.getCentralValue()
	count = bin.getCount()
	print("%i: %i" % (val, count)) 

print "--------------------------------"
# print seq.name
# rois = seq.getROIs()
# for roi in rois:
# 	print dir(roi)
コード例 #3
0
from icy.main import Icy

seq = Icy.getMainInterface().getFocusedSequence()

if seq != None:
	Icy.addSequence(seq.getCopy())