def visstd(a, s=0.1):
 return ((((a - a.mean()) / max(a.std(), 0.0001)) * s) + 0.5)

def visstd ( a , s = 0.1 ) : return ( ( ( ( a - a . mean ( ) ) / max ( a . std ( ) , 0.0001 ) ) * s ) + 0.5 )
normalize the image range for visualization .