581a39d8b50b4245cb16d4fae112fa2327ea891a,mahotas/demos/morphology.py,,,#,6

Before Change


from pylab import gray, imshow, show
import numpy as np

luispedro = mahotas.imread("./data/luispedro.jpg")
luispedro = luispedro.max(2)
T = mahotas.otsu(luispedro)
lpbin = (luispedro > T)
eye = lpbin[112:180,100:190]

After Change


import numpy as np


luispedro = mh.demos.load("luispedro")
luispedro = luispedro.max(2)
T = mh.otsu(luispedro)
lpbin = (luispedro > T)
eye = lpbin[112:180,100:190]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: luispedro/mahotas
Commit Name: 581a39d8b50b4245cb16d4fae112fa2327ea891a
Time: 2014-03-13
Author: luis@luispedro.org
File Name: mahotas/demos/morphology.py
Class Name:
Method Name:


Project Name: luispedro/mahotas
Commit Name: fc80bc8d663f3999394cdcc608a237405cc77442
Time: 2019-07-19
Author: luis@luispedro.org
File Name: mahotas/demos/nuclear_distance_watershed.py
Class Name:
Method Name:


Project Name: luispedro/mahotas
Commit Name: 2bf0cf345c595914c47dec5dfdfb5f022075e442
Time: 2019-07-19
Author: luis@luispedro.org
File Name: mahotas/demos/wally.py
Class Name:
Method Name: