Normally when i google to convert pixel to mm,it's saying
1pixel = 0.264 mm
Is this value is same for every resolution value, if I need this conversion in 512*512 resolution.How can I do it?
Normally when i google to convert pixel to mm,it's saying
1pixel = 0.264 mm
Is this value is same for every resolution value, if I need this conversion in 512*512 resolution.How can I do it?
Please read something on the basics of image processing. Then you can answer the question for yourself and you will have a chance to actually do some image processing without coming here ever 5 minutes.
A pixel does not have a size per se. Only if you determin the pixel size for some perticular scenario you can translate between pixels and meters.
Please also note that display elements and sensor elements are also often called pixels. Display and sensor elements do have a physical size.
Read: https://en.wikipedia.org/wiki/Digital_camera https://en.wikipedia.org/wiki/Dots_per_inch https://en.wikipedia.org/wiki/Resolution_independence https://en.wikipedia.org/wiki/Display_resolution https://en.wikipedia.org/wiki/Image_resolution https://en.wikipedia.org/wiki/Pinhole_camera_model
and anything else you need to understand what a pixel is.
In general if you want to display something in a given size you have to know how big one pixel is displayed. Then simply divide the wanted size by that pixel size to get the number of pixels you have to display. If you want to get the metric size of an object in your image take the number of pixels and multiply that with the pixel size.
Pixel sizes have to be calibrated or taken from image sensor or display datasheets. You cannot simply google for a universal translation factor.