Notifications
Clear all

Bad scan ! Help

14 Posts
2 Users
0 Reactions
854 Views
Pigm@lion613
Posts: 14
Topic starter
(@pigmlion613)
Active Member
Joined: 2 years ago

Hy,

after some problem with electronics parts, I try now to scan a part.

I use 2 green line lasers, well calibrated (vertical, crossing in the center of the plate). The camera is well centered too.

Calibration takes place properly. I try to scan a simple cylinder.

The result is like nothing!

In the configuration file, I have a doubt about certain parameters:
"turnable": {
"Steps": 3200,
"Radius": 100,
"Height": 80,
"degree_per_step": {
"Low": 3.6,
"Medium": 1.8,
"High": 0.8
}

Can you help me ?

Reply
13 Replies
Pigm@lion613
Posts: 14
Topic starter
(@pigmlion613)
Active Member
Joined: 2 years ago
Reply
leonnoel
Posts: 59
(@leonnoel)
Trusted Member
Joined: 5 years ago

Now the fun and guessing begin.   I don't know exactly what height dimension does so haven't changed from the 155 given in the example provided in the default.config.json file.  Please check the calibration chart information as the one I have is 6 rows, 11 columns and 13 mm squares which I beleive is the standard one for the Ciclops. If used 10 columns as the example shows you can have problems.  Find the page on the Fabscan web that shows how the columns and rows are determined.  I advise using a simple cubic to test your adjustments and calibration.  If you can get the 0 and 1 ply files to have good alignment then try a more complex.

For instance:

A tapered scale I think reveals that a laser or lasers or camera center may not be truly vertical. 

Different sizes in the plan view probably indicate that one or both lasers does not indeed pass through the table center.

In this part of the process so much can be adjusted, I'm sure that I'm only a beginner myself.

I would do this initial study not scanning color (texture).  Bloom or reflection will mess up what the camera sees and when you adjust the best trace the color scan is not good.

Incident light gives problems. There's a reason for the cover and inside black paint suggestion for the Fabscan.  Do your scan in a dark room at night for the best conditions, also adjust the camera parameters-contrast, saturation, etc. for the finest detectable laser line.

Don't only read the information on the Fabscan website once but perhaps 2 o3 times and then refer back often because things will surely change.  I strongly suggest Mario's book "Das 3D-SCANNER PRAXIXBUCH" as a reference.  It does a very adequate job of explaining and giving procedures which I have found to be very helpful.

I'm busy responding to something else but will give information on how to make a screen with black cloth for an enclosure that may help with the Ciclops,, also the cubic I use for checking my set up.

Reply
Pigm@lion613
(@pigmlion613)
Joined: 2 years ago

Active Member
Posts: 14

@leonnoel :thanks for this first response.

Currently, I used the calibration grid proposed on fabscanpi, with the right parameters in the configuration file. I use the cyclop in a closed box with a gray background.

I activated a single laser, and a full scan returns no trace and .... no error.

do you know what the "height" parameter in the "turnable" section is. is it the height of the turntable from the ground, or the height from the center of the camera.

Reply
leonnoel
(@leonnoel)
Joined: 5 years ago

Trusted Member
Posts: 59

@pigmlion613 No I don't know what the height dimension is for.  To make sure the stepper driver is set for the proper microstepping an easy way is place a mark on the turntable run a scan function and if it turns 360 degrees it is correct.  I think the relation of camera to turntable would be determined mathematically from the calibration pattern location and distance to the camera lens. If one were able to take the time and skill high enough looking at the software code you could discover it .

You may notice that although fun and frustration are spelled differently, they sometimes are closely related.

 

 

Reply
leonnoel
(@leonnoel)
Joined: 5 years ago

Trusted Member
Posts: 59

Another thought, If I understand your info when you tried one laser you did not get a trace, if so, how do you know the laser even triggered for each or any position?

Reply
Pigm@lion613
Posts: 14
Topic starter
(@pigmlion613)
Active Member
Joined: 2 years ago

Hy,

some news about my problems !

I made a closed box with a black interior around my cycle. The result is much better (scan_hibou.PNG).

But I still have some problems !

How to avoid having the lower trace, at the level of the turntable ?

I understood that the parameter turnable:height corresponded to the max height of the scan.

But nothing for the minimum height ?

Reply
leonnoel
(@leonnoel)
Joined: 5 years ago

Trusted Member
Posts: 59

@pigmlion613 This problem has been documented in the forum before.  The short answer is in the default.config.json file reduce the "origin_distance" a small amount in the pattern description.

I am sure the camera is able to see the laser sweep thru out its full range which includes reflections off the table, the bottom of the lid, and probably the floor of the box.  I would guess the program establishes a cylinder of acceptable dots (pixels) in the point cloud to display on your browser display and place in the .ply file.  This cylinder is determined by the table radius. the origin distance, and the height.  This means that there must be a lot of logic statements in the program to eliminate the unwanted points.

Reply
Pigm@lion613
Posts: 14
Topic starter
(@pigmlion613)
Active Member
Joined: 2 years ago

Thanks for this solution.

I now have another problem. The 2 captured clouds are very slightly offset from each other.

I checked that the 2 lasers are vertical, that they intersect in the center of the board.

The camera is also well calibrated on the center of the set.

I used Cloud Compare to realign the 2 clouds, but that is not the solution.

 

What could be the problem?

Reply
leonnoel
(@leonnoel)
Joined: 5 years ago

Trusted Member
Posts: 59

@pigmlion613 My first thought is that your centering of the camera or lasers may not be quite as accurate as you think they are.  The distance between the lasers to the camera may be different.  Check the plan view sizes.  Do you have a 3D printer.  If so, I can send the .stl files I use.  One is a calibration cone adapted from the Sarduscan version and the other is cubic  (square in plan view ,56mm across corners and 75 mm high).  I think it would be useful to evaluate the quality of your calibration as far as camera centering, verticals and laser centering. After this all that's left is the multipole of different settings to get a good scan which may be difficult and I'm not certain that I'm a good adviser for that.

Reply
Pigm@lion613
Posts: 14
Topic starter
(@pigmlion613)
Active Member
Joined: 2 years ago

the distance between each laser and the camera is the only thing I didn't think to check!

Yes I have a 3D printer.

I am very interested in your stl files and your method to guarantee me a good calibration.

Thanks in advance.

Reply
leonnoel
Posts: 59
(@leonnoel)
Trusted Member
Joined: 5 years ago

Hello,  I think we need to clarify what I met to say.  The distance between the plane of the camera trace for the same points on the object when scanned by laser0 and laser1 should be the same and if not show a likely error in camera centering or laser trace centering.

Here are zipped files of the calibration cone to aid in the calibration procedure and a test object which I use to grade the quality of my calibration.  The calibration cone aids in setting the vertical to the table and bypasses any variance to motor mounting and flatness of your mounting plane and variances in camera support.  You should be able to check the perpendicularity of the table plane to the motor axis with it and also check the perpendicularity of the lasers.  I would also recheck the passing thru center of the lasers after removing the cone before running the calibration.  Remember this is only an aid but no guarantee that you will do better. I think it improves your chances. 

Of course, you should check the accuracy of the calibration cone part in particular to ensure that it printed correctly.  Please correct my across corner dimension to 50mm for the cubic in the last communication.  The spacing of the small hole in the base is spaced according to the FabscanPi table.  I thread a 3mm flat head screw in the hole to aid in the location the of cone and cubic.  For the actual scan it has been recommended that double sided tape be used to prevent object rotation during scanning.  Depending upon the table used with your cyclops set up they may not fit.

 

 

Reply
Pigm@lion613
Posts: 14
Topic starter
(@pigmlion613)
Active Member
Joined: 2 years ago

OK. Thanks a lot. The printing of the 2 parts is in progress.

Can you explain to me how you use these 2 parts, and what should be the results obtained in terms of projection of the 2 lasers ?

Reply
leonnoel
Posts: 59
(@leonnoel)
Trusted Member
Joined: 5 years ago

Use of Calibration Cone and Test Cubic

The calibration cone is derived from what is used on the Sardauscan scanner. I find that it provides a better base to rest on the turntable and expect it perhaps to be more accurate than depending on the perpendicularity of a cemented-on calibration chart to a support. A well-adjusted 3D Printer should produce an accurate rendition of the cone, but I encourage checking with a drafting triangle and flat surface for perpendicular accuracy.

Actual setup procedure is consistent with what you would normally do as advised on the FabscanPI web site. The turntable center must be determined and marked preferably with crossed lines. Place the cone face on a line and centered. Set the vertical green line of the camera in the browser window on the center. The camera may have to be translated and rotated to get it in line vertical. Check to verify that it passes over the turntable center without the cone in place. Then I would put the cone back in place on each of the four quadrants to be sure it is consistently vertical in each place as I think any difference indicates an error in turntable center mark or turntable plane not perpendicular to the motor axis. This is possible but not too likely to occur with the FabscanPi design. The browser refresh rate is slow so this will take some time. Any inconsistency should be corrected before you continue.

After all of this, with well-focused lasers go ahead and adjust to give vertical lines centered on the turntable and cone vertical. Again, a check of passing over the turntable center without the cone in place is justified.

Now run your calibration.

At this point with a successful calibration, i would expect a perfect rendition of the test cubic for a perfect setup of the camera trace and lasers. Perfection is often difficult, so I use the test cubic to judge how well I have done and if not satisfied with the result, do the procedure again.

After you are satisfied with the test scan results, go ahead and try scanning an object of your choice. I have not used the version 10 software enough that I care to advise as to the settings for scanning as there are many setting selections available. See what is available on the Forum. As I have mentioned before Mario's book "DAS 3D-SCANNER PRAXISBUCH" gives a very comprehensive explanation of the scanning process and items to be considered, the handling of the .ply files and the rendition of the mesh with the available software. Unfortunately, as I don't know the German language, I have had to depend upon Google Translate which does a very creditable job.

Good luck.

Reply
Share: