Thread: Tracking position on an image

  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    2

    Tracking position on an image

    I have inputs that will tell me an x,y coordinate and with that position I need to plot it or track it on an image. I don't know where to start, help appreciated : )


    Carl

  2. #2
    Registered User
    Join Date
    Jan 2006
    Location
    Washington D.C.
    Posts
    25
    Well you could create a struct coord

    Code:
    struct coord
    {
        int x;
        int y;
    };
    Then create an array of coords, and using the distance formula between two points on the cartesian plane, plot it.

  3. #3
    Registered User
    Join Date
    Jan 2006
    Posts
    2
    How do I plot this on an image? After I get it to plot correctly, eventually I will only have it track the position so it deletes the plot of the last recorded position


    Thanks

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,662
    Well you could start with saying which OS/Compiler you're using, and just exactly what you're "plotting" on?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem reading tiff image files?
    By compz in forum C++ Programming
    Replies: 9
    Last Post: 10-30-2009, 04:17 AM
  2. Simple Image Processing
    By ejohns85 in forum C++ Programming
    Replies: 4
    Last Post: 03-19-2009, 12:10 PM
  3. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 06:23 AM
  4. Problem with linked list ADT and incomplete structure
    By prawntoast in forum C Programming
    Replies: 1
    Last Post: 04-30-2005, 01:29 AM
  5. Replies: 4
    Last Post: 03-02-2003, 09:12 AM