4.8. Επεξεργασία επιλογής

Η εντολή Επεξεργασία επιλογής εμφανίζει το παράθυρο διαλόγου «Επεξεργασία επιλογής». Αυτό το παράθυρο διαλόγου εμφανίζει την ενεργή επιλογή στην τρέχουσα εικόνα και σας δίνει εύκολα πρόσβαση σε εντολές σχετικές με την επιλογή. Δεν αποσκοπεί πραγματικά για επεξεργασία επιλογών άμεσα, αλλά εάν δουλεύετε σε μια επιλογή, είναι βολικό να έχετε τις εντολές επιλογής όλες μαζί, αφού είναι πιο εύκολο το κλικ σε ένα κουμπί παρά η αναζήτηση εντολών στο δέντρο εντολών της γραμμής μενού. Η «Επεξεργασία επιλογής» επίσης προσφέρει μερικές προχωρημένες επιλογές για την εντολή «Επιλογή σε μονοπάτι».

4.8.1. Ενεργοποίηση της εντολής

Μπορείτε να προσπελάσετε αυτήν την εντολή από το κύριο μενού μέσα από ΕπιλογήΕπεξεργαστής επιλογής.

4.8.2. Περιγραφή του παραθύρου διαλόγου «Επεξεργασία επιλογής»

Σχήμα 16.19. Το παράθυρο διαλόγου «Επεξεργασία επιλογής»

Το παράθυρο διαλόγου «Επεξεργασία επιλογής»

Τα κουμπιά

Το παράθυρο διαλόγου «Επεξεργασία επιλογής» έχει πολλά κουμπιά που μπορείτε να χρησιμοποιήσετε για εύκολη πρόσβαση στις εντολές επιλογής:

Το παράθυρο εμφάνισης

Στο παράθυρο εμφάνισης, οι επιλεγμένες περιοχές της εικόνας είναι λευκές, οι μη επιλεγμένες περιοχές είναι μαύρες και οι μερικώς επιλεγμένες περιοχές είναι αποχρώσεις του γκρι. Κλικ σε αυτό το παράθυρο δρα όπως η επιλογή κατά χρώμα. Δείτε το παράδειγμα πιο κάτω.

Σχήμα 16.20. Παράδειγμα κλικ στο παράθυρο εμφάνισης «Επεξεργασία επιλογής»

Παράδειγμα κλικ στο παράθυρο εμφάνισης «Επεξεργασία επιλογής»

Το παράθυρο του επεξεργαστή επιλογής αφού πατήσετε.

Παράδειγμα κλικ στο παράθυρο εμφάνισης «Επεξεργασία επιλογής»

Εικόνα με την τελική επιλογή που εφαρμόστηκε.


4.8.3. Το παράθυρο διαλόγου «Επιλογή για προχωρημένες ρυθμίσεις μονοπατιού»

Σχήμα 16.21. Το παράθυρο διαλόγου «Προχωρημένες ρυθμίσεις»

Το παράθυρο διαλόγου «Προχωρημένες ρυθμίσεις»

Ο διάλογος «Επιλογή σε προχωρημένες ρυθμίσεις μονοπατιού», που παίρνετε με Shift κλικ στο κουμπί Επιλογή σε μονοπάτι, περιέχει έναν αριθμό επιλογών, τις περισσότερες από τις οποίες μπορείτε να ορίσετε με γραμμή ολισθητή ή πλαίσιο κειμένου. Υπάρχει επίσης ένα πλαίσιο ελέγχου. Αυτές οι επιλογές χρησιμοποιούνται κυρίως από προχωρημένους χρήστες. Είναι:

Align Threshold

If two endpoints are closer than this value, they are made to be equal.

Corner Always Threshold

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.

Corner Surround

Number of points to consider when determining if a point is a corner or not.

Corner Threshold

If a point, its predecessors, and its successors define an angle smaller than this, it is a corner.

Error Threshold

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.

Filter Alternative Surround

A second number of adjacent points to consider when filtering.

Filter Epsilon

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.

Filter Iteration Count

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.

Filter Percent

To produce the new point, use the old point plus this times the neighbors.

Filter Secondary Surround

Number of adjacent points to consider if Filter Surround points defines a straight line.

Filter Surround

Number of adjacent points to consider when filtering.

Keep Knees

This check box says whether or not to remove «knee» points after finding the outline.

Line Reversion Threshold

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.

Line Threshold

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.

Reparametrize Improvement

If reparameterization doesn't improve the fit by this much percent, the algorithm stops doing it.

Reparametrize Threshold

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.

Subdivide Search

Percentage of the curve away from the worst point to look for a better place to subdivide.

Subdivide Surround

Number of points to consider when deciding whether a given point is a better place to subdivide.

Subdivide Threshold

How many pixels a point can diverge from a straight line and still be considered a better place to subdivide.

Tangent Surround

Number of points to look at on either side of a point when computing the approximation to the tangent at that point.



[6] «Εύκαμπτη καμπύλη (Spline)» είναι ένας μαθηματικός όρος για μια συνάρτηση που καθορίζει μια καμπύλη χρησιμοποιώντας μια σειρά από σημεία ελέγχου, όπως η καμπύλη Μπεζιέ.

Δείτε τη Wikipedia για περισσότερες πληροφορίες.