If I make equatorial triangle in AUTOCAD with such as 50 mm Dimension and save it .jpg image, then we use this image in MatLab it will show the same dimension in MatLab with same area or different. If different dimension than what we do?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Akhilesh Singh
el 17 de Mzo. de 2014
Editada: Akhilesh Singh
el 17 de Mzo. de 2014
Plz. Answer my such dought which i have:-
1. i want the same area and i want to find the area of equatorial triangle in Matlab.
2. which code i use to find the area of equatorial triangle.
0 comentarios
Respuesta aceptada
Walter Roberson
el 17 de Mzo. de 2014
If all you give to MATLAB is the image as an image file, then all that you can be sure of getting is the area in square pixels. To do that, threshold the image and then use regionprops(ThresholdedImage, 'Area')
There is a possibility that the image file passed from AutoCad might have an EXIF or TIFF header that allows the "50mm" to be retrieved from the image file. But if not, then you would need to tell MATLAB the real-world dimensions in order to calculate real-world area.
1 comentario
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!