Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Cittena
cittena
Commits
85207cb0
Commit
85207cb0
authored
Dec 09, 2016
by
Niels-Oliver Walkowski
Browse files
change frames to static class object
so that it is not accessible by the instance
parent
aa6fd3b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
itten/__pycache__/movie.cpython-35.pyc
View file @
85207cb0
No preview for this file type
itten/movie.py
View file @
85207cb0
...
...
@@ -11,10 +11,11 @@ from . import contrasts
class
Movie
(
object
):
"""main class to interact with the colorspace of movieframes"""
def
__init__
(
self
,
prefix
,
folder
=
'./'
):
# TODO platform independent
self
.
frames
=
Frames
(
folder
,
prefix
)
Movie
.
frames
=
Frames
(
folder
,
prefix
)
self
.
fsize
=
Movie
.
frames
.
frm_cnt
def
scatterpoints
(
self
,
channel
):
contrast
=
contrasts
.
mono_ctrst_scatplt
(
1
,
self
.
frames
)
contrast
=
contrasts
.
mono_ctrst_scatplt
(
1
,
Movie
.
frames
)
return
contrast
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment