Package whistleClassifier
Class WhistleFragmenter
java.lang.Object
whistleClassifier.WhistleFragmenter
- Direct Known Subclasses:
OverlappingFragmenter
Break a whistle up into fragments.
Really all we need to know is the start of each fragment
- Author:
- Doug Gillespie
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getFragments
(WhistleContour whistleContour) Create an array of whistle fragments from a whistle contour.abstract int[]
getFragmentStarts
(int shapeLen) void
setFragmentLength
(int fragmentLength)
-
Constructor Details
-
WhistleFragmenter
public WhistleFragmenter()
-
-
Method Details
-
getFragmentStarts
public abstract int[] getFragmentStarts(int shapeLen) -
setFragmentLength
public void setFragmentLength(int fragmentLength) -
getFragmentLength
public int getFragmentLength() -
getFragments
Create an array of whistle fragments from a whistle contour.- Parameters:
whistleContour
- contour to extract fragments from .- Returns:
- array of fragments
-