Clear Filters
Clear Filters

Classification Methods for images

2 views (last 30 days)
Dear Sir/ Madam,
I have made a binary classification based on images of coronary vessels using the AlexNet classification method.
Is it possible to write and display on the images as True Positive and True Negative, which code can I use?
I would be grateful if you could give me some ideas
Best regards
Serife Kaba

Accepted Answer

Image Analyst
Image Analyst on 29 Dec 2022
Sure. After you call predict you have an array of the assigned classes for the list of images you passed in. You can just go down that list in a for loop calling imread() and text() to display and label the image with the class that the network decided it matched best.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!