e9402012f3eec81163f0a61e9d53cd3b59a6c7c1,geometry/eolearn/geometry/superpixel.py,SuperpixelSegmetation,execute,#SuperpixelSegmetation#Any#,41
Before Change
data = data.reshape((data.shape[0], data.shape[1], data.shape[2] * data.shape[3]))
superpixel_mask = self._create_superpixel_mask(data)
superpixel_mask = superpixel_mask.reshape((superpixel_mask.shape[0], superpixel_mask.shape[1], 1))
ft, fn = self.superpixel_feature
eopatch[ft][fn] = superpixel_mask
After Change
data = np.moveaxis(data, 0, 2)
data = data.reshape((data.shape[0], data.shape[1], data.shape[2] * data.shape[3]))
superpixel_mask = np.atleast_3d(self._create_superpixel_mask(data))
new_feature_type, new_feature_name = self.superpixel_feature
eopatch[new_feature_type][new_feature_name] = superpixel_mask
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: sentinel-hub/eo-learn
Commit Name: e9402012f3eec81163f0a61e9d53cd3b59a6c7c1
Time: 2019-05-26
Author: matej.aleksandrov@sinergise.com
File Name: geometry/eolearn/geometry/superpixel.py
Class Name: SuperpixelSegmetation
Method Name: execute
Project Name: jiny2001/dcscn-super-resolution
Commit Name: 13234f5753fa5c882885af14d068ad186781b620
Time: 2018-09-16
Author: jin.yamanaka@gmail.com
File Name: helper/utilty.py
Class Name:
Method Name: load_image
Project Name: dmbee/seglearn
Commit Name: 6eabf1eeaa3c9d64b67d3f29b3c546baa8235671
Time: 2018-03-06
Author: david.mo.burns@gmail.com
File Name: seglearn/features.py
Class Name:
Method Name: _compute_features