GB2153120A - Scan converter apparatus - Google Patents

Scan converter apparatus Download PDF

Info

Publication number
GB2153120A
GB2153120A GB08506834A GB8506834A GB2153120A GB 2153120 A GB2153120 A GB 2153120A GB 08506834 A GB08506834 A GB 08506834A GB 8506834 A GB8506834 A GB 8506834A GB 2153120 A GB2153120 A GB 2153120A
Authority
GB
United Kingdom
Prior art keywords
display point
display
radial
line
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
GB08506834A
Other versions
GB8506834D0 (en
GB2153120B (en
Inventor
Steven C Leavitt
Hugh G Larsen
Barry F Hunt
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HP Inc
Original Assignee
Hewlett Packard Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hewlett Packard Co filed Critical Hewlett Packard Co
Publication of GB8506834D0 publication Critical patent/GB8506834D0/en
Publication of GB2153120A publication Critical patent/GB2153120A/en
Application granted granted Critical
Publication of GB2153120B publication Critical patent/GB2153120B/en
Expired legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/52Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S15/00
    • G01S7/52017Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S15/00 particularly adapted to short-range imaging
    • G01S7/52023Details of receivers
    • G01S7/52044Scan converters
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • G01S13/06Systems determining position data of a target
    • G01S13/46Indirect determination of position data
    • G01S2013/468Indirect determination of position data by Triangulation, i.e. two antennas or two sensors determine separately the bearing, direction or angle to a target, whereby with the knowledge of the baseline length, the position data of the target is determined
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/52Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S15/00
    • G01S7/523Details of pulse systems
    • G01S7/526Receivers
    • G01S7/53Means for transforming coordinates or for evaluating data, e.g. using computers
    • G01S7/531Scan converters

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Ultra Sonic Daignosis Equipment (AREA)
  • Radar Systems Or Details Thereof (AREA)
  • Investigating Or Analyzing Materials By The Use Of Ultrasonic Waves (AREA)
  • Television Systems (AREA)
  • Analysing Materials By The Use Of Radiation (AREA)

Abstract

Apparatus for interpolating data obtained (20) along radial lines, so that it can be displayed (26, 28, 30) at display points ( + ) arranged in orthogonal rows and columns, by recursively adding stored values to derive signals indicative of the radial position of each display point along the radial data lines and its angular position between the radial data lines. Interpolation is done (24) along each radial line to derive first and second intermediate interpolated values, and these values are interpolated so as to derive the final data value for the display point at its angular position. Alternatively, the intermediate interpolated values can be attained by angular interpolation and the final data value by radial interpolation. <IMAGE>

Description

1 GB 2 153 120A 1
SPECIFICATION
Scan converter apparatus This invention is concerned with scan converter apparatus.
In instruments such as ultrasound scanners that are used to produce images of a cross-section of the heart and other organs of a patient, the data signals represent analog information along radial lines of a sector. Reproduction of the images in the same format is objectionable because of the voids between the radial lines. As a consequence of this, the modern approach is to sample the data along radial rays and write the sampled data into a digital display memory, 10 sometimes referred to as a digital scan converter. A description of this approach may be found in the article by J. Ophir and N. F. Maklad, entitled -Digital Scan Converts in Diagnostic Ultrasound Imaging-, Proc. IKE, Vol. 67, No. 4, April 1979. Samples of the analog data along each radial line are obtained at points having a uniform spacing of such dimension as to satisfy the Nyquist criteria. Their x,y coordinates are determined from their R, 0 coordinates and the 15 samples are transferred to the nearest display point in a display memory. By restoring to this point-to-point translation rather than true image reconstruction, a number of problems occur, but the one of greatest significance is the moir6 patterns that result from the fact that some display points in the display memory receive no information.
The moir6 pattern can be eliminated by fill-in techniques, such as translating to an empty 20 display point data from the sample written into the display point on either side, but artifactual boundaries or discontinuities are introduced into the image that are highly objectionable.
Another attempt to deal with the moir6 problem has been to insert one or more radial lines of interpolated data between the actual radial lines of data prior to translating the information to the display points of a display memory as previously described. Whereas the moir6 is reduced, 25 the fact that many display points receive more than one sample and the fact that the fast sample received is the only one that is reproduced in the image cause discontinuities that often manifest themselves in artificial---contrastiness- and radial tearing of the image. Attempted solutions to this problem have included peak detection or averaging of the samples written into a given display point. Although this does some good, it does not solve the problem. Furthermore, the 30 read-modify-write operations involved require complex circuitry that in the present state of the art may not function with sufficient speed to permit real-time operation at the desired sector scanning rate of thirty a second.
In our copending UK Patent Application no. 813299 1, there is disclosed apparatus for deriving from data samples at the intersections of radial lines of a sector with arcs having a 35 spacing s and the same origin as the radial lines respective final interpolated data values to be used at display points within said sector, said display points being arranged in rows and columns, said origin having a given location with respect to said rows and columns, there being a separation K. between the columns and a separation K. between the rows, said apparatus comprising an input to which data samples may be applied; memory means coupled to said 40 input for storing at least some of said data samples; selection means for identifying a display point and deriving said at least four data samples from the memory means, at least two from one radial line and at feast two from another radial line, the identified display point and the data samples being related in that the locations of said at least four data samples define an area containing the identified display point; and means for deriving from said at least four data 45 samples a final interpolated data value for said identified display point.
In our copending UK Patent Application no. 8418007, there is disclosed apparatus for deriving a signal representing the angular position of a selected display point in a field of display points disposed in orthogonal rows and columns, the columns being separated by K. and the rows KY, the said angular position being with respect to a pair of radial lines of a sector of radial lines having an origin at a predetermined position with respect to said rows and columns, said apparatus comprising means providing display point scanning signal identifying successive display points in a 'Scan from a given display point for which the angular position is known to an identified display point,-means for providing a signal, AXHAT, representing the product of KY and the difference between the tangents of the respective angles between said radial lines and a 55 column of display points, means responsive to said display point scanning signal for deriving a sum equal to the addition of the following values to the known distance between said radial lines as measured along a row including a given display point in scanning from said given display point to the identified display point, AXHAT for each step from one row to the next in a direction away from the origin, and -AXHAT for each step from one row to the next toward the 60 origin, the said sum being XHAT, means for deriving a sum equal to the addition of the following values to the know distance of a given display point from one of said radial lines as measured along the row of display points including said latter given display point in scanning from said latter given display point to the identified display point, + K. , for each step along a row from one display point within the radial lines to the next display point in a direction away 65 1 1 2 GB 2 153 120A 2 from the said one of said radial lines, - K. for each step along a row from one display point within said radial lines to the next display point in a direction toward the said one of said radial lines, + KytanO for each step along a column from one display point within said radial lines to the next display point in a direction away from the one radial lines, - KytanO for each step along a column from one display point within said radial lines to the next display point in a direction toward the one radial line, 0 being the angle between the said one radial line and a column, the said values being the same for steps in the same direction with respect to the rows and columns from display points outside the radial lines.
The present invention further provides a scan conversion system for translating analog data obtained from a scanner that scans along radial lines of a sector in sequence and at a given rate 10 for application to a display memory having display points effectively disposed in orthogonal rows parallel to an x axis and columns parallel to a y axis, the rows being separated by Ky and the columns being separated by K, comprising sampling apparatus for providing samples of the analog data occurring at sample points along said radial lines, said sample points being equally spaced from each other and having the same respective radial distance from the origin of the sector, memory means coupled to the output of said sampling apparatus, a source of display point scanning control signals for indicating the sequence of display point to display point steps K., parallel to the x axis or K, parallel to the y axis in order to scan the display points for each slice of the sector, means coupled to said source of display point scanning control signals for updating the x and y addresses of the display memory, means providing a signal representing A 20 XHAT equal to the absolute value of the difference between the tangents of the angles between the respective radial lines defining a slice and the y axis, means for deriving a signal XHAT for each display point of a slice, XHAT being equal to the distance parallel to the x axis between the radial lines defining the slice and passing through the display point, said means comprising an accumulator responsive to the display point scanning control signal for adding to the known value of XHAT for a previously scanned display point a value of AXHAT for each step of K. in scanning from that previously scanned display point to the display point for which the value of the signal XHAT is sought, means for providing the value KtanO where 0 is the angle between one radial line of each slice and the y axis, means responsive to said display point scanning signals for deriving a signal COUNT which is the distance parallel to the x axis of a display point 30 from one of the radial lines of a slice, by combining values of K. for steps parallel to the x axis and the values of KtanO for steps parallel to the y axis, means for obtaining from said memory a data sample on each of two radial lines, said samples having the same radius, and interpolating means responsive to the signals COUNT, XHAT and said data samples for deriving an interpolated data value for said display point at the angular position of said display point 35 between the radial lines of the sector.
Instead of translating data samples from points in the sector to selected points in the display memory, this invention provides means for selecting samples located at points on different radial lines that define an area or sub-slice, and deriving from those selected samples an interpolated data value for each display point contained in the sub-slice so as to form a true reconstruction of 40 the image throughout the area. Generally but not necessarily, the samples selected are located at the intersections of two concentric arcs with two radial lines so that the area referred to has inner and outer radial boundaries and angular boundaries. First and second intermediate interpolated data values are derived at the radial position of each display point from the pair of samples respectively along each radial line or at the angular position of each display point from 45 the pairs of samples respectively along each arc. If these first and second intermediate data values are derived at the radial position of a display point, a final interpolated data value is derived from them at the angular position of the display point; and if the first and second intermediate data values are derived at the angular position of a display point, a final interpolated data value is derived from them at the radial position of the display point. The radial 50 position of a display point is its radial location with respect to the arcs that are on either side of it, and its angular position is its angular location with respect to the radial lines that are on either side of it. As will be explained, more than a pair of data samples can be used to derive the first and second intermediate interpolated data values. The interpolation in either or both the radial or the angular direction may be performed with an arbitrary choice of interpolation 55 function; that is, we have chosen a---straight-line- function but, for example, a---cosine function, such as a Hanning window, could be used.
When the areas of an image are reconstructed in this manner, the problems of moir6 and other artifacts previously referred to simply disappear, provided every display point in the sector is addressed.
As there are about 125,000 display points in a sector it is apparent that the determination of their radial and angular positions and the interpolations referred to cannot be performed in the thirtieth of a second during which the sector is being scanned by straightforward calculations based on the x,y coordinates of the display points and the M positions of the data samples.
Therefore, an important part of this invention is the provision of means whereby all these 3 GB 2 153 120A 3 calculations can be done in real time.
Basically, this is accomplished by dividing the sector into slices that respectively lie between successive radial lines and providing display point scanning control signals that represent a stepby-step scanning along the rows and columns of display points in each slice in succession.
The radial position of each display point within a sub-slice is determined by recursive addition to or subtraction from the known radius of a previously scanned display point a stored value for each step along a row of display points and a different stored value for each step along a column of display points. After normalization the fractional part of the recursive addition is the radial weighting desired and is called RERR.
The angular position of each display point within a sub-slice is determined by recursive 10 addition to a known distance called COUNT of a previously scanned display point from one of the radial lines of a slice as measured along a row of display points in which the display point is located of a stored value for each step along a row of display points and a different stored value for each step along a column of display points so as to derive the signal or value COUNT for each display point. Another recursive addition is made to the known distance between the radial 15 lines of a slice long a given row of display points of a given stored value for each step along a column of display points so as to derive a signal or value XHAT for each display point. The signals COUNT for each display point may be divided by the signal XHAT for that point so as to derive a signal or value OERR representing the angular position. Minimal error is involved with respect to the true angular position expressed as a ratio of arc lengths between a display point 20 and the radial lines of the slice if the angle between the radial lines is small.
The saving in time for these calculations results from the small time required for each recursive addition as opposed to the time that would otherwise be required for a straightforward calculation of radius and angle. See the RERR and OERR calculations below.
Where the data samples represent brightness, as in an ultrasound system, only five bits are required to represent the thirty-two possible brightness levels that can be reproduced on a cathode ray tube. Thus, only five bits are required to represent the final values of RERR, COUNT, XHAT and OERR. In making the recursive addition, however, a larger number of bits, such as twelve, are used in order to reduce the amount of accumulated error to a tolerable level.
The interpolations can be effected in a very short time by multiplying with ROMs, and ROMs 30 of a reasonable size can be used because both the brightness samples and the values of RERR and OERR that are used in the interpolations have only five bits.
Basis of Recursive Calculations and the Stored Values Used For ease of notation, the center radial line is defined as 0 degrees. All angles are referenced to 35 this and considered positive, i.e., the + 45' radial line lies along both sides of a 90' section.
Also, when referring to a slice, the---outer-radial line RO has the larger angle labelled 0, and the ---inner-radial line R, has the smaller angle labelled 0, RERR If the movement is in the x direction, left or or right, then K. = 0. Conversely, if the movement is in the y direction, up or down, then K. = 0. If the movement in x is towards the center fine of the sector, then K. is positive, resulting in an incremental decrease by K.SinO, of the radius. Conversely, for an outward movement in x, K. is negative, resulting in an incremental increase by K.SinO, If the movement in y is away from the sector apex, then K. is positive; and if the movement in y is towards the apex, KY is negative.
The error weighting RERR and OERR, which are required at each display point, ostensibly require the explicit calculation of the radius R and the angle 0, where 0 is the angle between a vertical line through the center of the sector and a line through the display point to the apex of the sector slice. That is, for the jlh display point (1) R] \/XJ2 + y12 where (x,, y) are the rectangular coordinates of the j111 display point, and (2) 0,=tan-l- y 1 so However, it can be shown that equation (1) may be alternatively computed from a recursive 60 approximation resulting from a Taylor series approximation given by (3) R+, = R,-K.Sin02 + K,CoS02 where 02 represents the angle of the outer ray of the two radial rays making up the sector slice.65 4 GB2153120A 4 The recursive relationship adjusts the previous radius value by an incremental amount determined by the direction traversed between the previous point (j) and the new point (i + 1).
&ERR It will be shown that the stored value AXHAT that is added for each step of the scanned paths 5 along a column of display points to derive XHAT for each display point is tanO,-tanO, where 0, is the angle between the ray 0 = 0' and the outer radial line of a slice, and 01 is the angle between the ray 0 = 0 and the inner radial line of a slice. Thus, (4) XHAT j,, = XHAT, + AXHAT Ky.
It will also be shown that (5) COUNTi,j=COUNTj+K,,+KtanO, the value of tan02 being stored for each slice. 15 There now follows a detailed description which is to be read with reference to the accompanying drawings of several embodiments of the present invention; it is to be clearly understood that these embodiments have been selected for description to illustrate the invention by way of example and not by way of limitation. In the accompanying drawings:-
Figure 1 illustrates the basic components of a scan converter system; Figures 1A, 1 B and 1 Care graphic illustrations of the functions of the components of Fig. 1 Figure 2 is an illustration of radial lines and a field of display points arranged in rows and columns that is used in explaining the interpolations to be performed in accordance with the invention; i Figure 3 shows two pairs of radial lines used in explaining the basic calculations used in the 25 invention; Figure 4 is a general block diagram of a scan conversion system incorporating the invention; Figure M, shown in Fig. 7, illustrates the orientation of Figs. 5, 6, 7, 8 and 10 to form a complete diagram of the preferred embodiment of the invention; Figures 5, 6, 7, 8 and 10 illustrate the details of a preferred embodiment of the invention; Figure 4A illustrates an alternative interpolation means that can be used in Fig, 4; Figure 5A illustrates one form of digital information that may be provided by a scanner; Figures 6A and 6B are truth tables for the multiplexers of Fig. 6; Figure 7A illustrates the details of an address control counter used in Fig. 7; Figures 7B, 7B, and 7B, illustrates the operation of a translation ROM of Fig. 7; Figure 8A is a truth table for the ROM of Fig. 8 used in computing the radial position of a display point; Figure 8B illustrates the details of a radius counter of Fig. 8; Figure BC is a truth table for a ROM of Fig. 8 used for computing the angular position of a display point; Figure 9 graphially illustrates the operation of the preferred embodiment of the invention; Figures 11 and 12 are graphs illustrating the timing of various signals; Figure 13 illustrates an alternative embodiment of the invention wherein fewer components are used to perform the interpolation; Figure 14 illustrates another alternative embodiment of the invention employing a single ROM 45 for performing the interpolation; and Figure 15 illustrates a circuit in which the values of RERR and OERR as well as the interpolation are determined by a single ROM.
The block diagram of Fig. 1 illustrates the basic components of a digital scan conversion system of the type to which this invention pertains. A scanner 20 transmits acoustic pulses into 50 the body of a patient by means not shown and produces an analog signal representing the amplitudes of echoes received from structures of the body located along a number of radial lines of a sector shown in Fig. 1 A. Only a few radial lines are shown. As the analog signal is being received, uniformly spaced digital samples indicated by the dots in Fig. 1 A are derived from it along each radial line by an A/D converter 22 and applied to a scan conversion system 24. 55 Generally, as may occur in a system employing this invention, the first data sample is at the origin 0 of the sector and the other samples are at the intersections of the radial lines of the sector with equally spaced radial arcs so that data samples are also distributed along the radial arcs.
As pointed out in the discussion of the background of the invention, the function of a scan 60 conversion system 24 is to write digital data values derived from the data samples into appropriate display points of a display memory 26 that are effectively located along orthogonal rows and columns as indicated by the +s in Fig. 1 B. In order to do this, the scan conversion system provides the data value to be written and the x,y coordinates of the display point on the display memory 26 where it is to be placed. Once stored in the digital memory 26, the data can 65 GB2153120A 5 be read out from appropriate x,y coordinate points by a reading device 28 and placed into corresponding coordinte points of a display means 30 that are indicated by the + 's of Fig. 1 C.
Basic Principles of the Invention Fig. 2 is an enlarged view of a portion of the sector shown in Fig. 1 A in which the data 5 sample points are shown as dots appearing along radial lines R2 to R, at intersections of these radial lines with radial arcs A,0 to AU that are uniformly spaced by a distance s. Each data sample point is indicated by a letter S having a subscript equal to the radial line on which it appears and a superscript equal to the radial are on which it appears. The data sample points are thus also distributed along the radial arcs. The display points of a display memory such as 10 26 of Fig. 1 are indicated by +'s located in orthogonal rows and columns that are respectively parallel to x and Y axes. In order to shorten the drawing, portions of the radial lines R2 to R. have been omitted but, although not shown, the x axis passes through the origin 0 at which there is a display point. The spaces between rows of display points are Ky, and the spaces between columns of display points are K, In order to determine a final interpolated data value to be used at a display point such as DP, a signal or value RERRI representing the radial distance between DP and the radial arc A,, and a signal or value OERR' representing the angular displacement between DP and the radial line R3 are derived. Thus, RERR' and OERR' represent the radial and angular positions respectively of the display point DP relative to A,, and IR,. A first intermediate interpolated data value 11 can be 20 derived at the radial position of DP along the radius R, by linearly interpolating between the data samples at S," and S,12 in accordance with the following expression in which an indicates the value of a data sample:
S3" (s-RERR') + S3 12 RERR' (6) 11 = S Similarly, a second intermediate interpolated data value 12 can be derived at the radial position of DP along the radius R, by linearly interpolating the data samples at S, " and S,12 in accordance with the following expression:
(7) 12 S," (s-RERR') + S'12 RERR' The final interpolated data value FDP for DP can be derived at its angular position by linearly interpolating the first and second intermediate interpolated data values 1, and 12 in accordance with the expression:
(8) FDP = 1, (AO-'OERR') + 12.OERR' AO Instead of calculating OERR', a value COUNT, which is the distance between DP and R, as measured along the row of display points through DP and a value of XHAT which is the distance between R3 and R, measured along the same row of display points are determined. It can be shown that COUNT is proportional to XHAT as OERR' is proportional to AO. Thus, the final interpolated data value at the display point DP can be determined from the following expression 50 in which XHAT replaces AO of equation (8) and COUNT replaces OERR':
(9) FDP = 1, (XHAT-COUNT) + 12.COUNT XHAT The final interpolated data value for the display point DP could just as easily be derived by reversing the order of interpolation, i.e., a first intermediate interpolated data value l,' could be derived at the angular position of DP along the radial arc A,, by using the formula:
S31'. (XHAT-COUNT) + S,"-.COUNT 60 (10) l,' XHAT and a second intermediate interpolated data value 12' could be attained at the angular position of DP along the arc A,, by using the formula:
6 GB2153120A 6 (11) 1,= S3 12' (XHAT-COUNT) + S,1T.CO UNT XHAT so that the final interpolated value FIDP is given by the following expression:
I,' (s-RERR') + 12' (RERR) (1 V) FDP = S 10 As will become apparent, the calculations of these equations can be more easily performed if the radial position is represented by a signal RERR = REFIR'/s and the angular position is represented by a signal OERR = COUNT/MAT. RERR is the fractional position of DP between A, and A12 and OERR is the fractional position of DP between the radial lines R, and R, Thus, 15 for example, equation (6) becomes (6') 11=S,11'(l-RIERR)+ S,12' RERR and equation (1) becomes (9') FDP = 11 (1 -OERR) + 12-OERR.
it will be noted in either method of calculation that the first intermediate interpolated data value is derived by interpolating data samples along one of the radial and angular directions that 25 are on one side of DP in the other direction and that the second intermediate interpolated data value is derived by interpolating data samples that are on the other side of DP in the same one of the radial and angular directions. In the first method, the first intermediate interpolated value 11 was derived by finding an interpolated value of S," and S'IT, which are on the left side of DP in an angular direction; and the second intermediate interpolated data value 12 was derived 30 by interpolating S,' and S'12 that are on the right side of DP in an angular direction. When the angle between R3 and R, is small, 1,, 12 and DP are in a substantially straight line as there is little difference between the chord and the arc. Similarly, in the second method, I,' was derived by interpolating S3'1 and S,"' that are along the arc A, and on one side of DP in a radial direction; and 12' was derived by interpolating S3 12' and S,' 2 that are along the arc A, and on 35 the other side of DP in the radial direction.
Whereas the above description describes one way in which a scan conversion system incorporating this invention could operate, other ways will readily come to mind such as deriving 1, by interpolating four data samples along R3 and deriving 12 by interpolating four data samples along R,, or in the second method by interpolating four data samples along the arc A, to derive 40 l,' and by interpolating four data samples along the arc AU to derive l,'. Another method is to derive additional interpolated values 1,, and 1, in the same manner as 1, and 12 were derived and to interpolate all of them in the angular direction to derive a final interpolated value at DP.
Similarly, interpolated values 1,,' could be derived from the data samples along A,o and 121 could be derived from the data samples along A,3 and these could in turn be interpolated in the 45 radial direction to derive the final interpolated data value at DP. Another method is to use data samples at four sample points farther away from DP, such as S,10, Sl'0; S2, 3 and S,, 3 that define an area containing DP.
A straight line function has been illustrated for the interpolation described, but any nonlinear method of interpolation may be used to obtain an interpolated value at the radial or angular 50 position of DP. The type of interpolation used merely changes the weighting factor to be given to the data samples.
Basis of Calculation As previously pointed out, calculations of all the final interpolated display values in a sector by 55 straightforward methods would require far too much time to permit real time operation for instruments such as an ultrasound scanner that scan one sector in a thirtieth of a second.
Reference is now made to Fig. 3 for an explanation of the basis on which the calculations are made in accordance with the invention. Two radial lines from a scanner, an outer line R. and an inner line R, that define a slice are illustrated as making angles of 0, and 0, respectively with a 60column of display points along the y axis which is the central line of the sector. In order to be able to illustrate the concepts involved, the angle 0,-0, between the lines R, and R, has been greatly exagger'ated, being about 10' rather than the 1' or 11' generally employed.
4 Calculation of RERR 7 GB 2 153 120A The basis for the calculation of RERR can be understood by starting with a display. point DP, of Fig. 3 that happens to be on the outer radial line R, and noting what occurs when a step is made along the x axis toward the origin 0 to an adjacent display point DP2 that is the distance K,, from the display point DP,. If a perpendicular is dropped from RO through DP2, the acute angle of the right triangle thus formed is 02 and the side of the triangle opposite 02 is K.,Sin02. Subtraction of this amount from the radius of the display point DP,, whatever it is, yields in our calculation the lesser radius of the display point DP2 that is indicated by the radial length R2. That this is not precisely correct is clear from the fact that the true radial distance of DP2 is the hypotenuse of the right triangle of which R2 is one side and therefore less than the actual radius.
If the step were from DP2 to DP, i.e., away from the origin 0, the amount K.,Sin02 would be 10 added to whatever radius was calculated for DP2. A step in the + y direction of a length KY to DP3 adds, in accordance with the method of calculation, a length of KyCosO2, but this too can be seen to be slightly inaccurate because the radius R3 of DP., is less than the true radius. The fact is, however, that these errors are negligibly small of 02-0, is 11 or J' as usual.
Although the formulae and apparatus constructed in accordance with them utilizes the angle 15 02 of the outer radial line of each slice in making the radius calculation, one could alternatively choose 5nother angle---closeto- 02 in that it differs from 02 by an amount less than AO. Such a choice guarantees that errors within acceptable tolerances are maintained.
The radius at the origin 0 is zero. Therefore, if the display point scanning signals previously referred to cause a step-by-step scanning of the display points of the slice RO, R, starting with 20 the origin 0 as indicated by the dashed line 3 1, and if the value of K. Sin02 is subtracted for each step to the right and added for each step to the left, and if KyCosO, is added for each step along the y axis away from the origin, the radius of any display point in the scanning path can be determined with sufficient accuracy consistent with the quantitative errors for a display point lying within the slice bounded by R, R,.
Whereas the value of the radius of a display point may be used in a manner to be described to prevent the writing of data into the display memory, its more important function is to determine RERR so that the interpolations along the radial direction that were previously described can be performed. With a format where 1K.1 = lK,l = Isi = 1, RERR is merely the fractional part of the number representing the radius, but if K. is different from KY and from s, 30 then normalization techniques can produce radius values measured in units of s so that the fractional part is still RERR. Thus, we have (2) Rj,, = R,-K, SinO, + K,CoS02.
Calculation of XHAT XHAT has previously been defined as the distance between radial lines of a slice such as RO and R, of Fig. 3 measured along a row of display points or along the x axis. If a perpendicular 32 is drawn from the y axis at the position of a display point 34, the value of XHAT for display points in the same row can be derived as follows. If the number of increments of KY between the 40 origin 0 and the display point 34 is n, then as shown in Fig. 3 (13) x = nK.tan02 and (14) x=nKytanO, and (15) XHAT =x-x'=nK,tanO,-nK,tanO,.
From inspection, it can be seen that the value of XHAT increases a constant amount AXHAT for each change of KY along the y axis so that nKytan02-nK.tanO, 55 (16) AXHAT = = Ktan02-tanO, n Calculation of COUNT As used in the system to be described, COUNT is the distance from the outer radial line such 60 as RO to a display point as measured along a row of display points containing the display point for which a value of COUNT is sought. Since DP, of Fig. 3 is on the outer line R, its value of COUNT is zero. The value of COUNT for DP, is K.. Thus, any step along a row of display points toward the central line of the sector increases the value of COUNT by K,,, see DP, and DP,' of Fig. 3, and any step away from it decreases the value of COUNT by K When, however, the 65 8 GB 2 153 120A step is along a column of display points, or along the y axis, in a direction away from the origin 0, such as a step from DP, to DP., the value of COUNT is increased by KtanO, The value of COUNT for the display point at the origin is zero. Therefore, if the values of + K, - K., and KtanO2 are selected as noted above, the value of COUNT will be attained. Note 5 that we are inside the sector slice whenever 0:5COUNT<XHAT at any display point.
By dividing COUNT by XHAT, a fractional measure, OERR of the angular position of a display point between the radial lines RO and R, of a slice is determined. Since RERR is a fractional measure of the radial distance of a display point between two data sample points, OERR and RERR can be used in angular and radial interpolations in the same way.
When the value of COUNT is being determined for slices in the right half of the sector, 10 COUNT is still measured from the outer line, but as can be seen from Fig. 3, the outer line R,' is to the right of R,' rather than to the left of it as in the case of R, and R, By still measuring COUNT from the outside radial line R,', the same calculation will apply.
This is not to say, however, that the fractional angular position of a display point must be measured from the outer line R,) or Rj. It could, for example, always be measured with respect 15 to the left radial line, which is RO in the left half of the sector and R, in the right half. The calculations would be the same as just described for the left half, but in the right half, + K. and - K. would have to be interchanged and - tanO, would be used in place of + tanO, The latter could be added to a ROM, as will be explained.
Whereas the final interpolated data values for display points close to the origin are generally 20 unimportant, it is essential to obtain the values of RERR and OERR for these points as these values are needed in the recursive addition to derive the value of RERR and OERR required for calculating the final interpolated data values for display points that are of interest.
General System The block diagram of Fig. 4 generally illustrates a scan conversion system incorporating the various aspects of this invention. Its function is to calculte on a real-time basis the final interpolated data value for each of the approximately 125,000 display points of a display memory that lie within a ninety-degree sector such as indicated in Fig. 1A that is scanned about thirty times a second by a radial scanner such as 20 of Fig. 1. This is accomplished by determining the final interpolated data values for each display point of a slice, i.e., those display points on or between a pair of radial lines, and repeating the operation for each successive slice.
In Fig. 4, a radial scanner 33 supplies analog data obtained along each successive radial line to an A/D converter 35 that provides digitized samples of the data occurring at uniformly spaced points along the radial lines as illustrated by the samples S,O, Sill S12, S13 on the radius 35 R, and the samples So', S,', S,, and S,3' on the radius R, of Fig. 3. Inasmuch as the data used in the calculations for each slice are different, a line identification means 36 is provided for deriving from the scanner 33 signal an identification of the line being scanned. This can be effected in a number of ways such as by assigning a digital number to each line or by identifying a given line in a sector and counting the lines as they are scanned. However derived, 40 the line identificaflon signal is used by a write control means 38 to direct the digital data samples from the A/D converter 35 to storage points in a memory 40 in such manner that their radial positions along the lines are identifiable.
The following description relates to a means for deriving the signals RERR and OERR that represent the radial and angular positions respectively of a display point that are used in the 45 interpolation process as well as the means for obtaining data samples from the memory 40 that define an area containing the display point.
Means 42 derives from the radial scanner 33 a signal STRTL indicating the time when the scanner starts scanning along a radial line. In response to each signal STRTL, a means DI'SG provides display point scanning control signals that represent the sequence of steps in one of the directions + x, - x, + y or - y that are to be taken from a given display point, such as one at the origin of the radial lines, in scanning through the display points of the slice corresponding to the line identified by the signal provided by a line identification means 36.
Although the sequence of steps would normally include those in + x, - x, and + y directions as indicated by the display point scanning path illustrated by the dashed line 31 of Fig. 3, it would be possible for steps to be made in the - y direction as well. Means 46 respectively provides a signal indicating that a step is taken along the x axis, means 48 provides a signal indicating whether the step is in the + x or - x direction, means 50 provides a signal indicating that a step is taken along the y axis, and means 52 provides a signal indicating whether the step is in the + y or - y direction. By applying the outputs of the means 46 and 48 to an x address counter 54, the x coordinate of the display point for which a final interpolated data value is to be calculated in a manner to be explained is identified with respect to the x coordinate of the initial display point; and by applying the outputs of the means 50 and 52 to a y address counter 56, the y coordinate of the same display point is identified with respect to the y coordinate of the initial display point. The outputs of the x and y counters 54 and 56 are 65 9 GB 2 153 120A 9 respectively applied to address lines of a display memory DM so as to direct the final interpolated data value FDP for that point when it is determined to the proper location.
Calculation of Radii Determination of the radius of each display point identified by the display point scanning signal provided by the generator DI'SG may be effected as follows. The signal from the means 36 that identifies the line along which the radial position is to be determined in combination with the display point scanning control signal from the generator DI'SG select from a memory 58, which may or may not be a ROM, the appropriate one of values + K.SinO, - K,'SinO, + KyCosO or - KyCosO, as was discussed in connection with Fig. 3, for application to one input 10 of an adder 60. The angle 0 is the angle of a radial line that is reasonably close to the center angle of the slice. How close is determined by the amount of error that can be tolerated in the angular position. The output of the adder 60 is applied to a latch 62 that is operated whenever there is a step along the x or y axis, regardless of its direction, by connection of its clock input to the output of an OR gate 64 having its inputs respectively connected to the outputs of the x 15 counter device 46 and the y counter device 50. The output of the latch 62 is connected to another input of the adder 60. Together, the adder 60 and latch 62 form an accumulator that produces a signal at the output of the latch 62 representing the radius of the display point by adding all of the values of + K.SinO, - K.,SinO, + K.CosO or - K,CosO that were produced in response to each former step in the + x, - x, + y and - y directions along the scanning path 20 determined by the scanning control generator DIPSG.
Choice of Display Points At this point, it should be noted that inasmuch as a final interpolated data value may be derived for each display point in the scanning path determined by the signals provided by DI'SG, the time for making this computation for display points that are outside of the slice, hereinafter called overhead, should be minimized by using the following rules.
1. At sector apex, increment outside the outside line in the x direction.
2. If outside the outside line and heading outwards, drop vertically and reverse traverse direction in the x direction (change XDIR).
3. if heading towards the outside of a slice and no more points are within the slice farther out on the currently traversed raster and no farther points are on the succeeding line to be traversed, then drop vertically and reverse direction (change XDIR). If, however, another point is within the slice on the succeeding line, then continue traversal on the current line for another point, then follow Rule 2.
4. If heading towards the center of the sector, continue until you are within slice or inside inner line, drop vertically and reverse direction (change XDIR) after addressing the last display point within the current traversal which lies within the slice.
For points lying outside the slice, the final interpolated data value for such point should not be entered into the display memory DM because they may well be incorrect and may be read by a 40 display memory scanner 66 and applied to display apparatus 68. It would be consistent with the invention to disable the means for calculating the final interpolated data value for the display points outside the slice instead of calculating the values and preventing the incorrect data from being stored in the display memory DIVI, but no time would be saved. These considerations apply to all the calculations.
Use of Radius R As previously described, the value of the radius R of the display point designated by DI'SG appears at the output of the latch 62. Bits representing R are applied to a magnitude comparator 70 where it is compared with the value of maximum radius R,,, which establishes 50 the outer radial boundary for the sector. If this comparison shows that the radius R of a display point is less than RIA1, the comparator 70 provides a signal ROK to one input of an AND gate 72, the output of which is applied to an enable input of the display memory DIVI. In a manner to be described, a signal THETOK, indicating that the display point is in the current slice, is derived and applied to the other input of the AND gate 72. Thus, both signals ROK and THETOK must be affirmative if the data value is to be written into DM. The signal ROK is not as important as THETOK because incorrect final interpolated data values for a few display points at the end of a slice do not present as much problem as an incorrect data value in the interior of the slice. The main advantage of ROK is that it smoothes the outer periphery of the sector.
Calculation of RERR The value of R cannot be used directly for interpolation as reference to equation (6) shows that some signal must be derived that represents the relative radial position of the display point with respect to data sample points that are being used in the interpolation, i.e., the relative radial position of the display point DP of Fig. 2 with respect to the data sample points S," and 65 GB2153120A 10 S3 12 when calculating the intermediate interpolated values 1, and 12 to derive a signal representing the radial distance between the outer data sample points S3 12 and DP for use in the interpolation of the invention, or to derive a signal RERR' representing the radial distance between DP and the inner data sample point S3".
In the preferred embodiment of the invention to be described at a later point, K. = K, = s so that the fractional part of the values appearing at the output of the latch 62 is RERR, i.e., the ratio of the distance between the display point and the inner arc to the distance s between adjacent arcs. In the general case, however, K,, and KY can be different from each other and s. In this event, it is easier if K. and K. are each less than s because a change K. or K. occurring in going from one display point to the next could change the calculated radius by an amount greater than 2s and thus make it necessary to take this fact into account in calculating RERR'.
In the general case illustrated in Fig. 4, KY, K. and s may all have different values. The signal R at the output of the latch 62 is applied to one input of a difference calculator 74 and the output of a latch 76 is applied to the other. At the start of each radial line all latches are cleared by application of the signal STRTL to their clear terminals so that the initial output of the latch 15 76 is zero. A difference signal RERR', equal to the value of R minus the output of the latch 76, appears in one output 78 of the difference calculator 74, and a signal RDIR indicating whether R is increasing or decreasing appears on another output 80. The difference signal RERR' is applied to one input of a magnitude compare unit 81 and a value equal to s is applied to the other input. When RERR'>s, the magnitude compare unit 81 outputs a signal CROSSs or when 20 RERR'<O, unit 81 also outputs signal CROSSs, indicating that the value of RERR' is passing through an integral multiple of s in respectively increasing and decreasing directions. Thus, for example, a signal CROSSs would be produced either by scanning from display point DP, of Fig.
2 to display point DP3, both of which are between the radial lines R2 and R, or in scanning in the reverse direction from DP, to DP,.
The input of the latch 76 is connected to the output of an ADD/SUBTRACT device 83 which has one input connected to the output of the latch 76, another input connected to receive a value of s, and a control input connected to receive the signal RDIR. Whenever RDIR indicates that R is increasing, the ADD/SUBTRACT device 83 produces at its outut and at the input of the latch 76 the sum of the output of the latch 76 and s; and whenever RDIR indicates that R is 30 decreasing, the ADD/SUBTRACT device 83 produces at its output and at the input of the latch 76 the difference between the output of the latch 76 and s. The clock input of the latch 76 is connected to receive the signal CROSSs so that when CROSSs occurs, the input of the latch is transferred to its output and to one input of the difference calculator 74.
The signal RERR representing the fractional distance of a display point such as DP of Fig. 2 35 between A, and A, is derived by dividing RERR' by s in a divider 77. But if s = KY = K, RERR is simply the fractional part of R at the output of the latch 62 in which case the latch 76, the ADD/SUBTRACT device 83, the difference calculator 74, the magnitude compare device 81 and the divider 84 are not required.
Calculation of XHAT The value of XHAT is the distance between radial lines measured along a row of display points including the one in question, such as illustrated in Fig. 2 or more clearly seen for the display points DP, and DP,' of Fig. 3. XHAT equals the sum of + AXHAT, AXHAT being equal to tan_02-tanO, for each step in the y direction away from the origin and AXHAT for each step in the y direction toward the origin. As the value of AXHAT varies for each slice, it is only necessary to apply the line identification signal from circuit 36 to a ROM 88 so as to select the value of AXHAT for that line.
The output of the ROM 88 is applied to an accumulator comprised of an adder 90 and a latch 92. This accumulator works in a similar fashion to the adder 60 and the latch 62 which were 50 used in the radius calculation. However, instead of being updated with every move in x and y, the latch 92 gets clocked (updated) only on movements in y.
Calculation of COUNT The signal COUNT can be a distance measured along a row of display points between a 55 display point in that row and either radial line of a slice. The line identification signal from the circuit 36, the display point scanning control signal from DPSG and the y up-down signal from the circuit 52 are applied to a ROM 96 so as to select one of the values + K, - K., + K.tanO or - KtanO and apply it to the input of an adder 98. The line identification signal selects a term having a tan02 corresponding to the angle 0, used for the slice, and the signal from the y U/D 60 circuit 52 combined with the display scanning control signal from DPSG selects the appropriate one of + KtanO and - K,tan& The value of + K. or - K. is selected by the steps along the x direction made by the scanning control signal. The following tables indicate the input selection matrix for the ROM 96 under the state conditions. Remember that + x is a step to the right, increasing value of x, - x is a step to the left along the x axis, - y is a step toward the origin, 65 11 GB2153120A 11 and + y is a step away from it along the y axis.
12 GB2153120A 12 COUNT Measured from the Outer Line in Both Quadrant's LN# x DIR y DIR Left Quad Right Quad Selection Selection -X KX<0 %>O --- +X --- %>O K X <0 +y K y tan62 >0 K y tanO 2 >0 _y K y tane 2 <O K tanO 2 <O y COUNT Measured from the Left Line in Both Quadrants LN# x DIR y DIR Left Quad Right Quad Selection 1 Selection -X %<O %<O +X K %>O >O X --- --- +y K tane >0 X tanE),>0 2 y y & --- --- _y K K tane 2 <O tane 2 <O y y COUNT Measured from the Rig t Line in Both Quadrants LN# x DIR y DJR Left Quad Right Quad Selection Selection -X --- %>O K >0 --- +X --- K K <O <O X +y K K y tane 2 >O tane 2 >0 y _y K y tane 2 <O K y tane 2 <O 13 GB 2 153 120A The output of the ROM 96 is applied to an adder 98 having its output connected to a latch 100 that is clocked by a step in either the y or x directions by connection of its clock input via a lead 102 to the output of the OR gate 64. The output of the latch 100 is connected to an input of the adder 98 so as to form an accumulator that produces at its output a signal COUNT equal to the sum of all changes in the value of COUNT including negative values resulting from all previous steps from one display point to another.
Determination of &ERR Although the values of XHAT and COUNT could be used directly by interpolation circuits simply by making the angular distances used in the interpolation formula COUNT and XHAT- 10 COUNT, see equations (9), (10), (11) and (1 V), it is generally simpler to derive a signal OERR that represents the fractional distance of a display point from one line to the other, the particular one depending on the selection made above, by dividing COUNT by XHAT in a divider 104.
Equation 9 becomes equation 9' using OERR.
Is Display Point Between Radial Lines of a Slice? In order to determine whether a given display point is between the radial lines of a slice, the following means is provided. The most significant bit of COUNT at the output of the latch 100 is applied via an inverter 106 to one input of an AND gate 108. As is well known, this bit goes to---1 - when the digital signal of COUNT becomes negative so that the output of 106 goes to a 20 low state. In addition, the values of XHAT and COUNT are applied to a decision block 110 that outputs a high state if COUNT is less than XHAT and a low state if COUNT is greater than XHAT. Thus, if COUNT is negative or is greater than XHAT, a situation that occurs only if the display point is angularly outside the slice, the output THETOK? from the AND gate 108 is in a low state. THETOK? is applied to an input of the AND gate 72 which, it will be remembered, 25 has ROK? applied to its other input. Thus, only if THETOK? is in a high state indicating that the display point is angularly inside the slice and ROK? is also in a high state indicating that the display point radius is less than R,,x will the AND gate 72 output a high state so as to cause the display memory DM to store a final interpolated data value supplied to it at the x,y address indicated.
Interpolation A read control 82 obtains a plurality of data samples from a plurality of radial lines from the memory 40 under the control of RDIR and CROSSs and makes them simultaneously available at the inputs of interpolators 112 and 114. Two of the data points are located where a radial arc 35 of less radius than the display point intersects the radial line of a slice; and two of the data points are located where a radial arc of greater radius intersects the radial lines of a slice. When the display point scanning control signal from DPSG causes the display point scan to cross the outer or inner radial arc, the signal CROSSs informs the read control 82 that a crossing has been made and the signal RDIR determines whether the crossing is in an outward or an inward 40 radial direction. The read control then selects the proper data points so that the four data samples always define an area containing the display point. The newly selected data points can be the same as before, further out or closer in towards the apex of the sector depending on RDIR and the value of s. For example, if the initial four data display samples were S,', S,12 S,', and S,12 of Fig. 2 and the display point scan crossed from a display point within the area 45 defined by these points to a point outside of the radial arc A12, the read control 82 would drop the inner data samples S," andS4' ', retain the samples S,'2 and S'12 and add the data samples S, " andS4'3. Should the scan recross line A,2, the original four data samples are used. The intermediate interpolated values provided by 112 and 114 are applied to an interpolator 116.
With switches s, and S2 in the position shown, 112 and 114 interpolate radially, 116 interpolates angularly and s, applies data samples on R, to 112 and data samples R, to 114. With s, and 52 in the other positions, the order of interpolation is reversed and s, applies inner data samples to 112 and outer samples to 114.
If the interpolations involving other or additional display points such as described in connection with Fig. 2 are to be made, it is apparent that more interpolators than 112 and 114 would be required and that the read control 82 would have to obtain the data samples from the memory 40 and make appropriate ones of them simultaneously available to the interpolators. As one skilled in the art would readily provide the required data sample selection and interpolation means, only one other combination, the one in Fig. 4A, is illustrated. In Fig. 4A the first and 60 second intermediate interpolated data values are derived from the data samples at four data sample points along each of the radii R, and R, of Fig. 2. Data samples S, 10, S,13 are applied to an interpolator 118; data samples S,' S'12 to an interpolator 120; data samples S,'", S," to an interpolator 122; data samples S,' S4 12 to an interpolator 124; and the signal RERR is applied to all the interpolators. The outputs of the interpolators 118 and 120 are connected to 65 14 GB2153120A 14 an adder 126 that produces a first intermediate interpolated data value 1, and the outputs of the interpolators 122 and 124 are applied to an adder 128 that outputs a second intermediate interpolated data value. The interpolators 118 and 122 can take into account the different distances of the inner and outer data samples from DP as well as different weighting factors that 5 are to be applied to them if such are desired.
Preferred Embodiment The Scanner Bus Signal In view of the fact that the various trigonometric function used in making the interpolations in accordance with this invention require information as to angles related to the radial line along 10 which a scanner is producing data, it is essential that some means be provided for identifying the line being scanned. Various ways, such as producing a pulse on the first line of a sector and providing a count that is updated each time the scanner transmits an acoustic pulse into the body of a patient, could be used but in order to be able to format the sector under software control, each angle is uniquely labelled with a seven bit word just prior to the receiptof data for 15 that angle. The data is quantized to five bits. In order to minimize the number of distinct signal busses between a scanner and the scan converter of this invention, the angle and data bits share a common data transfer bus 133 as indicted in Fig. 5 which is twelve bits wide. The output of scanner 134 of Fig. 5 is illustrated in Fig. 5A wherein it is seen that when the MSB has a value of 1, the bits 2 to 8 represent the line number; and when it has a value of 0, the 20 bits 2 to 6 represent one of thirty-two levels for a data sample. In order to reduce the amount of trigonometric data that must be stored in the ROMs, advantage is taken of the angular symmetry about the central radial line of the sector and therefore bit number 1 is arbitrarily made to have a value of 1 when the line is in the left half of the sector and a value of 0 when it is in the right half. The center line of the sector has the bit set to 1. The LS13, bit number 11 in 25 this case, contains pulses termed---STROBE-that occur during the time when the word contains line identification information as well as during the time when the word represents the value of a data sample.
Timing Signals The scan conversion system is clocked by pulses CLK produced by a clock 136, but in order to provide sufficient time for each circuit to perform its function, the frequency of the output of the clock 136 is cut in half by a divider 138 so as to derive a signal ENABL. The negative of this signal, NENBL, is provided by connecting an inverter 140 to the output of the divider 138.
Because the clock of the scanner 134 may not be in synchronism with the clock 136 of the 35 scan converter, the LS13, STROBE, from the scanner 134 is applied to a synchronizer 135. The synchronizer may take a number of forms, but is herein comprised of a pair of D flipfiops 132, 139 and an AND gate 141 coupled as shown. In order to control the sequence of operation of various portions of the scan converter circuit with respect to a word received from the scanner 134, the output of the AND gate 141, identified as INENABLE, is a synchronized STROBE and 40 is applied to a shift register 142 that is clocked by pulses CLK. If the frequency of the clock 136 is 12.4 MHz, STROBE is made to have an active high for at least 80 ns and an active low of at least 80 ns so that the sequential pulses NINENO, NINEN 1 and NINEN2 at the output of the register are synchronous with the CLK. Each pulse is 80 ns low with the three pulses lasting not more than 240 ns. The invertered forms INENO, INEN1 and INEN2 are respectively derived by inverters 144, 146 and 148. As will be seen, NINENO or INENO are used for enabling latches; NINEN1 or INEN1 are used for controlling writing functions; and NINEN2 or INEN2 are used for controlling counters.
Identifying the Line Number The output INENABLE from the AND gate 141 is applied via an inverter 150 to an enable input of a latch 152 so as to latch the word present at the time of the scanner output. Bit number 1, SIGN, indicative of the half-sector in which the line is, and bits numbered 2 to 8 indicative of the line number, are conducted to a latch 154 so that when the latch 154 is enabled, the bits representing the line number L# appear on one output and the SIGN bit appears on the other.
Inasmuch as the bits numbered 2 to 6 represent line identification information at one time and the value of a data sample at another, it is essential that the latch 154 be enabled only when these bits represent the line number. This is accomplished by--- ANDING-in a NAND gate 158 the MSB, herein designated as H DR 1, with ENABLE and the output of an OR gate 156 to 60 which INEN1 and INEN2 are applied. The reason for using INEN1, INEN2 in this manner is because INEN1 may come up to one of two stable states relative to the ENABL signal. ENABLE has a period of 160 ns whereas IN ENO is 80 ns wide. Therefore, in order to insure that the line number gets latched synchronously with the ENABLE signal, both the INENO and INEN1 are needed. Also notice that the STRTL signal is generated in a similar manner. This signal will GB 2 153 120A 15 become clearer later. The reason for using ENABLE is to establish the overall pipeline timing for the hardware. By essentially dividing the 12.4 MHz clock by 2, a 160 ns pipeline time is established. Thus, each synchronous operation has 160 ns to achieve set- up, propagation delay, and hold time. The NAND gate 158 can only produce the low output required to enable the latch 154 when HDR1, the most significant bit, is 1. The data then present at the input of 154 5 is the scanning line information.
Extracting the Data Bits numbered 2 to 6 are connected to the input of a latch 160 that is enabled by NINENO so that whether they represent line information or the value of data samples, they are transferred as 10 DATA to a data bus 162. When these bits represent line information, they are prevented from being written into the line memories of Fig. 6 in a manner to be explained by a qualifying signal SWE which is derived by connecting an inverter 164 between a line 166 carrying HDR 1 and one input of an AND gate 168, the other input of which is connected to INEN 1. When the word from the scanner 134 represents line information, HDR 1 is high so that SWE must be low; but when the word represents data, H DR 1 is low so that SWE can become high when 1 N EN 1 occurs.
The Start of a Line A previously pointed out, the calculation of RERR and OERR that are used for the interpolation 20 function are derived by successive addition or subtraction of certain stored values to respectively known initial values. Although these known initial values may be those for any display point, it is easier to use the origin of the sector as the starting point because the known values for RERR and OERR at the origin are zero. However this is done, it is essential to know the data sample occurring at the start of a line. Since HDR 'I occurs at each line start, it can be used to generate a signal STRTL (START LINE). One way is to connect an inverter 170 between the output of the NAND gate 158 and the input of a latch 172. While data is being received, HDR1 is low so that the output of the latch 172 is also low, but when a L# is being received, HDR 'I is high so that when NENBL enables this latch, a high output STRTL will appear at its output. STRTL is used in Fig. 10 to initiate the calculations referred to.
Writing the Data Samples Reference is now made to Fig. 5 and Fig. 6 for an explanation of one way of storing the data samples. In Fig. 6, the data bus 162 from Fig. 5 is connected to tri- state buffers or gates 174, 176 and 178 that are respectively connected to the 1 /0 of digital line memories 180, 182 and 35 184. Each line memory can store the 396 data samples along a line, and it is desired that data samples from one radial line of the scanner 134 be written into one memory while the two previously written radial lines are being read to provide the data samples required for interpolation. The tri-state buffers require application of a low state to their enabling inputs for them to pass data to the line memories. One means for deriving the appropriate enabling signal 40 NI-D is shown in Fig. 5. HDR 1 from the lead 166 is applied to one input of a NAND gate 186, INEN0 is applied to the other and the output is applied to a low state activated MOD 3 counter 188 that outputs a high state on one of its three output lines M1, M2 or M3. Each HDR1 received causes the NAND gate 186 to output a signal NLD to the MOD3 counter and causes it to shift the high state to the next output line. Thus, after three HDRI- 's the sequence repeats. 45 Enabling of the, line memories 180, 182 and 184 so that data presented at their 1 /0 can be written into them requires a low state to be applied to their write- enable terminals. Derivation of such signals is effected by respectively applying M 1, M2 and M3 to inputs of NAND gates 190, 192 and 194 and applying SWE to their other inputs. It will be recalled that SWE is high only when data samples are on the data bus 162 so that the outputs of the NAND gates 190, 192 50 and 194 can go low and permit data to be written into the line memories only when data samples are on the data bus This prevents line number data from being written into the memories 180, 182 and 184. Whichever of M 1, M2 or M3 is high will cause its NAND gate to output a low state and enable the associated line memory to be written into. Thus, if M 1 is high, the line memory 180 is enabled to receive data.
But because each line memory has a common 1/0, it is also required that the output channel be disabled by application of a high state to its output enable terminal OE while that memory is receiving data samples. This is effected by applying M 1, M2 and M3 respectively to the OE terminals of the line memories 180, 182 and 184. if, for example, M 1 has a high state, the output channel of the line memory 180 is disabled.
Summarizing.. M 1, M2 and M3 become high in sequence. If M l is high, the tri-state buffer 174 permits data samples to reach 1/0 of the line memory 180, but the tri- state buffers 176 and 178 prevent data samples from reaching the 1 /0 of their respective line memories 182 and 184. At the same time, the write-enable input of the line memory 180 receives a low state so that data samples can be written into the line memory 180. The output channel of the line 65 16 GB2153120A 16 memory 180 is disabled while the output channels of the line memories 182 and 184 are enabled. Thus, with M1 high, data samples can be stored only on the line memory 180, and M2 and M3 are low so that data samples previously stored in the line memories 182 and 184 can be read.
The question arises as to how to store the samples at sequentially arranged addresses. This is 5 controlled by up/down counters 196, 198 and 200. In the first place, it should be noted that the signal NLD at the output of the NAND gate 186 is applied to a load input of the counters so as to make them all revert to zero count at the beginning of each line.
In order for these counters to be able to count at all, a low state must be present at both inverting inputs ENT and ENP. Assume, for example, that data samples are to be written into 10 line memory 180 so that M 1 is high. Under this condition, the input ENP of the counter 196 is low for the entire line because a signal M1 + SHIFT, to be described, is coupled to ENP by an inverter 195. M1 is a constant high during the line, it makes the state of SHIFT irrelevant.
When writing, the count always increases so that UND1 should be high. UND1, UND2 and UND3 are derived by respectively connecting M1, M2 and M3 to one input of OR gates 202, 15 204 and 206 and a signal NIVIDECR, to be described, to the other inputs. Since M 'I is high, the output of the OR gate 202 is high regardless of -the state of NIVIDECR and the counter 196 counts up. The actual counting occurs in response to the signal NM 1 + ADDEN applied via an inverter 193 to the ENT input of the counter 196. Since NM1, the inverse of M1 is low and cannot make the counter 196 input ENT low, a count takes place each time ADDN goes high. 20 NM1 + ADDEN, NM2 + ADDEN and NM3 + ADDEN are derived as follows. HDR 1 is applied via an inverter 203 to one input of an AND gate 205 so that this input is high during the time data samples are being received. Each data sample is accompanied by a STROBE that produces the synchronized STROBE INENABLE which in turn produces INEN2. When INEN2 goes high, the output of the AND gate 205, which is the signal ADDEN, also goes high. ADDEN is applied 25 to one input of each of the OR gates 207, 208 and 210, and signals NM 1, NM2 and NM3 are respectively applied to the other inputs. The latter signals are derived by application of M1, M2 and M3 to inverters 212, 214 and 216. When writing into the line memory 180, M1 is high and NM l low for the entire line and the output ADDEN of the AND gate 205 goes high in response to each INEN2 so that the counter 196 counts. Since, as has been explained, UND1 is 30 high, it counts up. The effect of the various signals on the other line memories and counters will be explained in a section on reading data samples from the lines.
In the example just given, data samples were being written into the line memory 180. During the same time, data samples are read from the line memories 182 and 184. If the sequence of reading were always in one direction, the reading function would be explained at this point, but 35 inasmuch as this is not the case, it is necessary to explain how signals INCR, DECR and SHIFT that control the reading function are derived.
Display Point Scanning Control Signal In order to determine the signals just mentined, means are provided for generating display 40 points scanning c6ntrol signals representing the step-by-step scanning along the rows and columns of display points that are required for proceeding from a given display point, such as the one at the origin of the sector, through the display points in a slice corresponding to a given line number. As previously noted, the display point scanning control signals may take different forms as a result of different sequences of x and y movements and can be generated by a computer or derived from a memory as in this illustration. The apparatus of Fig. 7 that is to be described includes a state machine 220 that provides a series of single bits that indicate by a 0 that the step is along the x axis and along a row of display points and by a 1 that the step is away from the origin along the y axis and along a column of display points. In this particular embodiment of the invention, the first step from the origin of the sector is to the left for a slice 50 that is in the left half of the sector as indicated by the scanning path 31 of Fig. 3 and to the right for a slice in the right half of the sector as indicated by the scanning path 31' of Fig. 3.
The scanning algorithm uses the concept that each time the y address is changed, the direction for the x courier is changed from its last setting, i.e., after the first y address change in path 31, the MR is changed such as to cause the x counter to count up, i.e., move closer to the center of the sector. Note that the y movements can be concatenated successively; however, each movement in y is an implied change in the MR so that when the state machine outputs a 0 (x movement), the x counter moves in the direction of the last implied x direction. Also, for slices on either side of the center line, y axis, by the same angle, the scanned paths are identical except that the direction of corresponding steps along the x axis are opposite, but the l's and 60 O's from the state machine 220 are identical. A signal MR that is 0 for a step towards the center and 1 for a step towards the outside of the sector along the x axis is derived by an address counter control 222 from the output of the state machine 220 and the SIGN bit from latch 230. The address counter control 222, the details of which will be shown in Fig. 7A, also supplies a signal YINC/XINC representing the steps in x or y.
17 GB 2 153120A 17 Refer now to Fig. 7 in detail. The bits L# representing the line number and the bit representing SIGN at the output of the latch 154 of Fig. 5 are connected to a scanner latch buffer 224 that is enabled by the signal STRTL from the latch 172 of Fig. 5 to pass the bits for these signals to a fifo buffer 226 that stores two line numbers since two successive radial lines 5. of the scanner must be stored in two of the line memories 180, 182, and 184 of Fig. 6 before a slice is defined and ready for read out. As each STRTL signal of a radial line occurs, the L#s in the fifo 226 are moved along. On the third STRTL of the sector, the L# for the first line of the sector is moved into a L# translation ROM 228. Its output is applied to a latch 230.
The purpose of the L# translation ROM 228 can be understood from a consideration of Figs.
7131, 7B2 and 7133. In the particular format used in this embodiment of the invention, the radial 10 lines are assigned even numbers starting with the outer line in the left half of the sector being 1 / 120, as in Fig. 7B, where the 1 is the SIGN bit indicating that the line is in the left half, and 120 is the line number. Arbitrarily, the center line is line 1 /0. The outermost line in the right half of the sector, not shown, is 0/ 120. Fig. 7 B shows the outermost slice in the left half of the sector formed by radial lies 1 / 120 and 1 / 118. While data samples are being read from the two15 of the line memories 180, 182 and 184 of Fig. 6 in which the data samples of lines 1 / 120 and 1 / 118 were stored, data samples from the dashed line 1 / 116 are being written into the third line memory. The various angular measurements used in the determination of RERR, COUNT and XHAT in a manner to be described are, in this particular embodiment, based on the angle between the outer radial line R, and the y axis.
The line translation ROM 228 is necessary for the following reason. All trigonometric functions are referenced to the outside line, i.e., on the left side of the sector, this means the oldest line number in the fifo 226. When the current output slice is as shown in Fig. 7131 the current output from the fifo 226 is line 1 /2 which implies that the current angle is that of line 1 /2. When the center line is crossed, Fig. 713, the output of fifo 226 is 1 /0; but the angle of 25 0/2 should be used because it has the same angle as 1 /2 of Fig. 7131. In order to achieve this result, the line translation ROM 228 adds 2 to the line number, Fig. 7133, and changes the sign to 0, i.e., 0/2 is outputted from the ROM 228 instead of 1 /0 and has the same L# as 1 /2 of Fig. 7131. The SIGN bit has no effect on the L# to be used but is delayed in the same way as the line number for reasons which will be explained later. The remaining lines on the right side 30 have 2 added to them. All lines on the left side, excluding the center line, are transparent through the translation ROM 228.
The State Machine 228 The most significant of the six bits at the output of the latch 230 that represent the line 35 numbers are applied to a ROM Select 232 so as to select one of eight ROMs used in the state memory 234. Each ROM in the state memory contains up to eight slices. The three least significant bits are applied to the memory 234 to select the portion within the selected ROM related to the particular slice. Each slice contains 256 eight-bit words so as to have a total of 2048 bits for the slice. Each bit corresponds to one step in the path to be scanned through the 40 display points. It is 0 if the step is in either direction along the x axis, and it is 1 if the step is along the y axis. Remember that the particular x direction is determined by the total number of y movements since the origin.
The signal STRTL at the output of the scanner latch buffer 224 is applied so as to start a state machine address counter 236 to output an eleven-bit address at the rate of the ENABLE pulses 45 (the pipeline time). Eight of these eleven bits are applied so as to select one of the 256 eight-bit words of each slice in sequence in the memory 234 and supply them to a latch 238. The three I-SI3s of the eleven bits at the output of the state machine address counter 235 and ANDed with ENABLE in an AND gate 240 to enable the latch 238 to pass the eight-bit word applied to it from the state machine memory 234 to a multiplexer 242 which selects the bits of the word in 50 sequence under the control of the 3 LSBs and applied them to the address counter control 222.
The output of the multiplexer 242 is a signal YINC/RINC-.
State Address Decoder 55. The eleven-bit word at the output of the state machine address counter 236 is applied to a state address decoder 246 which is a ROM so as to develop certain timing signals. When the count represented by the eleven-bit word reaches a predetermined value occurring at a time such that the calculation of OERR and RERR of Fig. 8 will have been carried out in a manner to be explained, a signal STRTI, start interpolating, is sent to the reset input of a latch 248 in Fig.
5, the purpose of which will be explained subsequently. At an appropriate time, the decoder 246 sends, for reasons to be set forth, a signal NACCCLR to clear a counter and three latches in the circuits of Fig. 8 that determine R, RERR, COUNT and XHAT. The decoder 246 also outputs a signal NINTL that is connected to the address counter control 222 so as to initialize its output at a proper time and a signal CTRLD that repeatedly sets an x address counter 249 to the x address of the origin of the sector as determined by a source 250 and sets a y address counter 65 18 GB 2 153 120A 18 242 to the y count of the origin as determined by a source 254 at the beginning of each line.
Address Control As will be explained in connection with Fig. 7A, the address counter control 222 provides a signal XCNT to the counter 249 for each 0 in the output of the multiplexer 242 and a signal 5 YCNT to the y counter 252 for each 1 in the output of the multiplexer 242. The address counter control 222 also supplies a signal XU/D to the x counter 249. In addition, the address counter control 222 provides a signal XDIR that together with the YINC/RINC from the multiplexer 242 defines paths such as 31 and 31' of Fig. 3 in response to the output of the multiplexer 242 and the signal SIGN from the latch 230. XDIR and YINC/RINE are used in a 10 manner to be explained to indentify the value of the trigonometric function used by the circuits of Fig. 8 that determined the values R, RERR and COUNT. A signal ACCCLK provided by the address counter control 222 clocks the latches of accumulators of Fig. 8 used in determining the value of R and COUNT, and a signal THETCLK provided by the control 222 is used to clock a latch of an accumulator of Fig. 8 used in determining the value of XHAT.
Refer now to Fig. 7A. At the start of every line and therefore at the start of a new slice, the signal NINTL from the state address decoder 246 of Fig. 7 goes low and is applied to the preset input of a D flipfiop 256 so as to make XDIR go to a high state signalling a step along the x axis towards the outside radial line, but the direction with respect to the origin has not been determined. NINTL also clears an eightstage delay 258 having its output connected to one input of an XOR gate 260 and an input connected to the output of the flipfiop 256 where XDIR is. Th6 other input of the XOR gate 260 is connected so as to receive the SIGN bit from the latch 230 of Fig. 7. The output of the XOR 260 is XUP/DN. If the line is in the left half of the sector, SIGN is high so that the output of the XOR 260 is low signifying a count down, i.e., to the left. If the line is in the right half of the sector, SIGN is low so that-the output of the XOR 260 is high signifying a count up.
Control of XDIR is achieved as follows. YINC/RINC from the multiplexer 242 of Fig. 7 is applied to one input of an AND gate 262 and ENABLE is applied to the other. If the next step is still outward, YINC/RINC is 0 so that the output of the AND gate 262 is low. This output is applied to one input of an XOR 264 and the other input is connected to XDIR at the output of 30 the D flipfiop 256. Since XDIR is high for an outward movement, the output of the XOR 264 is high and XDIR remains high. But if YINC/RINC is 1, indicating a movement away from the origin along the y axis, the output of the AND gate 262 is now high when an ENABLE occurs, causing the output of the XOR 264 to become low and make XDIR low signifying a step toward the center of the sector with the next movement in x.
Now that the direction of a step along the x axis and XLIP/15N is known, it remains to provide the signal XCNT for every step in x. To do this, YINC/RINC is applied to a nine-stage delay 266 that is also cleared by NINTL. The output of the delay 266 is connected to one input of an AND gate 268 and to an invertinq input of an AND gate 270, and ENABL is applied to the other inputs of both. If YINC/RINC is low, the output of the AND gate 268 is low so that there is no 40 count in y, but the output of the AND gate 270 is high so that XCNT is high and causes the sector x address counter to count up or down, depending on whether XUP/15A is high or low.
If YINC/RINC is high indicating a step y, the output of the AND gate 268 goes high causing the sector y address counter to count up, the only way it can go in this particular embodiment.
The purpose of the delays 258 and 266 is to allow for previous date to clear through the 45 interpolators of Fig. 10. They are clocked by CLK after ENABLE qualifications. However, the D flipflop 256 is clocked by CLK only.
CLK is also applied to the clock input of a synchronizer 272 having one D input connected to ENABL so as to produce a signal ACCCLK at the corresponding output. Another D input of the synchronizer 272 is connected to the output of the AND gate 262, the corresponding (1 output 50 is connected to a third D input, and its corresponding Q output provides the signal THETCLK.
The outputs of the x and y address counters 249 and 252 of Fig. 7 are respectively connected to latches 274 and 276 that, in turn are respectively connected to buffers 278 and 280, all of which have ENABLE applied to their enable inputs. Thus at each ENABLE, the x and y addresses are respectively applied to leads 282 and 284 that pass along the bottom of Fig. 55 to a display memory DW of Fig. 11.
Determination of R and RERR Reference is now made to Fig. 8. The L# bits from the output of the latch 230 of Fig. 7 and the display point scanning control signals XDIR and YINC/AINC from the address counter control 222, also of Fig. 7, are supplied to the input address of a ROM 286 which has stored therein values of + SINO, and + COSO for the angle 0 to be used with each L#. Fig. 8A illustrates the truth table for a given line that shows the outputs of the ROM 286 for the different combinations of the bit values of XDIR and YINC/AINE. The ROM can be programmed to supply the appropriate twelve-bit output. The twelve bits are used to define the fractional 65 19 GB 2 153 120A 19 numbers emerging from the ROM 286 and are applied to the input of a latch 288 and its output is applied to one input of an adder 290. A latch 292 is coupled between the output of the adder 290 and another input thereof so as to form an accumulator. The output of latch 292 thus contains the fractional portion of the current radius of which the five MSB bits are the desired signal RERR. It is expressed with five bits as that has proven sufficiently accurate, but the addition has used all twelve bits so as to avoid too great an accumulative error, a situation that can exist since there are over a thousand sines and cosines to be added and/or subtracted. Note that the latch 292 is cleared at the beginning of a line by NACCUR that is derived from the state address decoder 246 of Fig. 7 and that it is clocked by ACCCLK derived from the address counter control 222 of the same figure. As seen in Fig. 7A, NACCCI-R is derived from 10 ENABLE which controls the rates at which the steps through the display points are taken. Thus, every movement in x and y causes an incremental amount ( SinO, + CosO) to be added to the past calculations of radius. As will be shown, the integer part of the radius calculation is kept in a radius counter 294 under command of the accumulator carry, XDIR and YINC/AINC.
The values of K, KY and the separation between data samples along the radial lines are all 15 equal to unity in this particular example, so that the connection of the signals YINC/AINC and the carry output of the adder 290 to the radius counter 294 will cause it to count the number of carries and produce a signal R equal to the integer number of data sample separations in the radius of each display point. The radius counter 294 also outputs a signal INCR when the radius R increases through an integral value of R and a signal DECR when the radius decreases through the integral value of R. The signal R is compared in a comparison circuit 296 with a radius limit signal from a source 298 so as to produce a high statewhenever the radius R of a display point exceeds the specified limit. The output of the comparison circuit is ROK? The signals RERR, INCR, DECR and ROK? are passed through latches 300 and 302. The signal RERR is shown passing to interpolation means of Fig. 10 and ROK? is passed via delay 25 stages 304 to one input of an NAND gate 306. A signal THETOK? which is derived in a manner to be explained indicates, when high, that a display point is in the slice. THETOK is applied via the delay stages 304 to the other input of the NAND gate 306. The output of the gate 306 is applied to a latch 308, and its output is applied to a buffer 210. Thus, if either ROK? or THETOK? are low, the output NVALD? of the buffer 310 will be high. NVALD? is low, the final 30 interpolated data value that is derived for the display point by the interpolation means of Fig. 10 is entered into the display memory DM'. The signals INCR and DECR are used to control the reading function of two of the line memories 180, 182 or 184 of Fig. 6 via circuits in Fig. 5.
The Radius Counter 294 Fig. 813 illustrates one arrangement of logic circuits for deriving from YINC/AINC and the carry signal from the adder 290 the signals R, INCR and DECR. The carry signal is 1 if the radius in the adder 290 is increasing and passes through an integer value; the carry signal is 0 if the radius is increasing and does not pass through an integer value. Conversely, the carry signal is 0 if the radius in the adder 290 is decreasing and does pass through an integer value, 40 and the carry signal is 1 if the radius is decreasing and does not pass through an integer value.
If the fractional part of the radius were zero, then the radius counter output indicates the radius of a display point which would equal the radius of one of the data sample points.
YINC/AINC is applied via a delay 312 of two stages to one input of an OR gate 314, and XDIR passes through a delay 316 to the other input of the OR gate 314. The output of the OR 45 gate 314 is connected to an up/down control input of an up/down counter 318 and to one input of an XOR 320. The other input of XOR 320 is connected to the carry output of the ladder 290 and the output of XOR 320 is connected to inverting inputs of AND gates 322 and 324 different from the inputs to which OR 314 is connected. The output of the OR gate 314 is connected to a different inverting input of the AND gate 324 and to a non- inverting input of the 50 AND gate 322. NENBL from Fig. 5 is applied to the P enabling input of the counter 318, and the output of the XOR 320 is connected to the t enabling input of the same counter. The signal INCR is at the output of a two-stage delay 326 connected to the output of the AND gate 322, and the signal DECR is at the output of a two stage delay 328 connected to the output of the AND gate 324. Cl-K is applied to the clock inputs of the delays 312, 316, 326 and 328 as well 55 as to the clock input of the up/down counter 318, and NACCUR is applied to the E input (load) of the counter. If the radius does not pass through a radial boundary such as the radial ard of Fig. 3, both INCR and DECR will be 0, but if it increases through a radial boundary, INCR will be 1 and DECR will be 0; and if it decreases through a radial boundary, INCR will be 0 and DECR will be 1.
Determination ol'XIIAT Refer again to Fig. 8. The values of AXHAT which are equal in this embodiment to tanO,-tanO, where 0, is the angle from the center of the sector to the outer line of a slice and 01 is the angle of the inner line, are stored in a ROM 330 for each radial line. Application of the 65 GB 2 153 120A 20 L# signal from the output of the latch 230 of Fig. 7 to the address input of the ROM 330 selects the corresponding value of AXHAT. The output of the ROM 330 lasts for an entire line and is applied to the input of an adder 332. The output of the adder 332 is applied to a latch 334 that is cleared by NACCCI-R from the state address decoder 246 and is clocked by THETCLK from the address counter countrol 222, both of which are in Fig. 7. The output of the 5 latch 334 is connected back to another input of the adder 332 so as to form an accumulator that produces at the output of the latch 334 the value of XHAT which is the sum of AXHAT that each step in y since THETCLK clocks the accumula tor with every y movement. A larger number of bits are used in the feedback to the ladder 332 so as to prevent too great an accumulated error. Sixteen bits are used in this accumulator which accounts for the fact that four MSB bits 10 are used for the integer part of XHAT.
Determination of COUNT The signals representing the L# from the latch 230 of Fig. 7 and the signals YINC/AINE from the address counter control 222 of the same figure are applied to a ROM 336 so as to select 15 one of the value + 1, - 1 and tanO, as indicated in Fig. 8C. The angle 0, is the angle between the outer line of a slice and the central line of the sector and therefore the value of + tan02 depends on the L# selected.
A latch 338 is connected between the output of the ROM 336 and the input of an adder 340, and the output of the adder 340 is conducted to a latch 342. The latch 342 is cleared by 20 NACCCLR from the state address.decoder 246 of Fig. 7 and is clocked by a signal ACCCLK from the address counter control 222 of Fig. 7. The output of the latch 342 is connected to another input of the adder 340 so as to sum all the values selected from the ROM 336 for each step indicated by the display point scanning control signals YINC/RINC and XDIR. This is the value COUNT as measured from the outer line of a slice whether it is in the left half or the right 25 half of the sector. Sixteen bits are used in the feedback loop as compared with eight for the sum so as to reduce accumulator error. Four bits are used for the integer portion of COUNT. Unlike RERR and XHAT, however, COUNT can have a negative value when the display point is outside the outer line of a slice. Therefore, the MSB bit is provided at the output of the latch 342 to indicate whether the value of COUNT is plus or minus.
Determination of &ERR OERR is actually COUNT/XHAT as previously explained. This division could be done directly but this would involve a sixteen-by-sixteen bit division. Since this accuracy is not needed in this embodiment, five-bit accuracy being sufficient, an appropriately selected five-bit field from both 35 COUNT and XHAT will provide the necessary bit resolution in the divider. Since XHAT is the - larger of the two numbers and non-negative, it is simply left-shifted until the MSB is non-zero, simple magnitude scaling. COUNT is then shifted the same amount. The purpose of 344, 346 and 348 is to provide the capability to shift from 0 to 3 shifts. The five-bit outputs of the ROMS 346 and 348 are passed through a latch 350 to a divider ROM 352 that divides the scaled 40 COUNT by the scffled XHAT and applied the result to a latch 354 that outputs the desired signal OERR which is conducted to the interpolation pipeline of Fig. 10.
In order to derive the signal THETOK? that indicates whether the display points is angularly within.the slice, the bit representing the sign of COUNT is conducted through an inverter 349 and the latch 350 to an AND gate 356. If COUNT is positive, this bit is high to indicate that the 45 display point is not outside the outer line (0j; but if the COUNT is negative, the input to 356 is low deasserting THETOK? A comparison circuit 358 is connected to receive COUNT and XHAT and outputs a high bit if COUNT is less than XHAT, thereby indicating that the display point is not inside the inside line of the slice, and a low bit if COUNT is greater than XHAT indicating the the display point is 50 inside the inside line. This bit at the output of the comparison circuit 358 passes through the latch 350 and is connected to another input of the AND gate 356. Its output is passed through the latch 354 to provide the signal THETOK? which is, as previously noted, passes through the delay stages 304 to a different input of the NAND gate 306 than the input to which ROK? was applied.
Reading from the Line Memories As previously noted, the final interpolated data value for each display point is derived in accordance with this embodiment of the invention by interpolating two pairs of data samples that define the sub-slice in which the point is located. Thus as illustrated in Fig. 9, the final data 60 values of DIP, and DP, are derived from data samples S2. S11 S2' and S3' defining one sub-slice, but the final data value for DP, is derived from data samples S, S2, S,' and S,' that define the previous sub-slice. Inasmuch as DIP, is in the same sub-slice as DP, and DP, its final data value is derived from the same data samples that they were, namely, S2, S3, S2' and S3'. Thus, the 6 5 r-neans for reading the data samples from the line memories 180, 182 and 284 of Fig. 6 must 65 21 GB 2 153 120A 21 be capable of retaining, advancing or retarding the data samples selected along each radial line of a slice.
Selection of the two of the line memories 180, 182 and 184 from which data samples are to be read is determined by which two of the signals M 1, M2 and M3 are low. In Fig. 6, the signals M 1, M2 and M3 are respectively applied to the output enable terminals of the line 5 memories 180, 182 and 184. If M 'I is high, the line memory 180 is enabled to receive data, data is permitted to flow to it and its output channel is blocked so that data cannot be read from it. M2 and M3 are low so as to prevent the line memories 182 and 184 from receiving data.
But M2 and M3 do open the output channel of the line memories 182 and 184 so as to permit data to be read from them at the address set by the counters 198 and 200.
It will be noted that the outer radial line is at the left in the left half of a sector and at the right in the right half. In this particular embodiment of the invention, the signal COUNT is always reference to the outer line so that the data samples from the outer line must be separated from the data samples of the inner line. This function is performed by multiplexers 360 and 362. Different inputs of each multilexer are respectively connected to the 1/0 channels 15 of each of the line memories 180, 182 and 184 and are controlled as described below so that the multiplexer 360 directs data samples from the outer radial line to a bus OL and the multilexer 362 directs data samples from the inner radial line to a bus IL.
The control for the multiplexer 360 is comprised of an inverter 363 connected between a source of the signal M2 and one input of an AND gate 366, an inverter 368 coupled between 20 the output of an XOR 370 having the signals SIGN and M1 respectively applied to its inputs.
The output of the XOR 370 is also applied to one input of an AND gate 372, and the signal M3 is applied to the other input of the AND gate 372 via an inverter 374. The output of the AND gate 366 is applied to the LSB, select A, input of the multiplexer 360 and the output of the AND gate 372 is applied to the MSB, select B, input of the multiplexer 360. With these connections, the outer lines will be selected as indicated in the table of Fig. 6A and applied to the outer line bus OL.
The control for the multiplexer 362 is comprised of an inverter 376 connected between a source of the signal M3 and one input of an AND gate 378, an inverter 380 connected between a source of M2 and one input of an AND gate 382, an XOR 383 having one input connected to 30 a source of SIGN and the other input connected to a closure of M 1, the output of the XOR 383 being connected to an input of the AND gate 382 and also being connected via an inverter 384 to an input of the AND gate 378. The output of the AND gate 378 is connected to the MSB, select B, input of the multiplexer 362 and the output of the AND gate 382 is connected to the LSB, select A, input of the multiplexer 362. With these connections, the line will be selected as 35 indicated in Fig. 613 and applied to the inner line bus IL.
As can be seen in Fig. 10, the output lead OL from the multiplexer 360 is connected to the input of a shift register 386 nd the output lead IL from the multiplexer 362 is connected to a shift register 388. The QA and QB outputs of the shift register 386 respectively provide successive data points on the outer line means to be described for deriving a first intermediate 40 interpolated data value, and the QA and Q, outputs of the shift register 388 respectively provid successive data points on the inner line to means to be described for deriving a second intermediate interpolated data value.
Selection of Data Samples from Line Memories The signals iNCR and DECR provided by the radius counter 294 of Fig. 8 are used to respectively cause the pair of counters 196, 198 and 200, shown in Fig. 6, that are connected to the line memories being read to advance, stay akthe same point or retard. It will be recalled that INCR is high if the radius of a display point becomes greater than that of a data sample, as in stepping from DB, to DP, of Fig. 9, and that DECR becomes high if the radius of a display 50 point becomes less than that of a data sample, as in stepping from DP, to DP, When the integer portion of the radius remains unchanged, as in stepping from DP, to DP, both INCR and DECR remain low so that the counters do not change. As will be explained, the counters cannot change until a signal SHIFT is asserted in a manner to be explained. SHIFT is asserted in response to each high state of INCR and DECR.
At the start of a line, there is a special situation because, as can be seen from Fig. 3, INCR and DECR will both be low until a disply point has a radius greater than that of the data samples S, and S,'. Therefore, neither INCR or DECR canc-aose the signal SHIFT required to change the counters associated with the two of the memories of Fig. 6 that are being read. In these circumstances, the counters are controlled as follows.
At the beginning of each line of data received from the scanner 134, a signal STRTL is produced at the output of the latch 172 of Fig. 5 and is used to initiate the scanning of display points as discussed in connection with Fig. 7. The STIRTL signal is also applied to the set input of the latch 248 and to a two-stage shift register 392. The register 392 is enabled by NENBL so that it outputs two successive high state pulses ST51,,l and STRT2 to separate inputs of an OR 22 GB 2 153 120A 22 gate 396. Essentially, the STRTL gets delayed in the shift register 392 to produce two delayed versions of STRTL for input to OR gate 396. The output of the OR gate 396 is applied to one input of an AND gate 398 and ENABLE is applied to the other, so that coincidence of the two causes the AND gate 398 to output a high level known as SHIFT so that the counters can 5 count.
When sufficient time has elapsed for the signals RERR and OERR to be developed for the first two samples of each line of a slice that occur at the same times as STRT1 and STRT2, the first sample of each line being at the origin, a signal STRT1, start interpolating, is sent from the state address decoder 246 of Fig. 7 to the reset input of the latch 248. The latch 248 was set for STRTL and STRTI clears it. The time between STRTL and STRTI is indicated by WAIT. When 10 STRTI occurs, the latch 248 enables a latch 399 to which the signals INCR and DECR from the radius counter 294 of Fig. 8 are applied. After INCR and DECR pass through the latch 399, they become MINCR and MDECR respectively and are applied to separate inputs of the OR gate 396 and produce a signal SHIFT at the output of the AND gate 398 when high. In addition, MDECR is applied to inverter 395 to produce a signal NIVIDECR.
Controlling the Counters with SHIFT For the counters 296, 198 and 200 to be able to count, their inputs ENT and ENP must be at a low state. Assume that data samples are being written into the line memory 180 so that M 'I is high and M2 and M3 are both low. In explaining the writing function, it was noted that 20 M 1 bei ng high would cause the EN P input of the counter 196 for the line memory 180 to be in a low state for an entire line so that its count was advanced each time the signal ADDEN, which is applied to the ENT inputs, occurred. For the counters 198 and 200, NM2 and NM3 are high for an entire line, and since they are applied to the respective ENT inputs via inverters 197 and 199, these inputs are kept in low state during the line.
Signals M2 + SHIFT and M3 + SHIFT are respectively applied to the ENP inputs of the counters 198 and 200 via the inverters 400 and 402. M2 and M3 are low for the entire line so that they cannot make the ENP inputs low. Thus only SHIFT can cause the counters 198 and to count. The signals M 'I + SHIFT, M2 + SHIFT and M3 + SHIFT are respectively derived by applying M 1, M2 and M3 to an input of OR gates 408, 410 and 412 and applying SHIFT 30 to their other inputs.
When a line memory 180, 182 or 184 is being read and the corresponding counters 196, 198 and 200 count in response to the signal SHIFT as just explained, the counters respectively count up when signals UND1, UND2 and UND3 are in a high state and count down when UND1, UND2 and UND3 are in a low state. Assume, as was done in considering the writing 35 function, that the display samples are being written into the line memory 180 so that M 1 is high and M2 and M3 are low. Assume further that NIVIDECR is high. Under these conditions, the output UND1 of the OR gate 202 of Fig. 5 is high with the result that the counter 196 for the line memory that is being written into counts up as desired. The output UND2 of the OR gate 204 and the output UND3 of the OR gate 206 are also high so that the counters 198 and 40 are set to coUnt up, but if NIVIDECR is low, they are set to count down.
As the counters 198 and 200 are counting up and down, the disply samples at the corresponding address of the line memories 182 and 284 are placed in the G, section of the shift registers 386 and 388 of Fig. 10. SH [FT also controls the shift registers 386 and 388 via the following logic circuit of Fig. 10. SH 1 FT is applied to one input of an AND gate 409 and to 45 one input of an AND gate 411, and MDECR is applied to the other input of the AND gate 409 and via an inverter 413 to the other input of the AND gate 411. The output of the AND gate 409 is connected to the shift-left inputs of the shift. registers 386 and 388, and the output of the AND gate 411 is connected to their shift-right inputs. When SHIFT goes high and MDECR is low, the AND gate 411 causes the registers to shift the data samples in them to the right and 50 accept the new data samples at the inputs. But if SHIFT goes high and MDECR goes high, the AND gate 409 causes the data samples in the registers 386 and 388 to shift left, i.e., replacing Q, with Q, Q, with 0,, etc. The shift registers 386 and 388 are eight words long providing the capability to back up by six data samples and still leave two words in the registers. SHIFT is asserted twice at the start of each line due to the action of STRT1 and STRT2 present at the input to OR gate 396 of Fig. 5. This action puts the first two data points S,, S, of Fig. 3 for the line RO and So'. S,' for the R, into the Q, and Q, sections of their respective shift registers 386 and 388. The interpolation can now proceed but no further change in the four data samples occurs until the display point scanning signals YINC/RINC, XDIR cause a step to a disply point that has a radius greater than that of the display point S, S,' at which point the 60 signal INCR becomes high, causing SHIFT to go high and advancing the counters 198 and 200 as well as moving the shift registers to the right so as to apply data samples S, and S,2 at the outputs Q, and Q, of the shift register 388.
Now assume that the display point scanning signal causes a step to a display point that has a radius less than that of S, and S,', i.e., a step back over the current inner radial boundary. The 65 23 GB 2 153 120A 23 signal DECR will now be high as will MDECR, and remembering that M2 and M3 are low, it is seen that the signals UND2 and UND3 are low so as to set the counters 198 and 200 to count down. SHIFT causes the counters to count down and, in combination with MDECR, causes the shift registers 386 and 388 to shift left, bringing the display points S,, S, and S,J, S,' back into Q, and QA locations of the registers 388 and 388 respectively. Should the step to the next 5 display point cause a third crossing of the arc line on which S, and S,' are, samples S,, and S,' having been lost from the registers causes no problem because the next points from the line memories 182 and 184 are samples S,, and S,' since the read address is controlled by SH 1 FT as previously described.
Interpolation Refer now to Fig. 10. The data samples at the QA and Q, outputs of the shift register 386 are applied to multiplying ROMs 414 and 415 respectively, the display samples at the O.A and Q, outputs of the shift register 388 are applied to multiplying ROMs 418 and 420 respectively, and the signal RERR representing the radial position of the display point is applied to all four ROMs after being latched in 415. The data samples are represented by five- bit numbers, as is the signal RERR which, of course, is a fraction. The ROMs are programmed to perform the appropriate multiplication of RERR X QA value in 416 and 420 and by (1 RERR) X Q,, data value in 414 and 418. The output of the ROM 414 is passed through latch 414' to one input of an adder 422, and the output of the ROM 416 is passed through a latch 416, to another 20 input of the adder 422 so that its output is the first intermediate interpolated data value.
Similaly, the outputs of the ROMs 418 and 420 are passed through latches 418' and 420' respectively to inputs of an adder 424 so that its output is the second intermediate interpolated data value.
The first and second intermediate interpolated data values 11 and 12 are applied via latches 422' and 424' to inputs of multiplying ROMs 426 and 428 respectively. The signal OERR from the output of the latch 354 of Fig. 8 is applied to the multiplying ROMs 426 and 428 after passing through latches 430, 432 and 434 so as to produce at the outputs of the ROMs 426 and 428 the respective contributions of the first and second intermediate interpolated data values to the final data value. ROM 426 performs the multiplication of 1 - OERR times the output 30 of latch 422', and ROM 428 performs the multiplication of OERR times the output of latch 424'. Latches 426' and 428' are respectively connected between the outputs of the ROMs 426 and 428 and different inputs of an adder 436 so as to produce the final interpolated data value at its output. After passing rhrough latches 438 and 440 and a buffer 441, the final interpolated data value is applied to the x, y addresses in the display memory DW that are 35 determined by the x and y sector address counters 249 and 252 of Fig. 7, providing the display point is angularly and radially within the slice, a fact indicated by NVALD at the output of the AND gate 306 of Fig. 8 being high. Memory DW is scanned by a DW read control 442 in any desired manner, and the signals supplied to a display 444 so as to form an image free from moir6s and other troublesome artifacts that are present in the images of other scan conversion systems.
Summary of Operation
The following chart displays the values of the radius, COUNT and XHAT as well as the states of the display point scanning control signals XDIR and YiNC/RINC, and INCR, DECR, XUP/DN, 45 SCNT and XWT for the display points DP, to DP,, illustrated in Fig. 9 wherein DP, is the initial display point having 'Initial values radius, COUNT and XHAT of R,, C, and XH,. Ordinarily, the initial display point is at the origin of the sector at which all these values are zero, but the recursive addition could start from any display points for which the values are respectively known. As previously stated, XDIR = 1 indicates a step away from the center of the sector, 50 YINC/RINC = 0 indicates a step along the x axis and YINC/RINC = 1 indicates a step along the y axis away from the origin. INCR and DECR can both be 0 when steps from one display point to another do not cross the radial boundary of a sub-slice, but if either is 1, the step crosses such a boundary. Values of 1 for XCNT and YCNT indicate a step along the respective axis.
As a further aid in understanding the operations of the preferred embodiment of Fig. 5, 6, 7, 8 and 10, Figs. 11 and 12 are presented to show the timing of various signals to be used. The points in the circuit where these signals appear are indicated by corresponding encircled letters.
Alternative Embodiments and Methods of Operation In order to increase the resolution of a portion of the image such as the center, the radial lines 60 of the scanner may be made closer together in that portion. The scan conversion system of the invention could accommodate such a format by changing the l's and O's in the memory of the state machine of Fig. 7 so as to provide scanning control signals for selecting appropriate display points and by changing the stored values of the various trigonometric functions.
At the present time, the sampling rate of A/D converters is such as to make it desirable to 24 GB2153120A 24 11 LC) X 0 m 0 0 0 m 0 0 P-4 INDX 0 m m F.4 0 m m 0 ma/dnx 0 0 0 0 0 sisa 0 0 0 0 0 0 0 0 0 UDNI 0 0 0 m m 0 0 m 0 0 Z)Lqixl:)NIX 0 0 m 0 0 0 m 0 0 m SIC1X 0 0 0 m m 0 0 0 -m P4 -m P4 C4 + + + + + "A W4 "4 E.@ E4 1-0 E.4 #CC 09 C4 + + + + + C4 C4 CDcq to (4 41 + C4 + + + MA m M4 F-4 -4 + + i + ---4 4 A C4 cm 0 CD co 0 0 0 U 0 0 cj cj + U U C4 cm C4 + + + + em CD C4 (4 r4 (4 CD r4 CD (D CD CD 0 CD 0 r. a 0 1: U -P4 0 ---1 "4 cj C4 C4 N + + + + ---4 w4 -1 -04 tx ce, ad Ln r. co &t 0 0 P.4 GB2153120A 25 interpolate along the radial directi,,)n, but the advance in the solid state art is such that much higher sampling rates can be expected so that this interpolation may not be required. In such event, it would still be necessary to determine INCR and DECR so that proper display samples, one from each radial line, could be selected; and it would still be necessary to make the angular interpolation. The systems described would operate in this fashion if the signal RERR is set equal to zero.
Fig. 13 illustrates the modification of the system where the ROMs 414 and 416 of Fig. 10 are replaced by a ROM 446, the ROMs 418 and 420 are replaced by a ROM 448, and the ROMs 426 and 428 are replaced by a ROM 448, and the ROMs 426 and 428 are replaced by a ROM 450. The latches have been omitted in the interest of clarity. The ROMs 446, 448 and 10 450 are identical. Each contains a different stored output for all combinations of the error signal, whether it is RERR or OERR, and the possible values of the data samples. As shown, the signal RERR is applied to the ROMs 446 and 448 and the signal OERR is applied to the ROM 450 so that the first intermediate interpolated data values 11 and 1, are derived at the radial position of each display point, and the final interpolated data value FDP is derived at the angular 15 position of the display point. In this case, the data samples S, and S, would be those along one radial of a slice, and the data samples S, and S, would be along the other radial line. As previously described, however, the signal OERR could be applied to the ROMs 446 and 448, and the signal RERR could be applied to the ROM 450 so that the first and second intermediate interpolated data values l,' and I,' are at the angular position of the display point. In this case, 20 S, and.S2 would be along a radial are, and S, and S, would be along another radial arc.
Fig. 14 illustrates a single solid state device 452 that performs internally all of the functions of the three devices 446 and 448 and 450 of Fig. 13.
Fig. 15 illustrates a circuit wherein the signals RERR and OERR are not actively derived as the display points of a slice are being scanned because the values of RERR and OERR for each display point have been previously determined and stored in a ROM 454. The display point scanning control signals XDIR and YINC/RINC are provided by means 456, and the x, yaddress of each display point is determined by counters 458 and 460 in a manner previously explained. The signal STRTL is applied to the ROM 454 and, in order to reduce the number of pins required, the word representing the first line of a sector could be used by means 462 to 30 produce a signal at the beginning of each sector scan so as to achieve synchronization. From the x, y address of a display point, the ROM 454 selects the appropriate stored values of INCR and DECR that are used as explained in the discussion of Figs. 5, 6, 8 and 10 to select the correct data samples S,S,S, and S, from the line memories. Stored in the ROM 454 are the final data values for all possible combinations of RERR, OERR for each display point and DATA. The appropriate final data value is selected from the digital values of RERR, OERR and DATA for each point. Thus, the ROM 454 is a means responsive to the data sample and the display point scanning control signals for determining the final interpolated data value for each dislay point.
The scan conversion system of this invention lends itself to enlarging a selected portion of the image that lies between any two radial lines and within a given radial range. As will be explained in a continuing patent application, this can be done by providing means that may include a cursor for identifying the radial lines and the radial range, means for dividing RERR for each display point in the smaller portion of the image by a magnification factor m. and means for multiplying XHAT and COUNT for each display point in the smaller portion by m. It would also be possible to scan the smaller portion of the image more rapidly in order to attain clearer images of rapidly moving objects.
Instead of using a single radial position one could calculate two radial positions in the following manner. Two constants called- AR, and AR, would be selected for every line within the sector. AR, would feed one accumulator and AR, a second accumulator. The two accumulators would be updated every time a movement in y is indicated lby the display point scanning signal. 50 The first accumulator would use 0, in calculating the r-idius corresponding to the distance from the sector apex along the outer line to the intersection of the row where the current display point DP resides. The second accumulator would use fl. in calculating the radius corresponding to the distance from the sector apex along the inner line to the intersection of the same row as described above. Each radius counter_Vould produce their own signals INCR and DECR to 55 respectively move the two shift registees appropriately such that the data present at the G, and G, outputs from each shift register bounded their respective radius calculation. The two radius calculations in turn would generate two RERR signals called RERR", for the outer line and RERR", for the inner line. These signals would be used to interpolate the data present at each shift register. The end result of the above would be two intermediate interpolated data values, 60 each bounded by two sample data values that do not necessarily have the same radial displacement from the apex. The intermediate interpolated data values would be at the intersection of the current output display row and two scan lines currently being read out from the line memories.
-10 These two intermediate data values would then be used in a manner analogous to the present 65 26 GB2153120A 26 way of correcting for OERR mainly the signals COUNT and XHAT. The end result would be a final data value derived by using COUNT and XHAT to interpolate intermediate interpolated data values at the intersection of the current row of display points with the radial lines of a slice.
As will be described in a continuing application, expansion of a selected area can be effected by multiplying OERR for each display point in the area by a magnification factor m and dividing RERR by m.
Instead of scanning the display points contained within a pair of radial lines, it would be possible to identify display points in any desirable sequence by their x, y addresses and apply these addresses to a ROM which is programmed with OERR, RERR, L# and the data sample number. The L# and data sample number are applied to a ROM in which the data samples are 10 stored so as to obtain the proper four data samples for interpolation. These and the values of OERR and RERR are applied to an interpolation ROM which has programmed in it the final interpolated data value for any combination of the four data samples and any combination of OERR and RERR. Thus it is noted that the intermediate interpolated data values never appear although they are used in programming the interpolation ROM.
Another way of using ROMs is to apply the x, y address of each display point to a ROM having OERR, RERR, INCR and DECR stored in it. The data samples are stored in a three-line buffer as has been described and INCR and DECR are applied by an up/down counter to the buffer so as to provide a proper sequence of data samples for each radial line to a different shift register. INCR and DECR are then used to operate the shift register as has been described to 20 provide the proper four data samples to the interpolation ROM. OERR and RERR are also applied to the interpolation ROM and it has been programmed so as to yield all possible combinations of the four data sample values and OERR and RERR.
In all of the embodiments of the invention thus far described, the signals that control the sequence in which the display points are scanned are derived first and the respective data 25 samples from which the final interpolated data values for the display points are to be derived are selected in response to the scanning signals, but one skilled in the art can readily appreciate that the data samples could be selected first and the display points for which final interpolated data values are to be derived could be selected in response to the data samples. It is only necessary that the data samples and the display points have a relationship such that the data samples to 30 be used in deriving the final interpolated data value for a display point define an area containing that display point.

Claims (1)

1. A scan conversion system for translating analog data obtained from a scanner that scans 35 along radial lines of a sector in sequence and at a given rate for application to a display memory having display points effectively disposed in orthogonal rows parallel to an x axis and columns parallel to a y axis, the rows being separated by K, and the columns being separated by K, comprising:
sampling apparatus for providing samples of the analog data occurring at samples points 40 along said radial lines, said sample points being equally spaced from each other and having the same respective radial distances from the origin of the sector; memory means coupled to the output of said sampling apparatus; a source of display point scanning control signals for indicating the sequence of display point to display point steps K. parallel to the x axis or KY parallel to the y axis in order to scan the 45 display points for each slice of the sector; means coupled to said source of display point scanning control signals for updating the x and y addresses of the display memory; means providing a signal representing AXHAT equal to the absolute value of the difference between the tangents of the angles between the respective radial fines defining a slice and the y 50 axis; means for deriving a signal XHAT for each display point of a slice, XHAT being equal to the distance parallel to the x axis between the radial lines defining the slice and passing through the display point, said means comprising an accumulator responsive to the display point scanning control signal for adding to the known value of XHAT for a previously scanned display point a 55 value of AXHAT for each step of KY in scanning from that previously scanned display point to the display point for which the value of the signal XHAT is sought; means for providing the value of KtanO where 0 is the angle between one radial line of each slice and the y axis; means responsive to said display point scanning signals for deriving a signal COUNT which is 60 the distance parallel to the x axis of a display point from one of the radial lines of a slice, by combining the values of K, for steps parallel to the x axis and values of K.tanO for steps parallel to the y axis; means for obtaining from said memory a data sample one each of two radial lines, said samples having the same radius; and 27 GB 2 153 120A 27 interpolating means responsive to the signals COUNT, XHAT and said data samples for deriving an interpolated data value for said display point at the angular position of said display point between the radial lines of the sector.
Printed in the Unite'd Kingdom for Her Majesty's Stationery Office, Dd 8818935, 1985, 4235. Published at The Patent Office, 25 Southampton Buildings, London, WC2A l AY, from which copies may be obtained.
GB08506834A 1980-11-03 1985-03-15 Scan converter apparatus Expired GB2153120B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US20374680A 1980-11-03 1980-11-03

Publications (3)

Publication Number Publication Date
GB8506834D0 GB8506834D0 (en) 1985-04-17
GB2153120A true GB2153120A (en) 1985-08-14
GB2153120B GB2153120B (en) 1986-01-29

Family

ID=22755153

Family Applications (5)

Application Number Title Priority Date Filing Date
GB8132991A Expired GB2089537B (en) 1980-11-03 1981-11-02 Scan converter apparatus
GB08418007A Expired GB2141848B (en) 1980-11-03 1984-07-16 Scan converter apparatus
GB848418006A Pending GB8418006D0 (en) 1980-11-03 1984-07-16 Scan converter apparatus
GB08432555A Expired GB2149541B (en) 1980-11-03 1984-12-21 Scan converter apparatus
GB08506834A Expired GB2153120B (en) 1980-11-03 1985-03-15 Scan converter apparatus

Family Applications Before (4)

Application Number Title Priority Date Filing Date
GB8132991A Expired GB2089537B (en) 1980-11-03 1981-11-02 Scan converter apparatus
GB08418007A Expired GB2141848B (en) 1980-11-03 1984-07-16 Scan converter apparatus
GB848418006A Pending GB8418006D0 (en) 1980-11-03 1984-07-16 Scan converter apparatus
GB08432555A Expired GB2149541B (en) 1980-11-03 1984-12-21 Scan converter apparatus

Country Status (5)

Country Link
JP (1) JPS57108681A (en)
CA (1) CA1173966A (en)
DE (2) DE3143429A1 (en)
FR (1) FR2493649B1 (en)
GB (5) GB2089537B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4468747A (en) * 1980-11-03 1984-08-28 Hewlett-Packard Company Scan converter system
JPS59218145A (en) * 1983-05-26 1984-12-08 株式会社東芝 Ultrasonic examining apparatus
JPS6041956A (en) * 1983-08-19 1985-03-05 株式会社東芝 Ultrasonic diagnostic apparatus
US4581636A (en) * 1984-04-02 1986-04-08 Advanced Technology Laboratories, Inc. Scan conversion apparatus and method
JPS6272341A (en) * 1985-09-26 1987-04-02 株式会社東芝 Ultrasonic diagnostic apparatus
FR2589265B1 (en) * 1985-10-28 1989-10-27 Descartes Paris V Universite R DIGITAL ECHOGRAPHIC IMAGE PROCESSOR, INTERPOLATING
FR2593009B1 (en) * 1986-01-10 1988-10-07 Thomson Csf METHOD FOR HOMOGENEIZING AN IMAGE FROM A CONVERSION OF COORDINATES AND DIGITAL IMAGE TRANSFORMER USING SUCH A METHOD
JPS63296734A (en) * 1987-05-29 1988-12-02 Yokogawa Medical Syst Ltd Digital scanning converter
JPS6488280A (en) * 1987-07-13 1989-04-03 Sperry Marine Inc Scan conversion method and apparatus
JP2606417B2 (en) * 1990-07-30 1997-05-07 松下電器産業株式会社 Ultrasound diagnostic equipment
DE4206139C2 (en) * 1992-02-28 1994-08-04 Schimmelpfennig Karl Heinz Process for the precise evaluation of tachograph diagrams
DE4223424A1 (en) * 1992-07-16 1994-01-20 Hell Ag Linotype Method and device for generating circular courses
US6063032A (en) * 1998-09-28 2000-05-16 Scimed Systems, Inc. Ultrasound imaging with zoom having independent processing channels
WO2007073751A1 (en) * 2005-12-23 2007-07-05 Barco Orthogon Gmbh Radar scan converter and method for transforming
US7327309B2 (en) 2005-12-23 2008-02-05 Barco Orthogon Gmbh Radar scan converter and method for transforming

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4002827A (en) * 1975-05-15 1977-01-11 General Electric Company Polar coordinate format to a cartesian coordinate format scan converter
US4174514A (en) * 1976-11-15 1979-11-13 Environmental Research Institute Of Michigan Parallel partitioned serial neighborhood processors
JPS53137691A (en) * 1977-05-07 1978-12-01 Toshiba Corp Sca nning conversion system
JPS6024429B2 (en) * 1977-08-15 1985-06-12 沖電気工業株式会社 Digital scan conversion method
JPS5481095A (en) * 1977-12-12 1979-06-28 Toshiba Corp Computer tomography device
US4241412A (en) * 1979-03-16 1980-12-23 Diasonics, Inc. Polar to cartesian mapping apparatus and method

Also Published As

Publication number Publication date
DE3153416C2 (en) 1989-07-06
GB8418006D0 (en) 1984-08-22
GB2089537A (en) 1982-06-23
GB2141848A (en) 1985-01-03
JPH0372295B2 (en) 1991-11-18
GB8432555D0 (en) 1985-02-06
GB8418007D0 (en) 1984-08-22
DE3143429C2 (en) 1988-09-01
GB2089537B (en) 1985-10-02
GB2149541A (en) 1985-06-12
DE3143429A1 (en) 1982-10-28
GB2141848B (en) 1985-10-02
GB8506834D0 (en) 1985-04-17
GB2153120B (en) 1986-01-29
GB2149541B (en) 1986-02-05
FR2493649A1 (en) 1982-05-07
JPS57108681A (en) 1982-07-06
FR2493649B1 (en) 1989-04-28
CA1173966A (en) 1984-09-04

Similar Documents

Publication Publication Date Title
US4471449A (en) Scan converter system
US4468747A (en) Scan converter system
GB2153120A (en) Scan converter apparatus
US4610026A (en) Method of and apparatus for enlarging/reducing two-dimensional images
US4402012A (en) Two-dimensional digital linear interpolation system
US4074281A (en) Method and appartus for making hard copy records of curves including curves which are mathematically described as multi-functions from periodically sampled data points
US4428059A (en) Real time fill circuit
GB2150797A (en) Graphic display system
JPH04372285A (en) Electronic zooming system utilizing image buffer
US4620153A (en) Magnetic resonance imaging system
Bresler et al. Optimal interpolation in helical scan 3D computerized tomography
EP0236964B1 (en) Iterative real-time XY raster path generator for bounded areas
EP0695988A2 (en) A first-in first-out memory
Yao et al. Run-length slice algorithms for thescan-conversion of ellipses
US4442545A (en) Compaction of television display graphics in phantom-raster-scanned image memory
JPH09231351A (en) Method for resizing picture and computer program product for the method
JPH0617187Y2 (en) Waveform display device
SU682923A1 (en) Digital linear interpolator
JPH0344772B2 (en)
JP2606417B2 (en) Ultrasound diagnostic equipment
SU805298A1 (en) Graphic information displaying device
JP2762290B2 (en) Digital scan converter
JPS63284684A (en) Picture processor
JPH0374071B2 (en)
SU1495843A1 (en) Device for generation of dynamic images

Legal Events

Date Code Title Description
PCNP Patent ceased through non-payment of renewal fee

Effective date: 19961102