How to measure two points on a foto?
-
Hey NG I want to mease some points of an foto from a digital camera, like you can see http://www.prisma-computer.de/optik/software/augenoptik/foto-pupillometer.html[^] here. Does anyone know, how to do things like that? - Is there anywhere a tut? - I do work in VB2005 THX!
-
Hey NG I want to mease some points of an foto from a digital camera, like you can see http://www.prisma-computer.de/optik/software/augenoptik/foto-pupillometer.html[^] here. Does anyone know, how to do things like that? - Is there anywhere a tut? - I do work in VB2005 THX!
In order to measure the distance between two points on a plane, you need, at a minimum, one of three things: 1) A calibration of a known distance between two points in the photo on the same plane as the subject being measured. An example would be a scaled ruler or some other measurement. 2) The focal length of the lens used to take the photo. 3) The distance between the film plane in the camera and the target objects in the photo. From there, it's a matter of some trigonometry to get the distance between any two points on the same plane in the photo.
Dave Kreskowiak Microsoft MVP - Visual Basic
-
In order to measure the distance between two points on a plane, you need, at a minimum, one of three things: 1) A calibration of a known distance between two points in the photo on the same plane as the subject being measured. An example would be a scaled ruler or some other measurement. 2) The focal length of the lens used to take the photo. 3) The distance between the film plane in the camera and the target objects in the photo. From there, it's a matter of some trigonometry to get the distance between any two points on the same plane in the photo.
Dave Kreskowiak Microsoft MVP - Visual Basic
Hey Thanks for the fast answer. 1) - This 3 points are no problem. But 1) How Do I get the two pupils? - So that I I can't take a foto of a bottle or something? 2) How can I take the outermost points of the frame automatic, so that the user only has to insert the value for this points? Is there any sample, where I can take a look (Written in VB?) THX
-
Hey Thanks for the fast answer. 1) - This 3 points are no problem. But 1) How Do I get the two pupils? - So that I I can't take a foto of a bottle or something? 2) How can I take the outermost points of the frame automatic, so that the user only has to insert the value for this points? Is there any sample, where I can take a look (Written in VB?) THX
Now your getting into an area that I don't do. Image recognition is not part of my background at all. This is goign to take some SERIOUS research to find those pupils.
Dave Kreskowiak Microsoft MVP - Visual Basic
-
Now your getting into an area that I don't do. Image recognition is not part of my background at all. This is goign to take some SERIOUS research to find those pupils.
Dave Kreskowiak Microsoft MVP - Visual Basic
-
Hey OK & when "we" don't control, if there are pupils or not. Do you know, where I can find some tuts? THX!!