Il comando mostra la finestra dell'«Editor della selezione». Questa finestra di dialogo mostra la selezione attiva nell'immagine corrente e permette un facile accesso ai comandi che riguardano la selezione. Esso non è realmente inteso per modificare direttamente le selezioni ma, se si sta lavorando su una selezione, è comodo avere sottomano tutti i comandi relativi, dato che è molto più semplice fare clic su un pulsante che non cercare il comando in un albero di menu. L'«Editor della selezione» offre anche alcune impostazioni avanzate per il comando «Selezione a tracciato».
È possibile accedere a questo comando dal menu principale tramite → .
La finestra di dialogo «Editor della selezione» possiede diversi pulsanti che possono essere usati per accedere comodamente ai comandi di selezione:
Il pulsante Seleziona tutto.
Il pulsante Seleziona niente.
Il pulsante Inverti selezione.
Il pulsante Salva sul canale.
Il pulsante A tracciato. Se si tiene premuto il tasto Maiusc mentre si fa clic su questo pulsante, viene visualizzata la finestra di dialogo Impostazioni avanzate. Per i dettagli su queste opzioni, consultare la sezione successiva.
Il pulsante Delinea la selezione.
Nella finestra di monitor, le aree selezionate dell'immagine vengono visualizzate come bianche, mentre quelle non visualizzate come nere e quindi quelle parzialmente selezionate sono in scala di grigi. Facendo clic su quest'immagine si agisce come in una Selezione per colore. Vedere l'esempio più avanti.
Figura 16.20. Esempio di clic sulla finestra monitor dell'«Editor della selezione»
La finestra di modifica della selezione dopo il clic.
Immagine con la selezione risultante applicata.
La finestra di dialogo «Impostazioni avanzate da selezione a tracciato» che si ottiene facendo clic con il tasto maiusc premuto sul pulsante , contiene molte regolazioni, delle quali diverse sono impostabili con un cursore o con una casella di immissione dati. Queste opzioni sono usate principalmente da utenti avanzati. Eccole:
If two endpoints are closer than this value, they are made to be equal.
If the angle defined by a point and its predecessors and successors is smaller than this, it is a corner, even if it is within Corner Surround pixels of a point with a smaller angle.
Number of points to consider when determining if a point is a corner or not.
If a point, its predecessors, and its successors define an angle smaller than this, it is a corner.
Amount of error at which a fitted spline[6] is unacceptable. If any pixel is further away than this from the fitted curve, the algorithm tries again.
A second number of adjacent points to consider when filtering.
If the angles between the vectors produced by Filter Surround and Filter Alternative Surround points differ by more than this, use the one from Filter Alternative Surround.
The number of times to smooth the original data points. Increasing this number dramatically, to 50 or so, can produce vastly better results. But if any points that «should» be corners aren't found, the curve goes wild around that point.
To produce the new point, use the old point plus this times the neighbors.
Number of adjacent points to consider if Filter Surround points defines a straight line.
Number of adjacent points to consider when filtering.
This check box says whether or not to remove «knee» points after finding the outline.
If a spline is closer to a straight line than this value, it remains a straight line, even if it would otherwise be changed back to a curve. This is weighted by the square of the curve length, to make shorter curves more likely to be reverted.
How many pixels (on the average) a spline can diverge from the line determined by its endpoints before it is changed to a straight line.
If reparameterization doesn't improve the fit by this much percent, the algorithm stops doing it.
Amount of error at which it is pointless to reparameterize. This happens, for example, when the algorithm is trying to fit the outline of the outside of an «O» with a single spline. The initial fit is not good enough for the Newton-Raphson iteration to improve it. It may be that it would be better to detect the cases where the algorithm didn't find any corners.
Percentage of the curve away from the worst point to look for a better place to subdivide.
Number of points to consider when deciding whether a given point is a better place to subdivide.
How many pixels a point can diverge from a straight line and still be considered a better place to subdivide.
Number of points to look at on either side of a point when computing the approximation to the tangent at that point.