This is not a biology problem but I am hoping I can find some help identify scratches in a material. I have an acceptable routine in ImageJ. What this does is …
- Run a median filter on the original image
- Subtract the original image from the new ‘medianimage’
- Applies a threshold
- Runs ImageJ’s analyze particles function
This works fairly well however I seem to have to change the thresholding to account for different types of images(Brightness, Focus, weird defects, etc). I would also like to be able to distinguish shape types so I only find long and skinny objects(maybe worms?). Lastly, I would like to incorporate this more into Cell Profiler rather than doing almost everything in ImageJ.
Does anyone have any ideas of how to accomplish these goals in Cell Profiler?
Thanks for any help,
-I have uploaded a short pipeling and an image for anyone to play around with
ScratchesPipe.cp (3.69 KB)