com.alibaba.simpleimage.analyze.search.engine
类 ImageEngine
java.lang.Object
com.alibaba.simpleimage.analyze.search.engine.ImageEngine
public class ImageEngine
- extends Object
类ImageEngine.java的实现描述:TODO 类实现描述
- 作者:
- axman 2013-7-24 下午1:38:57
ImageEngine
public ImageEngine()
main
public static void main(String[] args)
- 参数:
args -
init
public void init(String treePath)
getTotal_features
public int getTotal_features()
- 返回:
- the total_features
getRankedList
public List<Score> getRankedList(List<Integer> queryVWList,
List<Score> candidate,
int topNum)
quntinize
public List<Integer> quntinize(List<? extends Clusterable> points)
getCandidate
public List<Score> getCandidate(List<Integer> visualWords)
buildIndex
public void buildIndex(List<? extends Clusterable> points,
int Id)
buildWeight
public void buildWeight()
saveIndex
public void saveIndex(String indexPath)
loadIndex
public boolean loadIndex(String indexPath)
saveWeight
public void saveWeight(String weightPath)
loadWeight
public boolean loadWeight(String weightPath)
loadTree
public boolean loadTree(String treePath)
loadHistogram
public void loadHistogram(String histogramPath)
saveHistogram
public void saveHistogram(String histogramPath)
Copyright © 2012–2015 Alibaba Group. All rights reserved.