Slope of multiple lines in a jpeg image
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Paulo
el 14 de Abr. de 2015
Comentada: Paulo
el 14 de Abr. de 2015
Hello everyone,
I have a simple question. I want to know the slope of multiple lines in an image. I wanted to try polyfit but I didn't manage to separate the corresponding points to calculate the slope.
Any suggestions ?
3 comentarios
Image Analyst
el 14 de Abr. de 2015
And if it's about finding some coordinates in an image, wouldn't it make sense to post the image?
Respuesta aceptada
Image Analyst
el 14 de Abr. de 2015
It would have been best if you just attached the image in the first place, don't you think. It was really easy so I just went ahead and did it all for you. See attached demo, below the image it creates:
For blob #1, the slope = 0.198371
For blob #2, the slope = -0.465403
For blob #3, the slope = 1.088155
For blob #4, the slope = -1.784847
For blob #5, the slope = 8.596451
For blob #6, the slope = 8.703217
For blob #7, the slope = -1.780951
For blob #8, the slope = 1.088187
For blob #9, the slope = -0.463639
For blob #10, the slope = 0.200490
Más respuestas (1)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!