stefanv/scikits-image — comment on commit b83ece8b0583093ea1692af4bcf84f0fb8f53066
File: skimage/morphology/ccomp.pyx line 73
By stefanv:

On Wed, Dec 21, 2011 at 12:18 PM, tonysyu

wrote:
> Alternatively, have you thought about adding a flag to mask out the background values? You mentioned on the mailing list that it's fairly simple, but I imagine it would be common enough to warrant such special treatment. Also, a parameter would naturally emphasize this (for me) unusual behavior.

Yes, I'll just add this functionality with background == -1 by default.