Пример #1
0
# necessary because we used a factory
from vigraOperators import Op1ToMulti, Op5ToMulti, Op50ToMulti

try:
    if modules != None:
        pass
except:
    modules = []
    import generic
    import vigraOperators
    import classifierOperators
    import valueProviders
    import operators
    
    ops = itersubclasses(Operator)
    logger.debug("Loading default Operators...")
    loaded = ""
    for i, o in enumerate(ops):
        loaded += o.__name__ + ' '
        globals()[o.__name__] = o
    loaded += os.linesep
    logger.debug(loaded)

    from opVigraWatershed import OpVigraWatershed
    from opVigraLabelVolume import OpVigraLabelVolume
    from opFilterLabels import OpFilterLabels
    from opColorizeLabels import OpColorizeLabels
    from opObjectFeatures import OpObjectFeatures
    from adaptors import Op5ifyer
    from opCompressedCache import OpCompressedCache
Пример #2
0
# necessary because we used a factory
from vigraOperators import Op1ToMulti, Op5ToMulti, Op50ToMulti

try:
    if modules != None:
        pass
except:
    modules = []
    import generic
    import vigraOperators
    import classifierOperators
    import valueProviders
    import operators

    ops = itersubclasses(Operator)
    logger.debug("Loading default Operators...")
    loaded = ""
    for i, o in enumerate(ops):
        loaded += o.__name__ + ' '
        globals()[o.__name__] = o
    loaded += os.linesep
    logger.debug(loaded)

    from opBlockedArrayCache import OpBlockedArrayCache
    from opVigraWatershed import OpVigraWatershed
    from opVigraLabelVolume import OpVigraLabelVolume
    from opFilterLabels import OpFilterLabels
    from opColorizeLabels import OpColorizeLabels
    from opObjectFeatures import OpObjectFeatures
    from opCompressedCache import OpCompressedCache