Cropping & EnhanceorSupressFeatures

cellprofiler
bug

#1

Hi everyone,

I’m trying to remove parts of an image that interferes with subsequent analysis but it’s throwing back this error:

Error while processing EnhanceorSupressFeatures
The truth value with an array with more than one ellement is ambigious. use a.any() or a.all()

What I’m doing is loading a color image and using the following pipeline:

ColorToGray
Ident.Prim.Objects (identifying a single larva in the image)
Crop (Using the object from the last step to Crop-Object)
EnhanceorSupressFeatures (Using Dark holes to visualize specific elements)

No changes in settings for any one the steps in the pipe removes the error.

Any help would be greatly appreciated
Fredrik


#2

Hi Fredrik,

Could you upload your pipeline and example image? And maybe elaborate on what you mean by “removing parts of an image” just so I can be clear on the problem. Thanks.

Laura