Commit 1e6cce33 authored by Niels-Oliver Walkowski's avatar Niels-Oliver Walkowski
Browse files

add README

parent d1b17507
# Itten
Itten
=====
Itten is a python library to analyse and visualize color dynamics within moving
image files or frames that were extracted from moving image files.
ToDo
====
[] `MultivariatePlot` muss noch auf die selbe Simplizität wie `UnivariatePlot`
umgestellt werden
[] Bisher funktioniert nur der LightDark Contrast, andere Kontraste
implementieren
let SessionLoad = 1
let s:so_save = &so | let s:siso_save = &siso | set so=0 siso=0
let v:this_session=expand("<sfile>:p")
silent only
cd ~/Research/Projects/Cinemetrics/Itten
if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
let s:wipebuf = bufnr('%')
endif
set shortmess=aoO
badd +60 testing/ittennb.py
badd +17 itten/movie.py
badd +25 itten/contrasts.py
badd +16 itten/helpers.py
badd +1023 term://.//20282:/usr/bin/zsh\ ;\#neoterm-1
argglobal
silent! argdel *
edit testing/ittennb.py
set splitbelow splitright
wincmd t
set winheight=1 winwidth=1
argglobal
setlocal fdm=manual
setlocal fde=0
setlocal fmr={{{,}}}
setlocal fdi=#
setlocal fdl=0
setlocal fml=1
setlocal fdn=20
setlocal fen
silent! normal! zE
let s:l = 1 - ((0 * winheight(0) + 34) / 68)
if s:l < 1 | let s:l = 1 | endif
exe s:l
normal! zt
1
normal! 0
tabnext 1
if exists('s:wipebuf') && getbufvar(s:wipebuf, '&buftype') isnot# 'terminal'
silent exe 'bwipe ' . s:wipebuf
endif
unlet! s:wipebuf
set winheight=1 winwidth=20 shortmess=filnxtToO
let s:sx = expand("<sfile>:p:r")."x.vim"
if file_readable(s:sx)
exe "source " . fnameescape(s:sx)
endif
let &so = s:so_save | let &siso = s:siso_save
let g:this_session = v:this_session
let g:this_obsession = v:this_session
let g:this_obsession_status = 2
doautoall SessionLoadPost
unlet SessionLoad
" vim: set ft=vim :
......@@ -2,12 +2,12 @@ from itten.movie import Movie
from itten.views import UnivariateSequence
from itten.visuals import UnivariatePlot
movie = Movie(prefix='rec_', folder='../DHd-2017/Data/Frames/Rec/')
movie = Movie(prefix='rec_', folder='../DHd-2017/Data/Frames/Rec/', end=1100)
cont = UnivariateSequence(movie._frames)
cont.seqmean(frm_stp=100)
cont.seqmean(frm_stp=2)
viz = UnivariatePlot(cont)
viz.plot(cont)
cont.seqmad(frm_stp=100)
cont.seqmad(frm_stp=2)
viz.plot(cont)
viz.saveplt()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment