We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51f8d0e commit a580bd6Copy full SHA for a580bd6
src/neuron_proofreader/merge_proofreading/merge_inference.py
@@ -347,7 +347,7 @@ def read_superchunk(self, nodes):
347
center = (start + shape // 2).astype(int)
348
superchunk = self.img_reader.read(center, shape)
349
superchunk = np.minimum(superchunk, self.brightness_clip)
350
- superchunk = img_util.normalize(superchunk)
+ #superchunk = img_util.normalize(superchunk)
351
return superchunk, start.astype(int)
352
353
def is_near_leaf(self, node, threshold=20):
@@ -516,7 +516,7 @@ def _get_multimodal_batch(self, nodes, img, offset):
516
point_clouds = np.empty((len(nodes), 3, 3600), dtype=np.float32)
517
for i, (node, center) in enumerate(zip(nodes, patch_centers)):
518
s = img_util.get_slices(center, self.patch_shape)
519
- patches[i, 0, ...] = img[s]
+ patches[i, 0, ...] = np.normalize(img[s])
520
patches[i, 1, ...] = label_mask[s]
521
522
subgraph = self.graph.get_rooted_subgraph(
0 commit comments