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()
           
 
方法摘要
 void buildIndex(List<? extends Clusterable> points, int Id)
           
 void buildWeight()
           
 List<Score> getCandidate(List<Integer> visualWords)
           
 List<Score> getRankedList(List<Integer> queryVWList, List<Score> candidate, int topNum)
           
 int getTotal_features()
           
 void init(String treePath)
           
 void loadHistogram(String histogramPath)
           
 boolean loadIndex(String indexPath)
           
 boolean loadTree(String treePath)
           
 boolean loadWeight(String weightPath)
           
static void main(String[] args)
           
 List<Integer> quntinize(List<? extends Clusterable> points)
           
 void saveHistogram(String histogramPath)
           
 void saveIndex(String indexPath)
           
 void saveWeight(String weightPath)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

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.