|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectVideosegmenter
public class Videosegmenter
Main class for the video segmenter This class builds all the components of the video segmenter application
GUI
,
Algorithm
,
Mediaplayer
,
FrameSelector
Field Summary | |
---|---|
Algorithm |
algorithm
|
boolean |
algorithm1
|
boolean |
algorithm2
|
boolean |
algorithm3
|
EdgeHistogramComparator |
edgeHistogramComparator
|
FrameSelector |
frameSelector
|
GlobalHistogramComparator |
globalHistogramComparator
|
GUI |
gui
|
ImageResizer |
imageResizer
|
LocalHistogramComparator |
localHistogramComparator
|
Mediaplayer |
mediaPlayer
|
javax.swing.JFrame |
shotWindow
|
double |
thresholdFactor
|
javax.swing.JFrame |
videoWindow
|
Constructor Summary | |
---|---|
Videosegmenter()
Standard constructor Sets the algorithm variables and threshold factor |
Method Summary | |
---|---|
void |
buildAlgorithm()
Method to build the video shot detection algorithm |
void |
buildEdegHistogramComparator()
Method to build the edge histogram comparator |
void |
buildFrameSelector()
Method to build the frame selector |
void |
buildGlobalHistogramComparator()
Method to build the global histogram comparator |
void |
buildLocalHistogramComparator()
Method to build the local histogram comparator |
void |
changeThreshold(int id)
Method to change the image comparing threshold value |
void |
changeValues(int id)
Method to change the algorithm boolean value |
void |
exit()
Method to shut down the application |
double |
getThresholdFactor()
Method to return the threshold factor value |
static void |
main(java.lang.String[] args)
Main method to start the application |
void |
openFile()
Method to open a video file and create a media player |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public GUI gui
public javax.swing.JFrame videoWindow
public javax.swing.JFrame shotWindow
public Algorithm algorithm
public double thresholdFactor
public GlobalHistogramComparator globalHistogramComparator
public LocalHistogramComparator localHistogramComparator
public EdgeHistogramComparator edgeHistogramComparator
public ImageResizer imageResizer
public boolean algorithm1
public boolean algorithm2
public boolean algorithm3
public Mediaplayer mediaPlayer
public FrameSelector frameSelector
Constructor Detail |
---|
public Videosegmenter()
Method Detail |
---|
public void openFile()
public void exit()
public void changeValues(int id)
id
- The id of the algorithmpublic void changeThreshold(int id)
id
- The id of the threshold to be changedpublic double getThresholdFactor()
public void buildAlgorithm()
public void buildFrameSelector()
public void buildGlobalHistogramComparator()
public void buildLocalHistogramComparator()
public void buildEdegHistogramComparator()
public static void main(java.lang.String[] args)
args
- The standard args argument of the main method
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |