def _getMedianVals(self):
'''
@return: A scipy matrix representing the gray-scale median values of the image stack.
If you want a pyvision image, just wrap the result in pv.Image(result).
'''
self._imageStack = self._imageBuffer.asStackBW()
medians = sp.median(self._imageStack, axis=0) #median of each pixel jet in stack
return medians
评论列表
文章目录