HOME GUIDE OPERATIONS DOCS ERRORS FORMATS INSTALL NEW TIPS WEB SITES

PT U - PaTtern Update

(10/17/94)

PURPOSE

Using 'PT U' you are able to update any pattern or mask file (consisting of 0's and 1's) by combining a set of elementary patterns. Elementary patterns are: (P)oints, (L)ines, (C)ircles, (T)riangles, and (R)ectangles. These elementary patterns can either be "added" (i.e. the corresponding image points will be set to 1.0) or "subtracted" (i.e. the corresponding image points will be set to 0.0).

SEE ALSO

PT [Create pattern]
PP LL [Put lines in image from doc. file coordinates]
PP P [Put points in image from doc. file coordinates]

USAGE

.OPERATION: PT U
[Update an existing file.]

.INPUT FILE: INP001
[Enter the name of the existing pattern file.]

.ENTER CODE (P,L,C,T,R,S): P/L/C/T/R/S
[Enter the pattern code desired.]

(P)oint: Valid codes are: P or PS

If P or PS, SPIDER will ask:

.ENTER COOS: 12,15
[Enter the coordinates of the point.]

[The specified image point will be set to 1.0 (code: P) or to 0.0 (code PS), respectively.]

(L)ine: Valid codes are: L or LS

If L or LS, SPIDER will ask:

.ENTER COOS OF 1. POINT: 12,17

.ENTER COOS OF 2. POINT: 23,32
[Enter the coos of the two points that are the margins of the line.]

[All points along the line between the two specified margin points (i.e. the nearest grid point in every column and row) will be set to 1.0 (code: L) or to 0.0 (code: LS), respectively.]

(C)ircle: Valid codes are: C, CS, CL, or CLS

If C,CS,CL,or CLS, SPIDER will ask:

.ENTER CENTER COOS: 12,15

.ENTER RADIUS: 8.
[Enter center coos and radius of the circle.]

[Either, all points within the area limited by circle with the specified center and radius are set to 1.0 (code: C) or 0.0 (code: CS), respectively, or, only those image points belonging to the margin of the specified circle (i.e. the points lying on the margin line of the circle) are set to 1.0 (code: CL) or to 0.0 (code: CLS), respectively.]

(T)riangle: Valid codes are: T, TS, TL, or TLS

If T,TS,TL,or TLS, SPIDER will ask:

.ENTER COOS OF 1. POINT: 12,16

.ENTER COOS OF 2. POINT: 22,10

.ENTER COOS OF 3. POINT: 3,5
[Enter the coos of the three margins of the triangle.]

[Either, all points within the area limited by the triangle with the specified margin points are set to 1.0 (code: T) or 0.0 (code: TS), respectively, or, only those image points belonging to the margin lines of the specified triangle are set to 1.0 (code: TL) or to 0.0 (code: TLS), respectively.]

(R)ectangle: Valid codes are: R, RS, RL, or RLS

If R,RS,RL, or RLS, SPIDER will ask:

.ENTER COOS OF UPPER LEFT POINT: 10,8

.ENTER IXOFFSET, IYOFFSET: 2,4
[Enter the coos of the upper left point of the rectangle and the offset in x- and y-direction, respectively.]

[Either, all points within the area limited by the specified rectangle are set to 1.0 (code: R) or 0.0 (code: RS), respectively, or, only those image points belonging to the margin lines of the specified rectangle are set to 1.0 (code: RL) or to 0.0 (code: RLS), respectively.]

.CONTINUE ? [Y,N]: Y
[Enter 'Y' if you want to "add" or "subtract" another elementary pattern, enter 'N' if you are ready.]

SUBROUTINES

MCIRCL, MLINE, MPOINT, MRECTL, MTRIAN, PTTERN

CALLER

CONF1

© Copyright Notice /       Enquiries: spider@wadsworth.org