How 384x512x3 image coordinates convert in to mm or cm?
    4 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
i had image specification 384x512x3 units 8. now i had done some calculation which come up with x and y coordinates. how will convert this x and y values into mm or cm?
1 comentario
  Adam
      
      
 el 21 de Oct. de 2015
				You can resize a figure containing an image of a given pixel size so it could map to any size.
Respuestas (1)
  TastyPastry
      
 el 21 de Oct. de 2015
        
      Editada: TastyPastry
      
 el 21 de Oct. de 2015
  
      You really can't, unless you have some specification for how many pixels/cm your print or display is supposed to be.
For example, if you are making a GUI and you need to determine its size and/or position on a display, the uicontrol() option 'position' is specified as:
 Pixels.
 Starting in R2015b, distances in pixels are independent of your system resolution on 
 Windows® and Macintosh systems:
    On Windows systems, a pixel is 1/96th of an inch.
    On Macintosh systems, a pixel is 1/72nd of an inch.
 On Linux® systems, the size of a pixel is determined by your system resolution.
Here, if you're trying to do a pixels -> inches conversion, you have a conversion standard.
There needs to be some sort of metric by which you're using to convert pixels to a physical measurement.
0 comentarios
Ver también
Categorías
				Más información sobre Convert Image Type 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!