How to label ground truth automatically for images

조회 수: 5 (최근 30일)
Cecilia Tan
Cecilia Tan 2019년 11월 20일
댓글: Cecilia Tan 2020년 4월 21일
Hello,
I have 2500 images and would like to label ground truth automatically without manually drawing bounding boxes. Could anyone help to show me the codes and steps please?
  댓글 수: 1
Cecilia Tan
Cecilia Tan 2020년 4월 21일
Hi Dahe, Oh great. Thanks for helping out Dahe!

댓글을 달려면 로그인하십시오.

채택된 답변

Ridwan Alam
Ridwan Alam 2019년 11월 21일
Automated data labeling is still an active research field.
Not sure if this would be helpful in the meantime:
  댓글 수: 2
Cecilia Tan
Cecilia Tan 2019년 11월 21일
Hi Ridwan,
Thank you for your reply. Yes that's right, I did try to use Image Labeler but that requires me to manually draw bounding box around an object for each image. This will take a long time so I'm looking at Automated Algorithm but I don't know how. Could you provide some codes?
Ridwan Alam
Ridwan Alam 2019년 11월 21일
I totally understand your frustration. We all had been there. But as Walter mentioned below, if we could automate the process of labelling, why would we need those labels for?
As a starter, you can manually label a few images > train a simple model > use that trained model to label some from the rest of the data > manually evaluate the performance, i.e. whether the model is doing a reasonable job in labelling > retrain with new data > reevaluate ..
As I said before, it's still an area of active research. Good luck!

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2019년 11월 21일
Ground truth data is, by definition, as accurate as an expert in the field can possibly be. For example for an overhead picture of land, ground truth does not just assume that a green blob is a tree: ground truth would be a botonist (or forester) going through the area in person or in high resolution photos and verifying that the blob is not just green paint and not just just a dark plant, but is indeed a tree (and not, for example, a herbacious growth such as a banana, as banana are herbs, not trees (no wood)).
If there were an algorithm that could give a ground-truth labeling from whatever inputs you have available, then you would probably not need to do whatever it is you intend to do with the ground truth labels. Not unless you were working an an algorithm that was perhaps less perfect but was substantially faster.
  댓글 수: 2
Cecilia Tan
Cecilia Tan 2019년 11월 21일
Hi Walter,
Thank you for your reply. I'm still new to Matlab. I think my problem is label ROI for each image so I can export the ground truth data of the object in the image. Is there a quicker way to label thousands of images?
Walter Roberson
Walter Roberson 2019년 11월 21일
편집: Walter Roberson 2019년 11월 21일
Sometimes it can help to do edge detection to create an interactive roi to throw up on the graph for the user to fine tune.
However context is important. If the question is picking out where a ball is in a well lit box then things might be fine. If the question is picking out brain tumors on MRI then that is not something that you can ground truth from MRI images alone: ground truth for that involves microscopy and possibly oxygen flow studies and possibly MRS. Ground truth for brain tumor images is not whether the shade of gray of the pixel hints that there might be a tumor at that location: ground truth for brian tumor images is whether or not there is a brain tumor at that location, which medical images only approximate.

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by