SaisieMasq : Différence entre versions
De MicMac
(→Help) |
|||
| (4 révisions intermédiaires par 2 utilisateurs non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
| + | [[Image:picto-liste.png|25px]] [[Command|List of commands]] | ||
==Description== | ==Description== | ||
SaisieMasq is a very simple tool to edit mask images. It creates a binary mask image from a polygonal selection in the displayed image. | SaisieMasq is a very simple tool to edit mask images. It creates a binary mask image from a polygonal selection in the displayed image. | ||
| − | + | ||
Processing is as follow : | Processing is as follow : | ||
*Click: add a point to polygon | *Click: add a point to polygon | ||
| Ligne 10 : | Ligne 11 : | ||
===Syntax=== | ===Syntax=== | ||
| − | The global syntax for SaisieMasq is | + | The global syntax for SaisieMasq is |
| − | < | + | <pre>mm3d SaisieMasq NameOfInputImage NamedArgs </pre> |
===Help=== | ===Help=== | ||
| − | You can access to the help by typing : | + | You can access to the help by typing : |
| − | < | + | <pre>mm3d SaisieMasq -help</pre> |
| − | + | ||
| + | |||
Mandatory unnamed args : | Mandatory unnamed args : | ||
*string :: {Name of input image} | *string :: {Name of input image} | ||
| Ligne 36 : | Ligne 38 : | ||
===Example=== | ===Example=== | ||
| − | < | + | For example, with the Mur Saint-Martin dataset you can launch : |
| + | <pre>mm3d SaisieMasq IMGP4173.JPG Attr=MonPlan</pre> | ||
Version actuelle en date du 23 février 2016 à 17:57
Sommaire
Description
SaisieMasq is a very simple tool to edit mask images. It creates a binary mask image from a polygonal selection in the displayed image.
Processing is as follow :
- Click: add a point to polygon
- Shift click: close polygon and apply selection
- Ctrl + right click: delete last point
- Shift + right click + Coul : switch between add mode and remove mode
- Shift + right click + Exit : save mask image and Xml file and quit
Syntax
The global syntax for SaisieMasq is
mm3d SaisieMasq NameOfInputImage NamedArgs
Help
You can access to the help by typing :
mm3d SaisieMasq -help
Mandatory unnamed args :
- string :: {Name of input image}
Named args :
- [Name=SzW] Pt2di :set window size (default=[900,700])
- [Name=Post] string :change postfix output file (default=_Masq)
- [Name=Name] string :: {Name of result, default toto->toto_Masq.tif}
- [Name=Gama] REAL : apply gamma to image
- [Name=Attr] string : string to add to postfix
Meaning of args is:
- First arg: pattern specifying the images to load (can be 1 or more images) - regular expression are supported.
- optional SzW, def = [900, 700], size of display window.
- optional Post, def = ”Masq” , postfix to add to output filename.
- optional Name, name of result.
- optional Gama, def = 1.0 , gama applied to images, it can help with dark images, or wide dynamics.
- optional Attr, text to add to postfix.
Example
For example, with the Mur Saint-Martin dataset you can launch :
mm3d SaisieMasq IMGP4173.JPG Attr=MonPlan