a3e9c4a0314643856e0a39260e5d60a800177b14,plantcv/base/analyze_bound_horizontal.py,,analyze_bound_horizontal,#Any#Any#Any#Any#Any#Any#Any#,9

Before Change


    if len(np.shape(ori_img)) == 3:
        iy, ix, iz = np.shape(ori_img)
    else:
        iy, ix = np.shape(ori_img)
    size = (iy, ix)
    size1 = (iy, ix, 3)
    background = np.zeros(size, dtype=np.uint8)

After Change


    ori_img = np.copy(img)

    // Draw line horizontal line through bottom of image, that is adjusted to user input height
    if len(np.shape(ori_img)) == 2:
        ori_img = cv2.cvtColor(ori_img, cv2.COLOR_GRAY2BGR)
    iy, ix, iz = np.shape(ori_img)
    size = (iy, ix)
    size1 = (iy, ix, 3)
    background = np.zeros(size, dtype=np.uint8)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: danforthcenter/plantcv
Commit Name: a3e9c4a0314643856e0a39260e5d60a800177b14
Time: 2018-05-29
Author: noahfahlgren@gmail.com
File Name: plantcv/base/analyze_bound_horizontal.py
Class Name:
Method Name: analyze_bound_horizontal


Project Name: danforthcenter/plantcv
Commit Name: a3e9c4a0314643856e0a39260e5d60a800177b14
Time: 2018-05-29
Author: noahfahlgren@gmail.com
File Name: plantcv/base/analyze_bound_vertical.py
Class Name:
Method Name: analyze_bound_vertical


Project Name: AlexEMG/DeepLabCut
Commit Name: fea2b96d93ff7a1c265d54dab35bf38325edad88
Time: 2018-11-18
Author: mathis@rowland.harvard.edu
File Name: deeplabcut/generate_training_dataset/frame_extraction_toolbox.py
Class Name: MainFrame
Method Name: update