be5e1448a7ebe2b96a307534cf75858574fc555c,doc/examples/color_exposure/plot_ihc_color_separation.py,,,#,29

Before Change



// Create an artificial color close to the original one
cmap_hema = LinearSegmentedColormap.from_list("mycmap", ["white", "navy"])
cmap_dab = LinearSegmentedColormap.from_list("mycmap", ["white",
                                             "saddlebrown"])
cmap_eosin = LinearSegmentedColormap.from_list("mycmap", ["darkviolet",
                                               "white"])

ihc_rgb = data.immunohistochemistry()

After Change



// Rescale hematoxylin and DAB signals and give them a fluorescence look
h = rescale_intensity(ihc_hed[:, :, 0], out_range=(0, 1),
                      in_range=(0, np.percentile(ihc_hed[:, :, 0], 99)))
d = rescale_intensity(ihc_hed[:, :, 2], out_range=(0, 1),
                      in_range=(0, np.percentile(ihc_hed[:, :, 2], 99)))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: scikit-image/scikit-image
Commit Name: be5e1448a7ebe2b96a307534cf75858574fc555c
Time: 2021-01-04
Author: cris.l.luengo@gmail.com
File Name: doc/examples/color_exposure/plot_ihc_color_separation.py
Class Name:
Method Name:


Project Name: astroML/astroML
Commit Name: d1f932a01a3a2d73167dea9be55ffae747d1b66b
Time: 2018-11-30
Author: bsipocz@gmail.com
File Name: astroML/stats/tests/test_stats.py
Class Name:
Method Name: test_sigmaG


Project Name: astroML/astroML
Commit Name: d1f932a01a3a2d73167dea9be55ffae747d1b66b
Time: 2018-11-30
Author: bsipocz@gmail.com
File Name: astroML/stats/tests/test_stats.py
Class Name:
Method Name: test_median_sigmaG