def shortRunHighGrayLevelEmphasis(self, P_glrl, ivector, jvector, sumP_glrl, meanFlag=True):
        try:
            srhgle = numpy.sum(
                numpy.sum(((P_glrl * (ivector ** 2)[:, None, None]) / ((jvector ** 2)[None, :, None])), 0), 0) / (
                     sumP_glrl[None, None, :])
        except ZeroDivisionError:
            srhgle = 0
        if meanFlag:
            return (srhgle.mean())
        else:
            return srhgle
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/CIP_LesionModel/FeatureExtractionLib/TextureGLRL.py/TextureGLRL.shortRunHighGrayLevelEmphasis/original