how to align the line detected to the middle of the image
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
PEIYU LIM
el 20 de Abr. de 2019
Comentada: PEIYU LIM
el 22 de Abr. de 2019
The two transmission line is detected and then how can I align that two blue lines to the middle of the image which are symmetrically
0 comentarios
Respuesta aceptada
Image Analyst
el 20 de Abr. de 2019
Presumably you know the angle if the line(s) since you plotted them over the grayscale image. So use imrotate() to rotate it, then use imtranslate() to shift it.
3 comentarios
Image Analyst
el 21 de Abr. de 2019
Yes, though after it's been rotated, it might be a little tricky to figure out how much to translate it. I don't have any code for that, so give it a try and attach your script if you can't figure it out.
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!