How to apply regression on images.
Afficher commentaires plus anciens
I want to do regression on one image taking other image as reference. I want to match these image DN values using regression.
6 commentaires
Walter Roberson
le 13 Mai 2014
Modifié(e) : Walter Roberson
le 13 Mai 2014
"regression" requires a model. What model are you using? What are your predictor variables?
What is a "DN value" in this context?
Image Analyst
le 13 Mai 2014
DN = Digital Number, basically, gray level.
Tanya
le 15 Mai 2014
Image Analyst
le 15 Mai 2014
Modifié(e) : Image Analyst
le 19 Août 2018
I don't know what it means. Let's say that your reference image is cameraman.tif standard demo image, and your other images are cell.tif, moon.tif, and coins.png. Assuming they are all the same size, what do you want to do with those? Do you want to fit each and every pixel to a line?
If you simply want "to display output image (which is regressed)" you can use imshow().
Star Strider
le 15 Mai 2014
Tanya — What is a ‘9 polynomial fir’? To me it implies a 9th-order finite impulse response filter. If it’s a 9th-degree polynomial you are fitting with polyfit, why?
Tanya
le 18 Mai 2014
Réponses (1)
Elp
le 19 Août 2018
0 votes
How could be solved this problem ?
2 commentaires
Image Analyst
le 19 Août 2018
It can't. Notice she never answered questions about what exactly that means. So, since no one has any idea of what she wants, we can't solve it for her. If you want to start a new question and explain it A LOT better than what Tanya did, you'll probably get an answer.
Elp
le 20 Août 2018
Thank you for your answer. My question is the following: i have a bunch of templates (let's say 180) and one input image. Like in a puzzle, i need to sum up some of the templates to recompose my input image. I was thinking to apply a linear regression ( non negative one, because i can not use negative weights), and after getting rid of the remaining weights that are associated with really high correlated templates. Are there a better way to do this?
Catégories
En savoir plus sur Blue dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!