MATLAB: We uploaded pictures of washer, screws, nails, and nuts( silver, black, gold). I am in charge of size, I am trying to input a median for the seperate categories. How to go about doing that?? The median will help in fidning what’s greaterandsmal

size project

Would I use the BW function??

Best Answer

What is the "BW" function?
The first thing you have to do is separate them from their backgrounds. After that you can threshold to get a binary image. You can then use regionprops() to examine various aspects such as the area or the major axis length.