Assign identification number to image
4 views (last 30 days)
Show older comments
i am working in mri brain tumor detection. i have two images to detect tumor but in step 1 first i have to assign identification number to image how this is possible?anyone please help
or suggest me technique or way or method to do this
3 Comments
Answers (3)
Image Analyst
on 9 May 2022
Edited: Image Analyst
on 9 May 2022
Try insertText if you want to burn the text into image pixels (changing the image). insertText requires the Computer Vision Toolbox.
0 Comments
Walter Roberson
on 10 May 2022
Edited: Walter Roberson
on 10 May 2022
You are asking for the wrong thing. What you need to do is create a matrix the same size as your image, in which each location is a code indicating what kind of data is in the image.
For example the "label image" might use the value 0 for things outside of the brain, 1 for skull, 3 for blood vessels, 4 for healthy brain tissue, 5 for benign tumour, 6 for invasive tumour.
It is not uncommon for people to reduce that to 0 for background, 1 for healthy, 2 for tumour.
0 Comments
See Also
Categories
Find more on MRI in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!