mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-05 17:44:17 +05:00
End of shape recognition documentation
This commit is contained in:
parent
10957df41e
commit
d25a037763
BIN
doc/salome/gui/GEOM/images/feature_detect.png
Normal file
BIN
doc/salome/gui/GEOM/images/feature_detect.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 540 B |
BIN
doc/salome/gui/GEOM/images/feature_detection_dlg.png
Normal file
BIN
doc/salome/gui/GEOM/images/feature_detection_dlg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
BIN
doc/salome/gui/GEOM/images/feature_detection_dlg2.png
Normal file
BIN
doc/salome/gui/GEOM/images/feature_detection_dlg2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
@ -9,11 +9,24 @@ This tool allows you to create geometrical shapes automatically out from picture
|
||||
|
||||
\b Example:
|
||||
|
||||
Détection of the cost line on a nautical chart
|
||||
Detection of the cost line on a nautical chart
|
||||
|
||||
\image html contour_detection_example2.png
|
||||
|
||||
To use the <b>Shape recogition</b> tool you have to \ref import_picture_page "Import a picture" in the view first.Then you can choose to create either <b>contours</b> or <b>corners</b> out from this picture.
|
||||
To use the <b>Shape recogition</b> tool:
|
||||
|
||||
<ol>
|
||||
<li>\ref import_picture_page "Import a picture" in the view</li>
|
||||
|
||||
<li> Select <b>New Entity -> Shape Recognition</b> or click on \image html feature_detect.png </li>
|
||||
|
||||
</ol>
|
||||
|
||||
|
||||
|
||||
Then you can choose to create either <b>contours</b> or <b>corners</b> out from this picture.
|
||||
|
||||
\n
|
||||
|
||||
To create <b>Contours</b> :
|
||||
|
||||
@ -25,6 +38,41 @@ To create <b>Contours</b> :
|
||||
<li> Find a zone in the picture which color is representative of the zone you want to find the frontier of. Draw a rectangle on it to take a <b>Snapshot</b>.</li>
|
||||
|
||||
<li> Apply </li>
|
||||
|
||||
The \b Result will be a \b Compound of \b Edges or \b Wires from which you can explode the desired edges or wires.
|
||||
|
||||
\image html feature_detection_dlg.png
|
||||
|
||||
<b> Output type </b> :
|
||||
|
||||
<ul>
|
||||
|
||||
<li> \b Spline : each contour will be a single \b edge based on a B-Spline curve</li>
|
||||
|
||||
<li> \b Polyline : each contour will be a wire made of lines (i.e. a \b Polygon)</li>
|
||||
|
||||
</ul>
|
||||
|
||||
\note It's better to use the \b Spline output type unless you want to find the frontier of a polygon (rectangle ...)
|
||||
|
||||
</ol>
|
||||
|
||||
|
||||
\n
|
||||
|
||||
To create <b>Corners</b> :
|
||||
|
||||
<ol>
|
||||
<li> In the <b>Picture</b> field select a previously imported picture.</li>
|
||||
|
||||
<li> Apply </li>
|
||||
|
||||
The \b Result will be a \b Compound of \b Vertices
|
||||
|
||||
\image html feature_detection_dlg2.png
|
||||
|
||||
|
||||
|
||||
</ol>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user