Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. How to measure two points on a foto?

How to measure two points on a foto?

Scheduled Pinned Locked Moved Visual Basic
htmltutorialquestion
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    Zero G
    wrote on last edited by
    #1

    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!

    D 1 Reply Last reply
    0
    • Z Zero G

      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!

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      Z 1 Reply Last reply
      0
      • D Dave Kreskowiak

        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

        Z Offline
        Z Offline
        Zero G
        wrote on last edited by
        #3

        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

        D 1 Reply Last reply
        0
        • Z Zero G

          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

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          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

          Z 1 Reply Last reply
          0
          • D Dave Kreskowiak

            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

            Z Offline
            Z Offline
            Zero G
            wrote on last edited by
            #5

            Hey OK & when "we" don't control, if there are pupils or not. Do you know, where I can find some tuts? THX!!

            D 1 Reply Last reply
            0
            • Z Zero G

              Hey OK & when "we" don't control, if there are pupils or not. Do you know, where I can find some tuts? THX!!

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              Zero-G. wrote:

              OK & when "we" don't control, if there are pupils or not

              :confused:

              Zero-G. wrote:

              Do you know, where I can find some tuts?

              The same place I'd start. Google[^]

              Dave Kreskowiak Microsoft MVP - Visual Basic

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups