PYME.Analysis.svmSegment module

PYME.Analysis.svmSegment.extractFeatures(im)
PYME.Analysis.svmSegment.extractFeatures2(im)
PYME.Analysis.svmSegment.normalizeFeatures(fv, normalization=None)
PYME.Analysis.svmSegment.performClassification(clf, fv)
class PYME.Analysis.svmSegment.svmClassifier(clf=None, filename=None)

Bases: object

Methods

classify(im)
loadFile(filename)
save(filename)
train(im, labels[, newInstance])
trainAndClassify(im, labels)
classify(im)
loadFile(filename)
save(filename)
train(im, labels, newInstance=False)
trainAndClassify(im, labels)
PYME.Analysis.svmSegment.trainClassifier(features, labels)