def visualThreshold(npArray, value):
	""" 
	Thresholds all pixel values greater than 0 in numPy array and sets them to given value 
	
	Arguments: 
		npArray: A numpy array
		value: int to set all values greater than zero to
	
	Returns:
		Numpy array 
	
	"""
	#npArray = npArray.astype('uint8')
	#print(mito_anno)
	npArray[npArray > 0] = value
	return npArray