saliency.py
def markMaxima(saliency):
	"""
		Mark the maxima in a saliency map (a gray-scale image).
	"""
	maxima = maximum_filter(saliency, size=(5, 5))
	maxima = numpy.array(saliency == maxima, dtype=numpy.float64) * 255
	g = cv2.max(saliency, maxima)
	r = saliency
	b = saliency
	marked = cv2.merge((b,g,r))
	return marked

		Mark the maxima in a saliency map (a gray-scale image).
	
Mark the maxima in a saliency map (a gray-scale image).
Mark the maxima in a saliency map ( a gray - scale image ) .
def markMaxima(saliency):
	maxima = maximum_filter(saliency, size=(5, 5))
	maxima = numpy.array(saliency == maxima, dtype=numpy.float64) * 255
	g = cv2.max(saliency, maxima)
	r = saliency
	b = saliency
	marked = cv2.merge((b,g,r))
	return marked
def markMaxima ( saliency ) : maxima = maximum_filter ( saliency , size = ( 5 , 5 ) ) maxima = numpy . array ( saliency == maxima , dtype = numpy . float64 ) * 255 g = cv2 . max ( saliency , maxima ) r = saliency b = saliency marked = cv2 . merge ( ( b , g , r ) ) return marked
Mark the maxima in a saliency map (a gray-scale image).
Mark the maxima in a saliency map ( a gray - scale image ) .
"""
		Mark the maxima in a saliency map (a gray-scale image).
	"""
saliency