public class OutlinesCollection extends Object implements IQuimpSerialize
This class is used as storage of OutlineHandlers (results of continuous segmentation) in
DataContainer
.
Modifier and Type | Field and Description |
---|---|
ArrayList<OutlineHandler> |
oHs
Contain
OutlineHandler objects. |
Constructor and Description |
---|
OutlinesCollection()
Instantiates a new outlines collection.
|
OutlinesCollection(int size)
Instantiates a new outlines collection.
|
Modifier and Type | Method and Description |
---|---|
void |
afterSerialize()
Rebuild every Outline from temporary array.
|
void |
beforeSerialize()
Prepare Outlines for serialization.
|
public ArrayList<OutlineHandler> oHs
OutlineHandler
objects.
Each object (OutlineHandler
represents segmented cell (outline) between frame
public OutlinesCollection(int size)
size
- the sizepublic OutlinesCollection()
public void beforeSerialize()
beforeSerialize
in interface IQuimpSerialize
Serializer.save(String)
public void afterSerialize() throws Exception
afterSerialize
in interface IQuimpSerialize
Exception
- from wrapped object in any problem. This is implementation dependentSerializer.load(String)
Copyright © 2002–2019 Department of Computer Science, Warwick University. All rights reserved.