@Override protected F convert(T ele) { return ele.getFeatureVector().values; } }
@Override public List<FloatLocalFeatureAdaptor<?>> apply(List<? extends LocalFeature<?, ?>> in) { return FloatLocalFeatureAdaptor.wrapUntyped(in, hell); } }
@Override public InterestPointData clone() { InterestPointData d = (InterestPointData) super.clone(); d.score = this.score; return d; }
protected void addFeature(float imx, float imy, float imscale) { final FeatureVector[] fvs = featureExtractor.extractFeature(extractionProperties); final Location loc = new ScaleSpaceLocation(imx, imy, imscale); for (final FeatureVector fv : fvs) { features.add(new LocalFeatureImpl<Location, FeatureVector>(loc, fv)); } } }
@Override public L getLocation() { return localFeature.getLocation(); }
/** * Produce a {@link LocalFeatureList} of {@link FloatLocalFeatureAdaptor} by * wrapping the input list, and dynamically wrapping with the * {@link FloatLocalFeatureAdaptor}s on demand. * * @param list * the input list * @return the wrapped list */ public static <L extends Location> List<FloatLocalFeatureAdaptor<L>> wrap( final List<? extends LocalFeature<L, ?>> list) { return wrap(list, null); }
@Override public ScaleSpaceLocation clone(){ ScaleSpaceLocation l = (ScaleSpaceLocation) super.clone(); l.scale = this.scale; return l; } }
@Override public boolean equals(Object other) { return super.equals(other) && this.score == ((InterestPointData)other).score; }
@Override public void writeASCII(PrintWriter out) throws IOException { location.writeASCII(out); out.println(id); }
protected void addFeature(float imx, float imy, float imscale) { final FeatureVector[] fvs = featureExtractor.extractFeature(extractionProperties); final Location loc = new ScaleSpaceLocation(imx, imy, imscale); for (final FeatureVector fv : fvs) { features.add(new LocalFeatureImpl<Location, FeatureVector>(loc, fv)); } } }
@Override protected F convert(T ele) { return ele.getFeatureVector().values; } }
@Override public List<FloatLocalFeatureAdaptor<?>> apply(List<? extends LocalFeature<?, ?>> in) { return FloatLocalFeatureAdaptor.wrapUntyped(in); } },
@Override public L getLocation() { return localFeature.getLocation(); }
/** * Produce a {@link LocalFeatureList} of {@link FloatLocalFeatureAdaptor} by * wrapping the input list, and dynamically wrapping with the * {@link FloatLocalFeatureAdaptor}s on demand. * * @param list * the input list * @return the wrapped list */ public static <L extends Location> List<FloatLocalFeatureAdaptor<L>> wrap( final List<? extends LocalFeature<L, ?>> list) { return wrap(list, null); }
@Override public InterestPointData clone() { InterestPointData d = (InterestPointData) super.clone(); d.score = this.score; return d; }
@Override public ScaleSpaceLocation clone(){ ScaleSpaceLocation l = (ScaleSpaceLocation) super.clone(); l.scale = this.scale; return l; } }
@Override public boolean equals(Object other) { return super.equals(other) && this.score == ((InterestPointData)other).score; }
@Override public void writeASCII(PrintWriter out) throws IOException { location.writeASCII(out); feature.writeASCII(out); }
/** * Produce a {@link LocalFeatureList} of {@link FloatLocalFeatureAdaptor} by * wrapping the input list, and dynamically wrapping with the * {@link FloatLocalFeatureAdaptor}s on demand. * * @param list * the input list * @return the wrapped list */ public static List<FloatLocalFeatureAdaptor<?>> wrapUntyped( final List<? extends LocalFeature<?, ?>> list) { return wrapUntyped(list, null); }
/** * Produce a {@link LocalFeatureList} of {@link FloatLocalFeatureAdaptor} by * wrapping the input list, and dynamically wrapping with the * {@link FloatLocalFeatureAdaptor}s on demand. * * @param list * the input list * @return the wrapped list */ public static List<FloatLocalFeatureAdaptor<?>> wrapUntyped( final List<? extends LocalFeature<?, ?>> list) { return wrapUntyped(list, null); }