Home > other >  how to segment the marbling/fibers on a piece of meat
how to segment the marbling/fibers on a piece of meat

Time:06-28

I want to be able to highlight the marbling in a piece of meat like this:

1

I'm using OpenCV (blurring, sobel operator) to detect the edges, which I was hoping would give me just the main marbling. However, I end up with a lot of noise. see example output here:

Is there a way I can reduce the noise so that I get only the marbling, and little to none of the meat? What I want is actually what shows as the black gaps in the example output as the regions of interest (like this...), but I'm not sure how to achieve that.

Please comment if further explanation is needed -- I'm new to image processing and OpenCV, so I may not be explaining this very well.

CodePudding user response:

It is quite easy to binarize the green component to separate meat from marbling by simple thresholding. Then use contouring.

enter image description here

  • Related