7642528ea8e4f3d689f497c614f2ce7c1a3ce2cb,skimage/transform/seam_carving.py,,seam_carve,#Any#Any#Any#Any#Any#Any#,7
Before Change
image = image[..., np.newaxis]
if mode == "horizontal":
image = np.transpose(image, (1, 0, 2))
image = np.ascontiguousarray(image)
out = _seam_carve_v(image, energy_map, num, border)
After Change
image = image[..., np.newaxis]
if mode == "horizontal":
image = np.swapaxes(image, 0, 1)
energy_map = np.swapaxes(energy_map, 0, 1)
image = np.ascontiguousarray(image)
out = _seam_carve_v(image, energy_map, num, border)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: scikit-image/scikit-image
Commit Name: 7642528ea8e4f3d689f497c614f2ce7c1a3ce2cb
Time: 2017-08-13
Author: leaprovenzano@gmail.com
File Name: skimage/transform/seam_carving.py
Class Name:
Method Name: seam_carve
Project Name: brainiak/brainiak
Commit Name: 408f12dec2ff56559a26873a848a09e4c8facfeb
Time: 2019-04-19
Author: sam.nastase@gmail.com
File Name: brainiak/isc.py
Class Name:
Method Name: isc
Project Name: GPflow/GPflow
Commit Name: ae11db5d25194cae8ef8998adbfbd96443a10fd6
Time: 2017-07-04
Author: alexggmatthews@googlemail.com
File Name: GPflow/vgp.py
Class Name: VGP
Method Name: __init__