spiral analysis and removal of background
Mostra commenti meno recenti
Hi i am attaching an image. this has a computer generated spiral and a hand drawn spiral. i want to remove the numbers (angles) writeen on the image and check how the patient drawn spiral is different from the system generated.
please help me remove the numbers in this
Risposte (1)
Image Analyst
il 11 Feb 2024
0 voti
You don't need to remove the numbers. Even if you did, a simple fixed, pre-made mask would let you erase them. What you need to do is to get the (x,y) coordinates of the computer line and the hand drawn line. Do you have those? If not, do you have the two line images as separate images? Otherwise one of the lines will have "breaks" in it where they overlap.
You can find each color with the Color Thresholder on the Apps tab of the tool ribbon.
You'll have to go along the spiral because you can't simply find out which the distance of the purple pixel to the closest blue pixel because sometimes the purple pixel is closer to the curve either closer or farther away from the center than the blue curve that it's supposed to be on.
6 Commenti
siri meka
il 11 Feb 2024
Image Analyst
il 11 Feb 2024
Unfortunately you forgot to attach the two individual images.
You can either make a binary image with black where the numbers are, then do
yourImage(mask) = 255; % or 0
Or you can just extract the spiral alone with bwareafilt
spiralImage = bwareafilt(spiralImage, 1); % Extract largest blob.
If you have any more questions, then attach your two images with the paperclip icon after you read this:
siri meka
il 12 Feb 2024
Image Analyst
il 12 Feb 2024
I won't be able to answer for at least 12 hours because I'm doing something tomorrow morning. In the mean time, attach your attempts (m-file(s)) and another, different set of images, in case the algorithm might work for one set but not a different set.
Gauri Anil Kathote
il 6 Giu 2024
Did you find a solution for this problem?
Categorie
Scopri di più su Image Arithmetic in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!