jzhousz / iano

Automatically exported from code.google.com/p/iano
0 stars 0 forks source link

Consider add a DataInput constructor that takes an ArrayList #71

Open jzhousz opened 9 years ago

jzhousz commented 9 years ago

In ROI Annotation, currently raw ROI of ArrayList are passed in to feature extractor. This works only when we insist each feature extractor provide two entry methods, one for DataInput, one for arraylist. Need to revisit the possibility of consolidate them. What I can think of as the drawback is the additional DataInput object created during ROI annotation (it should be reused to avoid garbage object), but that should be justifiable for clean interface of FeatureExtractor.