|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectwhistlesAndMoans.DiscardingFragmenter
public class DiscardingFragmenter
Whistle fragmenter which completely discards all regions which have more than one peak in any slice.
| Field Summary | |
|---|---|
protected int |
maxPeaks
|
protected ConnectedRegion |
motherRegion
|
protected int |
nFragments
|
protected int |
nSlices
|
protected int[] |
slicePeaks
|
protected int |
totalPeaks
|
| Constructor Summary | |
|---|---|
DiscardingFragmenter()
|
|
| Method Summary | |
|---|---|
private int |
countSlicePeaks()
Get the maximum number of peaks in any slice of a region. |
int |
fragmentRegion(ConnectedRegion connectedRegion)
Fragment a connected region |
ConnectedRegion |
getFragment(int fragment)
Get a specific fragment |
int |
getNumFragments()
Get the number of fragments |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ConnectedRegion motherRegion
protected int[] slicePeaks
protected int maxPeaks
protected int nSlices
protected int totalPeaks
protected int nFragments
| Constructor Detail |
|---|
public DiscardingFragmenter()
| Method Detail |
|---|
public int fragmentRegion(ConnectedRegion connectedRegion)
RegionFragmenter
fragmentRegion in interface RegionFragmenterconnectedRegion - region to fragment
private int countSlicePeaks()
public ConnectedRegion getFragment(int fragment)
RegionFragmenter
getFragment in interface RegionFragmenterfragment - fragment number (0 to getNumFragments);
public int getNumFragments()
RegionFragmenter
getNumFragments in interface RegionFragmenter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||