fc80bc8d663f3999394cdcc608a237405cc77442,mahotas/demos/nuclear_distance_watershed.py,,,#,6
Before Change
except NameError:
nuclear_path = path.join("data", "nuclear.png")
nuclear = mahotas.imread(nuclear_path)
nuclear = nuclear[:,:,0]
nuclear = mahotas.gaussian_filter(nuclear, 1.)
threshed = (nuclear > nuclear.mean())
distances = mahotas.stretch(mahotas.distance(threshed))
After Change
import numpy as np
from matplotlib import pyplot as plt
nuclear = mh.demos.load("nuclear")
nuclear = nuclear[:,:,0]
nuclear = mh.gaussian_filter(nuclear, 1.)
threshed = (nuclear > nuclear.mean())
distances = mh.stretch(mh.distance(threshed))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
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: 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: 2bf0cf345c595914c47dec5dfdfb5f022075e442
Time: 2019-07-19
Author: luis@luispedro.org
File Name: mahotas/demos/wally.py
Class Name:
Method Name: