On Wed, Feb 17, 2010 at 09:49:49AM +0000, Steve wrote:
> Hi List,
> 
> Could anyone point me in the direct of some software that would allow me
> to import a digital photo (JPEG), draw some lines on the image and then
> measure the angles between them?
> 
> I've set the subject as basic CAD software as that was my first thought
> as to what I'd need, but open to any software suggestions really. I've
> had a bit of a search on Linux CAD software - a lot of it seems to be
> either commercial or very complex.

   You can do this with The Gimp and a calculator. Load up your image,
go to Tools -> Measure, and drag out one of the lines you want to
compare. The (x,y) pixel distances and angle (relative to horizontal)
will be shown in the info bar at the bottom of the window. Do this
with the second line, and add/subtract the two angles as appropriate
to get the angle between the two lines.

   I'm going to try this in ASCII art:

   C
    \   B
     \ /
      X------x
     / \
    /   \
   A     D

   Measuring A-B will give you the angle B-X-x. Measuring C-D will
give you the angle D-X-x. Add the two together, and you have the angle
B-X-D (or C-X-A).

   Hugo.

-- 
=== Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
    --- "I used to do this as a kid" "... and now we get paid for ---    
                      it" -- Greg and Catherine,  CSI                    

Attachment: signature.asc
Description: Digital signature

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------

Reply via email to