bootstrap.py 527 Bytes
Newer Older
1
from itten.movie import Movie
2
from itten.views import UnivariateSequence
3
from itten.visuals import UnivariatePlot
4

5
movie = Movie(prefix='rec_', folder='../DHd-2017/Data/Frames/Rec/')
6
7
movie._frames.start = 367
movie._frames.end = 784
8
9
cont = UnivariateSequence(movie._frames,)
cont.seqmean(frm_stp=3, ctrst='saturation')
10
viz = UnivariatePlot(cont)
11
viz.plot(cont, mark_gt=140)
12
cont.seqper(frm_stp=3, ctrst='saturation', perc=50)
13
viz.plot(cont)
14
viz.saveplt('Percentile Test')
15

16
17
# viz = MultivariatePlot()
# fig, ax = viz.plot(cont)