Skip to content

Embeddable Matlab panel for playback, scrolling, and contrast/color map adjustment of 3D movies.

License

GPL-3.0, GPL-2.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-2.0
license.txt
Notifications You must be signed in to change notification settings

dpacheco0921/MovieSlider

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MovieSlider

Embeddable Matlab panel for playback, scrolling, and contrast/color map adjustment of 3D movies.

Dependencies

This software depends on the GUI Layout Toolbox. Make sure to get the version appropriate for your version of Matlab (R2014b onwards vs. older).

Description

The class MovieSlider creates a panel (that can be embedded like any other uix object) that displays the current frame of the movie tensor provided by the user, which is assumed to be 3-dimensional where the first two dimensions comprise a frame and the third dimension indexes a particular frame in the movie. GUI and keyboard controls allow automatic playback/looping as well as live scrolling through frames. There is also a button to cycle through contrast settings, and an extended configuration panel where the user can fine-tune the playback speed, color map and mapping range.

Examples

Example usage:

  shape = normpdf(-2.5:0.05:2.5, 0, 1);
  tensor = bsxfun(@times, bsxfun(@times, shape, shape'), reshape(shape,1,1,[]));
  MovieSlider(tensor);

Various member functions exists for programatic control of some features:

  show(...)                     : Sets the currently displayed movie (can also be done at
                                  construction time) 
  setPlaybackFPS(playbackFPS)   : Set playback rate in frames per second
  setTitle(string)              : Sets the current title, or removes it if an empty string is
                                  provided; a cellstring can also be provided to show a different
                                  title per frame
  setFrame(index)               : Sets the current frame to the given index
  setFocusReturn(fcnReturn)     : Sets the function to call upon an 'escape' keypress

Author

Copyright (C) 2016 Sue Ann Koay ([email protected])

Acknowledgements

The GUI icons are creations of Olha Kozachenko that were made public under the Creative Commons license.

About

Embeddable Matlab panel for playback, scrolling, and contrast/color map adjustment of 3D movies.

Resources

License

GPL-3.0, GPL-2.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-2.0
license.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 75.2%
  • M 24.8%