Hello Guest it is April 19, 2024, 08:46:40 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - TomHubin

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »
11
Video P*r*o*b*i*n*g / Re: New 3d Video Probe
« on: July 29, 2009, 06:38:09 AM »
Hello Eero,

> If I understand right the direction of the laserline can be chosen
> according to ones own needs.

Yes, that was the plan. More accurately the camera plus laser line assembly can be oriented as you wish. The relationship between the camera and the laser is fixed. The laser plane must be perpendicular to the camera lens axis.

> For me this would be parallel to X-axis

That is the way Art arranged his. Mine should work there as well.

> ( I tried parallel to Y-axis as well, problems are the same).

I presume that you calibrate for whichever axis that you are using.

> I have both the camera and the laser pointing down at 45 degrees
> so the camera is looking perpendicularly at the line (in the middle of
> its vertical field of view).

Sounds ok but I would like to see a photo or a drawing that shows the camera, the laser module, and the laser line. Can you post photos or links here for the benefit of others?

> I have a nice focusable line laser and Watchport V3 camera with a
> set of different lenses (tried 8mm F2.0 and 12mm F2.0). I have as
> well a Logitech QuickCam Pro. The Watchport has a problem of a
> bigger distortion of the picture (a straight line seen as slightly bent).

The longer focal length will usually have less distortion. Smaller field of view means more magnification for more detail too. Can you identify the lenses or the source? Are they part of the set that is sold for the Watchport or did you maybe find them on ebay.

> The QuickCam has a zoom that demands a calibration every time you
> plug it in after having disconnected it for milling work.

I can see where that would be very inconvenient.

> With Art's videoprobe the quickCam gave ok results but took always a lot of time setting up - the Watchport was useless.

I was able to use the Watchport/V2 with Art's plugin. I don't have a V3 to test with but I would expect it to work ok. I have one out for repair so may know more when it returns.

> With your Scan3D I understood the calibration should take care of -
> at least some of - the distortion.

That is the plan but not tested a lot. It seems to work on my setup but I use a lens that seems to have little distortion anyway. The math can be made to fix worse distortion. I just need to see some bad results first.
 
> And what's nice no calibration needed every time before a scan.

That was just a matter of saving the cal data. I think Art just did not get around to doing that when he was tinkering.

The problems:

1) I can't get the calibration process - done as you describe in the
> short manual - to correct the "bending". This is easy to see by
> scanning a flat surface with two parallel passes resulting to two
> "trays" with edges not meeting.

Sounds like the calibration may not have been done. The defaults should produce something recognizable but probably do little to correct distortion. I would like to see the data files and photos of the scan setup.

2)As I understand the calibration should automatically correct any slight
> deviation in the direction of the camera in relation to the laserline. I still
> get  the edges of two adjacent passes not meeting but as two slightly
> inclined bands. (This is easier to see using the QuickCam as the scan is not "bent")

I am not following you. I need to see the setup and the results.

3)The whole of these problems may be a result of some of the calibration
> process missing... In the Scan3D window after calibration the fields for
> FOVs, Elevation and Azimuth all show "1". ?

I think those are default values. You should get something like 45 degrees for elevation for your setup. It is possible that the point of the needle is not being seen or that the calibration scan not working right.

You need to be sure that the needle point is detected by the camera when the laser hits the point. That should be the only thing visible during the cal scan. You probably need to set the camera exposure time to a small value, like 1ms, so that the field is black except for a small area where the laser hits the point of the calibration needle. 

I am guessing by your numbers that you are using mm. I tested with inches but that should not matter.

Is the camera upside down or right side up or sideways? Photos of your hardware off the machine and on the machine would tell me a lot.

The camera orientation needs to be selected so that the line is horizontal in the second display. Ideally, that view should appear right side up for the part but would probably work upside down too. The line should not appear vertical in the second view.

Tom Hubin
thubin@earthlink.net

12
Video P*r*o*b*i*n*g / Re: Next version of Video Probing Plugin
« on: June 14, 2009, 05:57:13 PM »
When is the next version of Video Probing Plugin due out?

Is the source code available for expermentation?

Thanks!

Hello Haik,

Here is a link to my 3d Video Probe plugin for Mach3, along with Open Source Code.

http://www.machsupport.com/forum/index.php/topic,10959.msg74212.html#msg74212

Tom Hubin
thubin@earthlink.net

13
Will it be possible to use this function with a rotary axis instead of x or y and create a round 3d image of the scan? And can it be us with a video cam plugged to an av-input (composit) on a tv-card, or will that analog video make a poorer image than a digital web cam?

Hello jaru-eri,

Sorry for taking so long to contribute a response.

I have not yet done anything with a rotary stage. I have been plenty busy just getting a new XYZ scanning plugin done. Open source posted at "http://www.machsupport.com/forum/index.php/topic,10959.0.html". No reason why rotary stages cannot be used but it will be a while before I tackle writingl plugin software for that.

As far as camera types, all I can say is try it. My plugin uses VFW (Video For Windows) functions that have been available since the Windows 95 days, I believe. If your camera drivers work with Windows they should work with the plugin.

Download the plugin and see if your camera produces a picture in the plugin. if so, then get a laser line module and build a probe. 

Tom Hubin
thubin@earthlink.net

14
Video P*r*o*b*i*n*g / Re: setting up cammera and laser
« on: June 01, 2009, 10:51:45 AM »
Are you able to create a file with the point clouds.  I guess I need to set up so I can play around with your plugin and the hit up Art to see where he's going with his project. 

Thanks,
Greg

Hello Greg,

Scan3d creates 3 files. There is no provision yet for making up the file names yourself.

Scan3d.ini is used to save the setup and values for the plugin.

IIRC Scan3d.pts is raw data used for calibration. I won't swear to the full name but it is Scan3d.something-or-other.

Scan3d.xyz is the point cloud created during the scan. Rename it to save it.

Tom Hubin
thubin@earthlink.net

15
Video P*r*o*b*i*n*g / Re: setting up cammera and laser
« on: June 01, 2009, 10:21:29 AM »
Hi Tom,  I just found this thread and am very interested in scanning 3D images but have yet to get set up for that.  What would you use to edit the images once they are scanned?

Hello GAWnCA,

I would like the answer to that one myself. My area of expertise is the optics.

I use Rhino to show the point cloud but have not had time to go beyond that. I figure the folks that work with touch probes should have a solution to share. Maybe you should start a new topic to search for point cloud to something-or-other converters.

Art was working on Mach Cloud to convert point cloud files to more CNC friendly files but I never could get that to work. Point spacing might have been a problem. Also, Art used metric for his demos and I used imperial for my data. Could be a mismatch of some sort there.

Tom Hubin
thubin@earthlink.net 

16
Video P*r*o*b*i*n*g / Re: setting up cammera and laser
« on: June 01, 2009, 09:48:18 AM »
Hello Sid,

> IMHO,  even though the plugin is not 'perfected',  it is really pretty damn good at doing what it supposed
> to do.  I do have a list of things I have noticed that are 'funky'  but so far, I have been able to find ways to
> work around most of the issues.  Hopefully others will see this also when they start generating clouds.

Try Scan3d, my new Open Source 3d Video Probe plugin.
 
http://www.machsupport.com/forum/index.php/topic,10959.msg68643.html#msg68643

Tom Hubin
thubin@earthlink.net

17
Video P*r*o*b*i*n*g / Re: Calibration
« on: May 31, 2009, 10:21:57 PM »
Attached here is the calibration math for Scan3d, the Open Source 3d video probe plugin posted at:   

"http://www.machsupport.com/forum/index.php/topic,10958.msg74209.html#msg74209"

The equations were derived using MathCad then copied and pasted to Microsoft Word for ease of sharing.

The method is a least squares fit using a single point target viewed in multiple positions. This method compensates for some lens distortion. Insufficient distortion compensation will be obvious if multipass scans do not align well. If multipass mismatching occurs then more terms will need to be added to the equations. 

Tom Hubin
thubin@earthlink.net

18
Mach SDK plugin questions and answers. / Re: Video
« on: May 30, 2009, 11:18:05 PM »
Where do I go to download the video plugin?

Hello Luslugger,

For a lot of info on 3d video probing hardware, plugin software, examples of results, theory of operation, setup etc., go to the mach3 forum titled "Video Probing".

"http://www.machsupport.com/forum/index.php/board,67.0.html"

For only the plugin download

http://www.machsupport.com/forum/index.php/topic,10958.msg74209.html#msg74209

Tom Hubin
thubin@earthlink.net

19
Finished Plugins for Download / Re: 3d Video Probe
« on: May 29, 2009, 02:43:39 AM »
Hello,

Attached is the file gpl.txt which contains Open Source license info.

Tom Hubin
thubin@earthlink.net

20
HI James,

is ther a chance to work with the Open Source Code using the Visual Studio 2010 Professional Beta??
O.K. its a low cost version  ::)  but would be glad to use it



Hello mach1cnc,

You can use "Open Source" code just about anyplace that you want to use it. Include it in, or modify it to, suit your own application. The major restriction is that you must make your source code available as "Open Source" too.

You are even permitted to sell your product, if you wish. However, you must include all source code with your distribution or make the source code easily available if your normal distribution method is not practical for including source code.

Tom Hubin
thubin@earthlink.net

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »