Previous in Forum: Different Fresh Air Allowances Per Person   Next in Forum: Point Load vs Total Distributed Load
Close
Close
Close
24 comments
Rate Comments: Nested
Active Contributor

Join Date: Sep 2008
Location: Saudi Arabia, Jeddah
Posts: 17

Converting Picture to CAD Object

05/21/2012 9:00 AM

Dear All,

I have high resolution camera, I use it to scan an A0 maps. This maps originally generated by AutoCAD. Every day, I have a big quantity of these maps.

After I got each picture, I want to work on it to get some measurements.

Is there any way allow me to convert these maps from its format (JPG or GIF) into objects?

I want to convert the maps lines into AutoCAD or any other application outline.

The maps only Black & white.

regards

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
Hobbies - CNC - New Member Hobbies - DIY Welding - New Member Engineering Fields - Electromechanical Engineering - New Member

Join Date: Aug 2007
Posts: 23647
Good Answers: 420
#1

Re: Converting Pic to Cad Object

05/21/2012 9:17 AM

if I understand, you want to change raster to vector format.

Try this.

Insert it into a drawing, export the picture out as a metafile. Then import it in.

__________________
“ When people get what they want, they are often surprised when they get what they deserve " - James Wood
Register to Reply
Guru
Hobbies - CNC - New Member Hobbies - DIY Welding - New Member Engineering Fields - Electromechanical Engineering - New Member

Join Date: Aug 2007
Posts: 23647
Good Answers: 420
#2
In reply to #1

Re: Converting Pic to Cad Object

05/21/2012 10:02 AM

I have to withdraw that suggestion.

I just tried it.

That proceedure only works with text.

__________________
“ When people get what they want, they are often surprised when they get what they deserve " - James Wood
Register to Reply
Guru
Hobbies - CNC - New Member Hobbies - DIY Welding - New Member Engineering Fields - Electromechanical Engineering - New Member

Join Date: Aug 2007
Posts: 23647
Good Answers: 420
#3
In reply to #2

Re: Converting Pic to Cad Object

05/21/2012 10:41 AM
__________________
“ When people get what they want, they are often surprised when they get what they deserve " - James Wood
Register to Reply
Guru

Join Date: May 2008
Location: Aggieland, Texas
Posts: 722
Good Answers: 8
#15
In reply to #3

Re: Converting Pic to Cad Object

05/22/2012 8:55 AM

What I'd like to do is take an aerial picture of, say, an intersection, and then, convert it to a cad file. If I have a known dimension on the ground, could I establish a scale so I could get other dimensions (measurements)? This would really be handy for analysing traffic accidents, measuring land, buildings etc. Of course, a simple method of taking the picture would be required. With all the remote controlled helicopters, balloons, etc., this should not be a problem.

I know this can be done with Google Earth, but I'd like better resolution.

Have some fun today,

PAPADOC

RMFR

Register to Reply
Guru
Hobbies - CNC - New Member Hobbies - DIY Welding - New Member Engineering Fields - Electromechanical Engineering - New Member

Join Date: Aug 2007
Posts: 23647
Good Answers: 420
#17
In reply to #15

Re: Converting Pic to Cad Object

05/22/2012 1:02 PM

Try the local county extension office. They do have photos that they take for plant maps and acreage for area farmers. These are very accurate.

__________________
“ When people get what they want, they are often surprised when they get what they deserve " - James Wood
Register to Reply
Guru
Hobbies - DIY Welding - New Member Hobbies - Target Shooting - New Member Engineering Fields - Civil Engineering - New Member United States - Member - New Member

Join Date: May 2009
Location: Red Hook, New York (Mid-Hudson River Valley)
Posts: 4362
Good Answers: 179
#18
In reply to #17

Re: Converting Pic to Cad Object

05/22/2012 1:39 PM

Most County Planning Departments have the mapping you require. Most of it is done with GIS, but some others have old maps. Check 'em out. For a small fee they can convert the maps into drawing format (*.dwg, *.dxf).

If you're lucky to have a progressive county, then you may even find the applicable maps online at that level of government. Ditto with your various state departments, including the state DOT. And don't forget the US Ag Dept. and FEMA, and other Federal agencies...even NASA! Depends on what you are seeking....

__________________
"Veni, Vidi, Vici"; hendiatris attributed to Gaius Julius Caesar, 47 B.C.
Register to Reply
Guru
Popular Science - Evolution - New Member Popular Science - Weaponology - New Member

Join Date: May 2006
Location: The 'Space Coast', USA
Posts: 11119
Good Answers: 918
#4

Re: Converting Pic to Cad Object

05/21/2012 10:46 AM

Some CAD packages (i.e., Vectorworks) have a tool to convert bit mapped images to objects.

However, the degree of success varies and sometimes line thicknesses make the task difficult. You may find the results frustrating.

Lastly, photographing with a camera will create optical distortion of the map. If you do not believe it, photograph a large sheet of graph paper and then look at the photographic results.

Some software such as Photoshop have correction factors that you can apply to help. The amount of distortion is lens dependent and is not always a simple pin-cushion distortion, but a complex pattern.

The best alternative is to digitize the map using a line scanner or flat bed scanner.

Register to Reply
Guru

Join Date: Oct 2008
Posts: 42355
Good Answers: 1693
#5

Re: Converting Pic to Cad Object

05/21/2012 11:26 AM

If you already have the maps in Autocad, why all the bother converting?

Register to Reply
Guru
Hobbies - CNC - New Member Hobbies - DIY Welding - New Member Engineering Fields - Electromechanical Engineering - New Member

Join Date: Aug 2007
Posts: 23647
Good Answers: 420
#6

Re: Converting Pic to Cad Object

05/21/2012 11:31 AM

Back in the 80's, I wrote a conversion program, that converted DLG (Digital Line Graph) Satellite imagery from the USGS to a DXF. Had ideas of updated area platmaps.

Depending on the complexity you may be farther ahead instead of tracing but to contact a cartographer or if your are a cartographer, try the USGS.

__________________
“ When people get what they want, they are often surprised when they get what they deserve " - James Wood
Register to Reply
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#7

Re: Converting Pic to Cad Object

05/21/2012 1:44 PM

Another one to try is Aide pdf to DXF converter

http://www.aidecad.com/

Of course you need to somehow get the scale correct, and, bear the other comments here in mind.

__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Register to Reply
Guru
Popular Science - Biology - New Member Hobbies - Musician - New Member APIX Pilot Plant Design Project - Member - New Member Hobbies - CNC - New Member Fans of Old Computers - ZX-81 - New Member

Join Date: Jan 2007
Location: Centurion, South Africa
Posts: 3921
Good Answers: 97
#8

Re: Converting Pic to Cad Object

05/21/2012 2:25 PM

To convert from a digital photo to plan is possible. The direction to any point from the center point of the photo is always correct and on a flat surface like a plan the correct distance can be calculated rather accurately.

The distortion is less with the subject further away from the camera.

__________________
Never do today what you can put of until tomorrow - Student motto
Register to Reply
Guru
Popular Science - Evolution - New Member Popular Science - Weaponology - New Member

Join Date: May 2006
Location: The 'Space Coast', USA
Posts: 11119
Good Answers: 918
#9
In reply to #8

Re: Converting Pic to Cad Object

05/21/2012 9:06 PM

Generally, the distortion is less as the focal length goes up.

However, lenses create other distortions such as pincushion, barrel, or a wavy-line/mustache distortion which is a combination of the first two.

No lens is going to be free of this and the degree of accuracy required for the end result may render the camera approach difficult or useless.

A flat bed or line scanner is the only way to get a true representation of the original.

Register to Reply
Guru
Hobbies - HAM Radio - New Member United Kingdom - Big Ben - New Member Fans of Old Computers - Altair 8800 - New Member Canada - Member - New Member

Join Date: Jun 2006
Location: Toronto
Posts: 3968
Good Answers: 120
#10

Re: Converting Picture to CAD Object

05/22/2012 4:58 AM

Chart needs to be placed on a parabolic surface to make all points on the map equidistant from the camera. I have seen these used in Ottawa, cartography department. Making map pix, no need for CAD input. They keep the camera about 15 feet away, so the curvature is minimized/tolerable and have it well lit and they used a multimegapixel camera head.

This produced a simple undistorted picture.

To intake to CAD, you can use the mentioned programs, but there is a large need for editing on CAD programs to introduce the third dimension because the conversion program cannot extract the vertical component to create a vector diagram. This is time consuming and requires someone who knows the program well.

__________________
Per Ardua Ad Astra
Register to Reply
Guru
Popular Science - Evolution - New Member Popular Science - Weaponology - New Member

Join Date: May 2006
Location: The 'Space Coast', USA
Posts: 11119
Good Answers: 918
#12
In reply to #10

Re: Converting Picture to CAD Object

05/22/2012 6:18 AM

Theoretically, it would not be parabolic, just curved or semicircular.

Register to Reply
Guru
Hobbies - HAM Radio - New Member United Kingdom - Big Ben - New Member Fans of Old Computers - Altair 8800 - New Member Canada - Member - New Member

Join Date: Jun 2006
Location: Toronto
Posts: 3968
Good Answers: 120
#21
In reply to #12

Re: Converting Picture to CAD Object

05/22/2012 9:42 PM

True, a portion of a sphere, there being no need for parallelism

__________________
Per Ardua Ad Astra
Register to Reply
Power-User

Join Date: Sep 2009
Location: N38º3', W085º3'
Posts: 326
Good Answers: 19
#11

Re: Converting Picture to CAD Object

05/22/2012 6:03 AM

I use autodesk's Revit program to get these measurements from a jpg.

The jpg is inserted to the drawing area then scaled to real world dimensions. The topo features of Revit allow you to recreate a 3d topo map. Sections can be cut though the new topo map and measured at will.

Check out this short video tutorial .

Revit topo tutorial

oh yeah, the drawing exports to all the usual formats. dwg, dxf, ...............

__________________
There's a theory stating if anybody discovers exactly what the Universe is for & why it is here, it will instantly disappear & be replaced by something even more bizarre & inexplicable. There's another theory stating this has already happened.D Adams
Register to Reply
Guru
Hobbies - DIY Welding - New Member Hobbies - Target Shooting - New Member Engineering Fields - Civil Engineering - New Member United States - Member - New Member

Join Date: May 2009
Location: Red Hook, New York (Mid-Hudson River Valley)
Posts: 4362
Good Answers: 179
#13

Re: Converting Picture to CAD Object

05/22/2012 7:31 AM

cwarner, I got a bad link.....

Please try again.

__________________
"Veni, Vidi, Vici"; hendiatris attributed to Gaius Julius Caesar, 47 B.C.
Register to Reply Off Topic (Score 5)
Guru
Engineering Fields - Aerospace Engineering - Member United States - Member - Army Vet in the aviation industry

Join Date: Mar 2008
Location: Bridgewater, Va.
Posts: 2175
Good Answers: 119
#16
In reply to #13

Re: Converting Picture to CAD Object

05/22/2012 9:07 AM

It seems to work if you go to his home page, http://arohatgi.info/, then click on the webplotdigitizer link.

Hooker

Register to Reply Off Topic (Score 5)
Guru
Panama - Member - New Member Hobbies - CNC - New Member Engineering Fields - Marine Engineering - New Member Engineering Fields - Retired Engineers / Mentors - New Member

Join Date: Dec 2006
Location: Panama
Posts: 4273
Good Answers: 213
#19
In reply to #13

Re: Converting Picture to CAD Object

05/22/2012 7:34 PM

http://arohatgi.info/WebPlotDigitizer/

I misspelled "Digitizer" in the original link. I've been using Chrome browser lately, and can't figure out how to do a "cut and paste" in the CR4 editor, so I have to retype everything, which leads to errors...Sorry about that.

Register to Reply Off Topic (Score 5)
Guru
Hobbies - DIY Welding - New Member Hobbies - Target Shooting - New Member Engineering Fields - Civil Engineering - New Member United States - Member - New Member

Join Date: May 2009
Location: Red Hook, New York (Mid-Hudson River Valley)
Posts: 4362
Good Answers: 179
#14

Re: Converting Picture to CAD Object

05/22/2012 7:33 AM

phoenix & Randall, many thanks for those conversion software links!

Just what the Doctor ordered....I needed them badly here.

__________________
"Veni, Vidi, Vici"; hendiatris attributed to Gaius Julius Caesar, 47 B.C.
Register to Reply
Power-User
Australia - Member - New Member

Join Date: Jul 2008
Location: Newcastle NSW Australia
Posts: 236
Good Answers: 22
#20

Re: Converting Picture to CAD Object

05/22/2012 8:51 PM

We use a GIS mapping program, MapInfo from Pitney Bowes.

In that you can Open an image file. As you open it, you select the option to "Register" the image. This lets you select at least 3 points on the image & locate those same points on the map. The image is then overlayed at the correct scale into the map layers. It is still just an image, but you can measure points on the image using the MapInfo tools.

Similarly you can insert an image into AutoCAD, you just need to work out how to "scale" it correctly. I do not have this detail to hand at present, but others should be able to advise, or just read the AutoCAD Help files.

It will still be an image (not lines), but if it is scaled correctly when you import the image, then all dimensions taken should be accurate (up the the accuracy of the imported scale).

Hope this may be of some help.

Cheers

Tony

Register to Reply
Guru
Hobbies - DIY Welding - New Member Hobbies - Target Shooting - New Member Engineering Fields - Civil Engineering - New Member United States - Member - New Member

Join Date: May 2009
Location: Red Hook, New York (Mid-Hudson River Valley)
Posts: 4362
Good Answers: 179
#22
In reply to #20

Re: Converting Picture to CAD Object

05/22/2012 10:23 PM

This is OT, but in Autocad or IntelliCAD (which I have), how does one "rank" the layers? By this I mean, how do you subdue (or tone down) or place one layer behind another sort of like a transparency with text in the foreground layer? I cannot find it in the 'Help" section of the software.

I know this can be done because an experienced draftsman at a firm I worked for did it on our site plans....that was 14 years ago and I'll be damned if I can figure it out, but then again I'm no draftsman either.

I hope I'm making some sort of sense here!! LOL

HELP!!!!!

__________________
"Veni, Vidi, Vici"; hendiatris attributed to Gaius Julius Caesar, 47 B.C.
Register to Reply Off Topic (Score 5)
Power-User

Join Date: Sep 2009
Location: N38º3', W085º3'
Posts: 326
Good Answers: 19
#23
In reply to #22

Re: Converting Picture to CAD Object

05/23/2012 5:46 AM
[quote]

This is OT, but in Autocad or IntelliCAD (which I have), how does one "rank" the layers? By this I mean, how do you subdue (or tone down) or place one layer behind another sort of like a transparency with text in the foreground layer? I cannot find it in the 'Help" section of the software.

[quote]

The acad command line is "DRAWORDER".

If you like menu options: Choose "Tools" menu and "Display Order" submenu then simply click on the item you want moved to front or back.

__________________
There's a theory stating if anybody discovers exactly what the Universe is for & why it is here, it will instantly disappear & be replaced by something even more bizarre & inexplicable. There's another theory stating this has already happened.D Adams
Register to Reply Off Topic (Score 5)
Guru
Hobbies - DIY Welding - New Member Hobbies - Target Shooting - New Member Engineering Fields - Civil Engineering - New Member United States - Member - New Member

Join Date: May 2009
Location: Red Hook, New York (Mid-Hudson River Valley)
Posts: 4362
Good Answers: 179
#24
In reply to #23

Re: Converting Picture to CAD Object

05/24/2012 10:54 AM

Many thanks for the advice Geode! It works great!!!!

__________________
"Veni, Vidi, Vici"; hendiatris attributed to Gaius Julius Caesar, 47 B.C.
Register to Reply Off Topic (Score 5)
Register to Reply 24 comments
Copy to Clipboard

Users who posted comments:

Anonymous Hero (3); aurizon (2); CaptMoosie (5); cwarner7_11 (1); Geode Hunter (2); Hendrik (1); Hooker (1); lyn (1); OldTechNewToys (1); PAPADOC (1); phoenix911 (5); Randall (1)

Previous in Forum: Different Fresh Air Allowances Per Person   Next in Forum: Point Load vs Total Distributed Load

Advertisement