dfecea486703d727905657b2dce890664dd1ba72,plantcv/rgb2gray_hsv.py,,rgb2gray_hsv,#Any#Any#Any#Any#,9

Before Change


            plot_image(h, cmap="gray")
        return device, h
    elif channel == "s":
        if debug == "print":
            print_image(s, (str(device) + "_hsv_saturation.png"))
        elif debug == "plot":
            plot_image(s, cmap="gray")
        return device, s
    elif channel == "v":
        if debug == "print":
            print_image(v, (str(device) + "_hsv_value.png"))

After Change


    channels = {"h": h, "s": s, "v": v}

    if debug == "print":
        print_image(channels[channel], str(device) + "_hsv_" + names[channel] + ".png")
    elif debug == "plot":
        plot_image(channels[channel], cmap="gray")

    return device, channels[channel]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: danforthcenter/plantcv
Commit Name: dfecea486703d727905657b2dce890664dd1ba72
Time: 2017-04-18
Author: noahfahlgren@gmail.com
File Name: plantcv/rgb2gray_hsv.py
Class Name:
Method Name: rgb2gray_hsv


Project Name: danforthcenter/plantcv
Commit Name: c7a53c5c8f87dea0a75feb3f8e19dc6fa495e1e7
Time: 2020-03-24
Author: haleyschuhl@gmail.com
File Name: plantcv/plantcv/visualize/auto_threshold_methods.py
Class Name:
Method Name: thresholds


Project Name: danforthcenter/plantcv
Commit Name: f8a201b2b07aadd68deff9df18192de0e7f22d0e
Time: 2016-05-17
Author: maliadong@gmail.com
File Name: lib/plantcv/analyze_color.py
Class Name:
Method Name: _pseudocolored_image