46ded89f8013e706cec4d715a2576b30ebace514,bindsnet/datasets/preprocess.py,,gray_scale,#Any#,3
Before Change
| :code:`im` (:code:`numpy.array`): Grayscaled image
"""
im = cv2.cvtColor(im, cv2.COLOR_RGB2GRAY)
return im
def crop(im, x1, x2, y1, y2):
return im[x1:x2, y1:y2, :]
After Change
| :code:`im` (:code:`numpy.array`): Grayscaled image
return cv2.cvtColor(im, cv2.COLOR_RGB2GRAY)
def crop(im, x1, x2, y1, y2):
return im[x1:x2, y1:y2, :]
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: BindsNET/bindsnet
Commit Name: 46ded89f8013e706cec4d715a2576b30ebace514
Time: 2018-07-19
Author: djsaunde@umass.edu
File Name: bindsnet/datasets/preprocess.py
Class Name:
Method Name: gray_scale
Project Name: BindsNET/bindsnet
Commit Name: e48cbdd783b045c804a94d456387b0fea73bbc29
Time: 2018-06-11
Author: djsaunde@umass.edu
File Name: bindsnet/datasets/preprocess.py
Class Name:
Method Name: gray_scale
Project Name: Sanster/text_renderer
Commit Name: d8c43fceba66e175115a1dbdbad08f6c21247dbb
Time: 2019-09-22
Author: wq.chu@tianrang-inc.com
File Name: textrenderer/renderer.py
Class Name: Renderer
Method Name: draw_text_seamless
Project Name: AlexEMG/DeepLabCut
Commit Name: 816477ec8572ac2518bffc0c2b5e4270dd9dbb38
Time: 2019-10-30
Author: amathis@fas.harvard.edu
File Name: deeplabcut/utils/auxfun_videos.py
Class Name:
Method Name: imread