37a36252d5695c42133ffbc1a18fbf0dd8d9c4bf,ilastik/applets/nanshe/opMaxProjection.py,OpMaxProjection,execute,#OpMaxProjection#Any#Any#Any#Any#,86

Before Change


        image_shape = self.InputImage.meta.shape

        key = roi.toSlice()
        halo_key, within_halo_key = OpMaxProjection.compute_halo(key, image_shape, self.Axis.value)

        raw = self.InputImage[halo_key].wait()

        processed = raw.max(axis=self.Axis.value)

After Change


        axis = self.Axis.value

        key = roi.toSlice()
        key = list(key)
        key = key[:axis] + [slice(None)] + key[axis:]
        key[axis] = nanshe.additional_generators.reformat_slice(key[axis], self.InputImage.meta.shape[axis])
        key = tuple(key)

        raw = self.InputImage[key].wait()

        processed = raw.max(axis=self.Axis.value)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 10

Instances


Project Name: ilastik/ilastik
Commit Name: 37a36252d5695c42133ffbc1a18fbf0dd8d9c4bf
Time: 2015-03-31
Author: kirkhamj@janelia.hhmi.org
File Name: ilastik/applets/nanshe/opMaxProjection.py
Class Name: OpMaxProjection
Method Name: execute


Project Name: ilastik/ilastik
Commit Name: 37a36252d5695c42133ffbc1a18fbf0dd8d9c4bf
Time: 2015-03-31
Author: kirkhamj@janelia.hhmi.org
File Name: ilastik/applets/nanshe/opMaxProjection.py
Class Name: OpMaxProjection
Method Name: propagateDirty


Project Name: ilastik/ilastik
Commit Name: da29eb419bece51ee151012222b57f23f3052b7d
Time: 2015-03-31
Author: kirkhamj@janelia.hhmi.org
File Name: ilastik/applets/nanshe/opMeanProjection.py
Class Name: OpMeanProjection
Method Name: propagateDirty


Project Name: ilastik/ilastik
Commit Name: da29eb419bece51ee151012222b57f23f3052b7d
Time: 2015-03-31
Author: kirkhamj@janelia.hhmi.org
File Name: ilastik/applets/nanshe/opMeanProjection.py
Class Name: OpMeanProjection
Method Name: execute


Project Name: ilastik/ilastik
Commit Name: 37a36252d5695c42133ffbc1a18fbf0dd8d9c4bf
Time: 2015-03-31
Author: kirkhamj@janelia.hhmi.org
File Name: ilastik/applets/nanshe/opMaxProjection.py
Class Name: OpMaxProjection
Method Name: execute