Commit ba32dba9 authored by Hemerson Pistori's avatar Hemerson Pistori
Browse files

Adicionado extrator de Gabor ... erro no import gabor_kernel

parent db1c9930
......@@ -5,13 +5,15 @@ from .glcm import GLCM
from .hog import HOG
from .image_moments import RawCentralMoments, HuMoments
from .lbp import LBP
from .gabor import GABOR
__all__ = ["extractor",
"color_summarizer",
"glcm",
"hog",
"image_moments",
"lbp"]
"lbp",
"gabor"]
from collections import OrderedDict
......@@ -24,7 +26,9 @@ _extractor_list = OrderedDict( [
["hog", Config("Histogram of Oriented Gradients", True, bool, meta=HOG)],
["hu_moments", Config("Hu Image Moments", False, bool, meta=HuMoments)],
["rc_moments", Config("Image Moments (Raw/Central)", False, bool, meta=RawCentralMoments)],
["lbp", Config("Local Binary Patterns", True, bool, meta=LBP)]
["lbp", Config("Local Binary Patterns", True, bool, meta=LBP)],
["gabor", Config("Gabor Filter Bank", True, bool, meta=GABOR)]
] )
def get_extractor_config():
......@@ -37,3 +41,4 @@ def set_extractor_config(configs):
_extractor_list["hu_moments"] = Config.nvl_config(configs["hu_moments"], _extractor_list["hu_moments"])
_extractor_list["rc_moments"] = Config.nvl_config(configs["rc_moments"], _extractor_list["rc_moments"])
_extractor_list["lbp"] = Config.nvl_config(configs["lbp"], _extractor_list["lbp"])
_extractor_list["gabor"] = Config.nvl_config(configs["gabor"], _extractor_list["gabor"])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment