示例#1
0
# -*- coding: utf-8 -*-

import ImFEATbox.FeatureGroup as __fg
from ImFEATbox.__Features__ import __Feature

# we use the __ to hide objects from the python IDE,
# you will only see the needed objects

from _IntensityF import IntensityF as __IntensityF
from _GradientF import GradientF as __GradientF
from _SVDF import SVDF as __SVDF
from _HistogramF import HistogramF as __HistogramF

# Intensity features
intensity = __Feature('intensity', __IntensityF,
                      [__fg.global_, __fg.corr, __fg.texture, __fg.entropy])
histogram = __Feature('gradient', __HistogramF,
                      [__fg.global_, __fg.texture, __fg.entropy])
svd = __Feature('svd', __SVDF, [__fg.global_, __fg.texture])
gradient = __Feature('gradient', __GradientF,
                     [__fg.global_, __fg.gradient, __fg.texture, __fg.entropy])
示例#2
0
# -*- coding: utf-8 -*-

import ImFEATbox.FeatureGroup as __fg
from ImFEATbox.__Features__ import __Feature

# we use the __ to hide objects from the python IDE,
# you will only see the needed objects

from _LawF import LawF as __LawF

# Point features
law = __Feature('law', __LawF, [__fg.local, __fg.moments, __fg.texture])
示例#3
0
# -*- coding: utf-8 -*-

import ImFEATbox.FeatureGroup as __fg
from ImFEATbox.__Features__ import __Feature

# we use the __ to hide objects from the python IDE,
# you will only see the needed objects

from _LineProfileF import LineProfileF as __LineProfileF

# Line features
lineprofile = __Feature('lineProfile', __LineProfileF,
                        [__fg.local, __fg.corr, __fg.moments, __fg.texture])
示例#4
0
# -*- coding: utf-8 -*-

import Line
import Point

import ImFEATbox.FeatureGroup as __fg
from ImFEATbox.__Features__ import __Feature

# we use the __ to hide objects from the python IDE,
# you will only see the needed objects

from _HarrisF import HarrisF as __HarrisF

# Point features
harris = __Feature('harris', __HarrisF, [__fg.local, __fg.texture])
示例#5
0
# -*- coding: utf-8 -*-

import ImFEATbox.FeatureGroup as __fg
from ImFEATbox.__Features__ import __Feature

# we use the __ to hide objects from the python IDE,
# you will only see the needed objects

from _ZernikeF import ZernikeF as __ZernikeF
from _HuF import HuF as __HuF
from _AffineMomentsF import AffineMomentsF as __AffineMomentsF

# Moment features
zernike = __Feature('zernike', __ZernikeF, [__fg.global_, __fg.moments])
hu = __Feature('hu', __HuF, [__fg.global_, __fg.moments])
affinemoments = __Feature('affinemoments', __AffineMomentsF,
                          [__fg.global_, __fg.moments])