MATLAB Answers

0

How do I define the bottom row?

Asked by Stelios Fanourakis on 18 Mar 2019
Latest activity Commented on by Stelios Fanourakis on 18 Mar 2019
Hi
I have acquired several ultrasound images with different pin sizes, for a validation test of mine.
I know the real pin size, and that would be my ground truth. The problem is that when I plot the results of the segmented image (see attached image) in excel file (I export numerical pixel values to excel, the green mask contour, and just plot it), the obvious bottom line where the standoff polymer meets the table and is delined by the green contour is not actually the correct boundary for the accurate pin height measurement.
For instance, if I define the bottom row, where the contour lies horizontally, then I get around 0,42 mm error. The true boundary is approximately 10 pixels above the contour line. How can I justify this to my professor? He won't accept it. As he can see the visible green boundary, at the specific line, he will believe that this line is the correct no matter what and it's me that I must doing something wrong.
But that's not the truth. I have tried hundreds of times and every time I get around that error when I define bottom row as where the contour lies.
I just need to find a reason to justify to my supervisor, that the actual boundary of standoff-desk is approximately 10 pixels higher than it shows and the bright constrast that is being seen on the image is just artifact.
Any other explanation please?

  2 Comments

It would help if we also had a copy of that image without the green line, and if we had more details as to how you are processing the image.
@Walter, here is the image without the contour. I need to define a bottom row (horizontally, where the standoff supposely meets the table) and from that row up until the tip of the pin I count the pixels to estimate the pin height. I know the actual pin height, and this is my ground truth. So, more or less with a minor error, such as ±5% it should come up. For instance, if I have a 2.5 mm pin, then I should get results from 2,37 - 2,62 mm.
As I explained earlier, the above mm band, I get it only when I define the bottom row a bit upper than ideally seems to the eye of the beholder. Slightly upper than the white sharp contrast line.
I just cannot explain why it cannot be the white sharp line where denotes the boundaries of the standoff material and the desk

Sign in to comment.

0 Answers