Did I find the right examples for you? yes no

All Samples(91)  |  Call(0)  |  Derive(0)  |  Import(91)

src/m/a/mahotas-1.1.0/mahotas/demos/__init__.py   mahotas(Download)
def image_path(name):
    from os import path
    import mahotas as mh
    return path.join(path.abspath(path.dirname(__file__)),
                'data',
    '''
    from os import path
    import mahotas as mh
    _demo_images  = {
        'wally' : 'DepartmentStore.jpg',

src/m/a/mahotas-1.1.0/docs/source/figures/distance.py   mahotas(Download)
import numpy as np
import mahotas
from pylab import imshow, savefig
A = np.zeros((100,100), bool)
A[40:60] = 1

src/m/a/mahotas-HEAD/mahotas/demos/__init__.py   mahotas(Download)
def image_path(name):
    from os import path
    import mahotas as mh
    return path.join(path.abspath(path.dirname(__file__)),
                'data',
    '''
    from os import path
    import mahotas as mh
    _demo_images  = {
        'wally' : 'DepartmentStore.jpg',

src/m/a/mahotas-HEAD/docs/source/figures/distance.py   mahotas(Download)
import numpy as np
import mahotas
from pylab import imshow, savefig
A = np.zeros((100,100), bool)
A[40:60] = 1

src/m/a/mahotas-1.1.0/mahotas/features/shape.py   mahotas(Download)
from __future__ import division
import numpy as np
import mahotas as mh
from ..labeled import bwperim
from ..internal import _make_binary

src/m/a/mahotas-1.1.0/mahotas/demos/wavelet_compress.py   mahotas(Download)
from __future__ import print_function
import numpy as np
import mahotas
from mahotas.thresholding import soft_threshold
from matplotlib import pyplot as plt

src/m/a/mahotas-1.1.0/mahotas/demos/wally.py   mahotas(Download)
from pylab import imshow
import mahotas
wally = mahotas.imread('data/DepartmentStore.jpg')
wfloat = wally.astype(float)
r,g,b = wfloat.transpose((2,0,1))

src/m/a/mahotas-1.1.0/mahotas/demos/thresholding.py   mahotas(Download)
import mahotas
import numpy as np
from pylab import imshow, gray, show, subplot
from os import path
 

src/m/a/mahotas-1.1.0/mahotas/demos/surf_luispedro.py   mahotas(Download)
from __future__ import print_function
import numpy as np
import mahotas
from mahotas.features import surf
from pylab import *

src/m/a/mahotas-1.1.0/mahotas/demos/superpixels.py   mahotas(Download)
from matplotlib import pyplot as plt
 
import mahotas
 
f = mahotas.imread('mahotas/demos/data/luispedro.jpg')

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8  Next