Still picture processing methods and apparatus

Abstract: A method of processing original still picture data representing an original still image and stored in a video memory and storing processed still picture data representing a processed still image in a predetermined location of the video memory comprising the steps of setting an XY orthogonal coordinate system on the video memory, setting a reference line (y=Ym) parallel to one of X and Y axes of the orthogonal coordinate system and passing through a point of intersection of lines M(Xm,Ym), each of which connects corresponding pixels P₁(x₁,y₁) ; P₂(x₂,y₂) of the original and processed still images (A,B,C,D ; A₂B₂C₂D₂), moving the pixel data on a line of the original still image parallel to the reference line and furthest from the reference line to addresses of the video memory forming a line of the processed still image, and repeating the preceding step for pixel data on lines of the still image parallel to the reference line and second furthest from the reference line and succeeding lines, thereby the processed still picture data representing the processed still image being stored in the video memory. An apparatus for processing original still picture data is also provided.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates generally to still picture processing systems and, more particularly, is directed to a still picture processing method and/or apparatus in which a processed still picture signal of a processed still picture similar to an original still picture of an original still picture signal stored in a memory is re-stored in the memory at its desired address. Description of the Prior Art An example of the prior art will be explained hereinafter with reference to Fig. 1A to 1C. The example considers the case where an enlarged or magnified still picture signal of an original still picture signal stored in a video memory is stored in the video memory at its desired location instead of the original still picture signal in such a manner that a magnified still picture having a rectangular area A 2 B 2 C 2 D 2 of an original still picture having, for example, a rectangular area A 1 B 1 C 1 D 1 is moved in parallel to a desired location on a memory plane corresponding to a picture screen as shown in Fig. 1A. Now, if the original still picture signal and the magnified still picture signal partly or wholly overlap with each other, the original still picture signal of the original still picture having the rectangular area A 1 B 1 C 1 D 1 is temporarily transferred to a buffer memory as shown in Fig. 1B. Then, this still picture in signal form is magnified as shown in Fig. 1C and stored in the original video memory instead of the original still picture signal. The example of the above-mentioned prior art, however, needs a buffer memory whose storage capacity is the same as that of the video memory, which provides an expensive apparatus for processing a still picture. Also, the original still picture signal, stored in the video memory, is transferred to the buffer memory and is again transferred to the video memory so that a processing time for obtaining a processed still picture signal from the original still picture signal is increased considerably. The preambles of claims 1 to 4 reflect the prior art known from JP-A- 61 015 282. OBJECTS AND SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide an improved still picture data processing method and/or apparatus which can eliminate the above-mentioned defects encountered with the prior art. It is another object of the present invention to provide a still picture data processing method and/or apparatus of a simplified arrangement which employs a memory of a small storage capacity. It is still another object of the present invention to provide a still picture data processing method and/or apparatus of a simplified arrangement which employs a memory of high processing speed. According to an aspect of the present invention, there is provided a method of processing original still picture data representing an original still image and stored in a video memory and storing processed still picture data representing a processed still image in a predetermined location of said video memory. The method is set out in independent claims 1 and 2. According to another aspect of the present invention, there is provided an apparatus for processing original still picture data representing an original still image and generating a processed still picture data representing a processed still image. The features of this apparatus are set out in independent claims 3 and 4. These and other objects, features and advantages of the present invention will be apparent in the following detailed description of preferred embodiments when read in conjunction with the accompanying drawings, in which like reference numerals are used to identify the same or similar parts in the several views. BRIEF DESCRIPTION OF THE DRAWINGS Figs. 1A to 1C are schematic diagrams useful for explaining an operation of the prior art; Fig. 2 is a block diagram of an embodiment of the present invention; Fig. 3 is a flow chart to which reference will be made in explaining an operation of a first embodiment of the present invention; Fig. 4 is a schematic diagram useful for explaining the operation the first embodiment of the present invention; Fig. 5 is a flow chart to which reference will be made in explaining an operation of a second embodiment of the present invention; Fig. 6 is a schematic diagram useful for explaining the operation of the second embodiment of the present invention; Fig. 7 is a flow chart to which reference will be made in explaining an operation of a third embodiment of the present invention; Fig. 8 is a schematic diagram useful for explaining the same; Figs. 9, 10 and 11 are schematic diagrams useful for explaining an operation of a spline interpolation, respectively; Fig. 12 is a flow chart to which reference will be made in explaining the operation of the spline interpolation; Fig. 13 is a flow chart to which reference will be made in explaining the memory control operation for the spline interpolation; Figs. 14 and 15 are schematic diagrams to which reference will be made in explaining the operation for the spline interpolation, respectively; Figs. 16 and 17 are flow charts to which reference will be made in explaining the operation for the spline interpolation, respectively; and Fig. 18 is a flow chart to which reference will be made in explaining the memory control operation for the spline interpolation. DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS The present invention will now be described with reference to the drawings. Referring to the drawings in detail and initially to Fig. 2, an embodiment of the present invention which is applied to still picture terminal apparatus will be described. In Fig. 2, it will be seen that a computer (microcomputer) 1 is comprised of a central processing unit (CPU) 2, a read-only memory (ROM) 3 and a random access memory (RAM) 4. The ROM 3 and the RAM 4 are connected to a bus line 5 of the CPU 2. The bus line 5 might be formed of a data bus, an address bus, a control bus or the like. The computer 1 controls respective portions of a still picture communication terminal apparatus. A transmission line 13 might be either wireless communication type or wire-communication type. If the transmission line 13 is a wire transmission line, then there are available an integrated services digital network (ISDN), a high speed digital network line, analog telephone network line, digital data exchange network (DDX), special network line or the line. The DDX might be either DDXC or DDXP. A communication processing circuit and interface 12 is connected between the transmission line 13 and the bus line 5, and whose protocol and transmission rate correspond to those of a still picture signal which is transmitted through the transmission line 13. The communication processing circuit carries out encoding, modulation and so on for transmitting data and also carries out decoding, demodulation and so on for receiving data. A frame memory 6 might be a video RAM. Its digital video signal input and output terminal and control signal input terminal are connected to the bus line 5. The digital video signal input terminal of the frame memory 6 is connected to an output terminal of an analog-to-digital (A/D) converter 10, and the digital video signal output terminal thereof is connected to an input terminal of a digital-to-analog (D/A) converter 7. Another control signal input terminal of the frame memory 6 is connected to an output terminal of a display timing control circuit 11. The write and read operations of the frame memory 6 are controlled by the computer 1 and the display timing control circuit 11. The frame memory 6 includes horizontal and vertical address counters, a memory controller and the like, though not shown. An input terminal 9 is supplied with an analog video signal. The video signal (video signal from a video camera, a video tape recorder or the like) from the input terminal 9 is supplied to the A/D converter 10, in which it is converted to a digital video signal. The digital video signal from the A/D converter is supplied to and written in the frame memory 6. The digital video signal read out from the frame memory 6 is converted to an analog video signal by the D/A converter 7. The analog video signal thus converted is supplied to a monitor receiver 8 having a cathode ray tube. (CRT) and is then displayed on the cathode ray tube of the monitor receiver 8. The analog video signal supplied to the input terminal 9 is converted to the digital video signal by the A/D converter 10, and is then stored in the frame memory 6 as the digital still picture signal (whose still picture is a natural picture) as described above. This still picture signal (original still picture signal) is read out from the frame memory 6 under the control of the microcomputer 1, then processed (magnified, reduced or moved with the same size). The processed still picture signal is then written and stored in the frame memory 6 at its desired location instead of the original still picture signal as will be described later. The digital still picture signal stored in the frame memory 6 is read out, and is then supplied, under the control of the microcomputer 1, to the communication processing circuit and interface 12, in which it is processed for transmission and transmitted through the transmission line 13 to other still picture communication terminal apparatus. A small storage capacity buffer memory 14 is provided. Its digital video signal input and output terminal and control signal input terminal are connected to the bus line 5. The write and read operations of the buffer memory 14 are controlled by the microcomputer 1. This buffer memory 14 includes horizontal and vertical address counters, a memory controller and the like though (not shown). Further, there is provided a digital signal processing circuit 15 whose input and output terminal is connected to the bus line 5, and which is controlled by the microcomputer 1. A high-speed access RAM 16 is provided in the digital signal processing circuit 15, and the access speed thereof is selected to be very high as compared with that of the video RAM 6. Fig. 3 is a flow chart to which reference will be made in explaining how to magnify the still picture signal stored in the frame memory 6 under the control of the microcomputer 1 as shown in Fig. 4. Prior to the explanation on the magnifying processing, the original still picture signal (original still picture) and the magnifying-processed still picture signal (magnifying-processed still picture) will be explained with reference to Fig. 4. As shown in Fig. 4, a memory plane corresponding to the picture screen of the frame memory 6 is set, and an xy orthogonal coordinate system is set on the memory plane. Initially, let us assume that the original still picture of the original still picture signal (whose still picture is a natural picture) stored in the frame memory 6 has a configuration of, for example, a rectangular area A 1 B 1 C 1 D 1 and that each side of the rectangular area A 1 B 1 C 1 D 1 is parallel to the x axis or y axis. Also, (X11, Y11), (X12, Y11), (X12, Y13) and (X11, Y13) assume coordinates of the respective points A 1 , B 1 , C 1 and D 1 thereof. In this case, let it be assumed that pixel data of respective pixels forming the original still picture having the rectangular configuration are stored at α addresses in the x direction and at β addresses in the y direction, i.e. they are stored in α·β addresses in total. Further, let us assume that the magnified still picture of the magnifying-processed still picture signal of the original still picture signal is such one that the original still picture is moved parallelly to a desired location on the memory plane corresponding to the picture screen. Also, let it be assumed that the magnified still picture has a rectangular area A 2 B 2 C 2 D 2 , each side of the rectangular area A 2 B 2 C 2 D 2 is parallel to the x axis or the y axis and that (X21, Y21), (X22, Y21), (X22, Y23) and (X21, Y23) represent coordinates of the respective points A 2 , B 2 , C 2 and D 2 , respectively. In Fig. 4, M (Xm, Ym) represents a point of intersection of lines, each of which connects corresponding points of the rectangular areas A 1 B 1 C 1 D 1 and A 2 B 2 C 2 D 2 . A line y = Ym passing through the point M (Xm, Ym), is parallel to the x axis, which is a reference line in this case. In the case of Fig. 4, the whole area of the original still picture overlaps the magnified still picture, and even if the reference line is parallel to either the x axis or y axis, the original still picture and the magnified still picture are divided in two by the reference line. Let us now explain a relationship between a desired point P1 (x 1 , y 1 ) located within the original still picture and a point P2 (x 2 , y 2 ) located within the magnified still picture. A line connecting these points P1 and P2 passes the point M of intersection. Values x 2 and y 2 are functions of values x 1 and y 1 so that they are expressed as follows: x 2 = Fx (x 1 ) y 2 = Fy (y 1 ) Since all lines connecting the points A 2 , A 1 ; B 2 , B 1 ; C 2 , C 1 ; and D 2 , D 1 pass through the intersection point M, the function equations (1) and (2) can be solved and the x and y coordinates Xm and Ym can be obtained. An embodiment of the present invention will be described on the basis of the example shown in Fig. 4 with reference to the flow chart forming Fig. 3. As shown in Fig. 3, following the Start of the operation, an equality of y = Y11 is set by substituting means at step ST-1. y = Y11 represents a line which includes an upper side of the rectangular area A 1 B 1 C 1 D 1 of the original still picture. The routine proceeds from step ST-1 to step ST-2. In step ST-2, under the control of read and write control means, α pixel data of point P1 (x 1 , y 1 ) (corresponding addresses of the memory 6) from coordinates X11 to X12 on the line y = Y11 are moved to point P2 (F x (X 1 ), F y (y 1 )) (corresponding addresses of the memory 6). The point P2, in this case, is located on the upper side of the rectangular area A 2 B 2 C 2 D 2 . Then, the routine proceeds from step ST-2 to step ST-3. In step ST-3, an equality of y = Y11 - ΔY is set by the substituting means, and the routine proceeds from step ST-3 to the next decision step ST-4. In step ST-4, it is determined by judging means whether y ≧ Ym is established or not. If it is determined that y ≧ Ym is established as represented by a YES at step ST-4, the routine returns to step ST-2. If on the other hand it is determined that y ≧ Ym is not established as represented by a NO at step ST-4, or if y < Ym is established, the routine proceeds to step ST-5. Steps ST1 to ST-4 mean that in the range of y ≧ Ym within the original still picture having the configuration of the rectangular area A 1 B 1 C 1 D 1 α pixel data of each point P1 (x 1 , y 1 ) on each line are moved to the corresponding point P2 [Fx (x 1 ), Fy (y 1 )] (corresponding addresses of the memory 6) on the line parallel to the reference line y - Ym of the magnified still picture by decrementing y from Y = Y11 by ΔY (corresponding to one address of the memory 6). In step ST-5, y = Y13 is set by the substituting means, and the equality of y = Y13 represents a line which includes the lower side of the rectangular area A 1 B 1 C 1 D 1 of the original still picture. The routine proceeds from step ST-5 to ST-6. In step ST-6, under the control of the read and write control means, α pixel data at the point P1 (x 1 , y 1 ) (corresponding addresses of the memory 6) extending from X11 to X12 on the line y = Y13 are moved to the corresponding point P2 [Fx (x 1 ), Fy (y 1 )] (corresponding addresses of the memory 6) of the magnified processed still picture. In this case, the point P2 is located on the lower side of the rectangular area A 2 B 2 C 2 D 2 . The routine proceeds from step ST-6 to step ST-7. In step ST-7, an equality of y = Y13 + ΔY is set by the substituting means, and the routine proceeds from step ST-7 to the next decision step ST-8. In step ST-8, it is determined by the judging means whether an inequality of y < Ym is satisfied or not. If it is determined that y < Ym is satisfied as represented by a YES at step ST-8, the routine returns to step ST-6. If on the other hand it is determined that y < Ym is not satisfied as represented by a NO at step ST-8, i.e. y ≧ Ym is satisfied, the routine is ended. In Fig. 3, the steps ST-5 to ST-8 mean that in the range of y < Ym within the original still picture having the the rectangular area A 1 B 1 C 1 D 1 , by incrementing y from Y = Y13 by ΔY [corresponding to one address of the memory 6], α pixel data of each point P1 (x 1 , y 1 ) on each line are moved to the corresponding point P2 [Fx (x 1 ), Fy (y 1 )] [corresponding addresses of the memory 61 on the line parallel to the reference line y = Ym of the magnified still picture. In the flow chart of Fig. 3, the system of step ST-1 to step ST-4 and the system of step ST-5 to step ST-8 can be replaced with each other or the two systems can be executed at the same time. In short, it is to be noted that the storing location of the pixel data of the original still picture signal stored in the memory is shifted at every line in such a manner that the pixels on the line parallel to the reference line of the original still picture are sequentially moved from the furthest from the reference line to the nearest or from the furthest from the corresponding reference line of the processed still picture to the nearest on a line parallel to the reference line. In the case of Fig. 4, the whole of the original still picture overlaps on the magnified still picture so that, even when the reference line is parallel either to the x axis or to the y axis, the original still picture and the magnified still picture are divided by two by the reference line. Thus, when the reference line parallel to the y axis is employed instead of the reference line parallel to the x axis, the operation is the same as explained above. If the magnified still picture partly overlaps the original still picture as shown in Fig. 6, pixels on respective points of the original still picture are moved on respective points of the magnified still picture in different manners with respect to the reference line y = Ym parallel to the x axis passing through the intersection point M (Xm, Ym) of lines connecting corresponding points of the original still picture and the magnified still picture and with respect to the reference line x = Xm parallel to the y axis. In other words, if the line y = Ym parallel to the x axis is employed as the reference line, the original still picture and the magnified still picture are divided by two by this reference line so that the same operations as those in Fig. 3 will be carried out. The operation in which the line x = Xm passing through the point M and parallel to the y axis is employed as the reference line will be explained with reference to a flow chart forming Fig. 5. As shown in Fig. 5, following the Start of the operation, an equality of x = X11 is set by substituting means at step ST-11. The line x = X11 includes the left side of the rectangular area A 1 B 1 C 1 D 1 of the original still picture. The routine proceeds from step ST-11 to step ST-12. In step ST-12, α pixel data at the point P1 (x 1 , y 1 ) [corresponding addresses of the memory 6] from Y11 to Y13 on the line x = X11 are moved to the point P2 [Fx (x 1 ), Fy (y 1 )] [corresponding addresses of the memory 6] by the read and write control means. The routine proceeds from step ST-12 to step ST-13. In step ST-13, an equality of x = X11 + ΔX is set by the substituting means, and then the routine proceeds from step ST-13 to step ST-14. In step ST-14, it is determined by judging means whether an inequality of x ≧ X12 is satisfied or not. If it is determined that the equality of x ≧ X12 is satisfied as represented by a YES at step ST-14, the routine returns to step ST-12. If on the other hand the equality of x ≧ X12 is not satisfied as represented by a NO at step ST-14, the routine is ended. According to the steps ST-11 to ST-14, in the range of x ≧ X12 within the original still picture having the rectangular area A 1 B 1 C 1 D 1 , α pixel data of the respective points P1 (x 1 , y 1 ) on the lines are moved to the corresponding points P2 [Fx (x 1 ), Fy (y 1 )] [the corresponding addresses of the memory 6] on the line parallel to the reference line y = Ym of the magnified still picture by increasing x from x = Xll by ΔX [corresponding to one address of the memory 6]. In this example, the original still picture is magnified. In the above-noted explanation, the respective points of the original still picture and the respective corresponding points of the processed still picture are not always the practical address points of the memory. Therefore, in practice, data of imaginary points existing among the respective points of the original still picture must be calculated by the interpolation. Then, the calculated data must be mappped on the address positions of the respective points of the processed still picture. Then, in order to interpolate the data at the imaginary points, in general, address data at a plurality of points in the up and down direction and the left and right direction around the imaginary point are necessary. Thus, when the calculated data are sequentially mapped from the upper direction in the embodiment of Fig. 4, the data of the processed still picture which are converted to a region where the data necessary for the interpolation exist are written as the mapping approaches the reference line, y = Ym. As a result, the interpolation data is erased and there is then presented a possibility that the interpolation will not be made. The following embodiment of the invention is made in order to solve the above-mentioned problem, and will be explained with reference to Figs. 7 and 8. As shown in Fig. 8, similarly to Fig. 6, the original still picture and the magnified still picture partly overlap with each other, and the reference line y = Ym passes through the overlapping area of the original still picture and the magnified still picture. Also, the reference line y = Ym divides the original still picture and magnified still picture by two. A band-shaped area having a rectangular area E 1 F 1 G 1 H 1 , each side of which is parallel to each side of the rectangular area A 1 B 1 C 1 D 1 is provided at both sides of the reference line y = Ym of the original still picture. In this event, w 1 /2 assumes each of the distances of the sides E 1 F 1 ; and G 1 H 1 of the band-shaped area from the reference line y = Ym. Further, (X15, Y15), (X16, Y15), (X16, Y17) and (X15, Y17) assume coordinates of the respective points E 1 , F 1 , G 1 and H 1 . Furthermore, a band-shaped area having a rectangular area E 2 F 2 G 2 H 2 , each side of which corresponds to each side of the rectangular area A 2 B 2 C 2 D 2 is provided at both sides of the reference line y = Ym of the processed still picture. W 2 /2 assumes each of the distances of the sides E 2 F 2 ; and G 2 H 2 of the band-shaped area from the reference line, y = Ym. Also, (X25, Y25), (X26, Y25), (X26, Y27) and (X25, Y27) assume the coordinates of the respective points E 2 , F 2 G 2 and H 2 , respectively. With above-noted arrangements, similarly to Fig. 4, the functions, x 2 = Fx (x 1 ) and y 2 = Fy (y 1 ) can be calculated, and the coordinate (Xm, Ym) of the point M can also be calculated. In association with the example shown in Fig. 8, let us explain a second embodiment of the present invention with reference to a flow chart forming Fig. 7. Referring to Fig. 7, following the Start of the operation, the whole pixel data of the point P 1 (x 1 , y 1 ) of the rectangular area E 1 G 1 F 1 H 1 of the original still picture having the rectangular area A 1 B 1 C 1 D 1 and stored in the main memory 6 are transferred to the buffer memory 14 by the write and read control means (in step ST-21). The routine proceeds from step ST-21 to step ST-22. In step ST-22, an equality of y = Y11 is set by the substituting means. y = Y11 means a line which includes the upper side of the rectangular area A 1 B 1 C 1 D 1 of the original still picture. Then, the routine proceeds from step ST-22 to step ST-23. In step ST-23, α pixel data of the point P 1 (x 1 , y 1 ) [corresponding addresses of the main memory 6] from X11 to X12 on the line y = Y11 are moved to point P 2 [Fx (x 1 ), Fy (y 1 )] [corresponding addresses of the main memory 6] by the write and read control means. In that event, the point P 2 is located on the upper side of the rectangular area A 2 B 2 C 2 D 2 . The routine proceeds from step ST-23 to step ST-24. In step ST-24, an equality of y = Y11 - ΔY is set by the substituting means. The routine proceeds from step ST-24 to the next decision step ST-25. In decision step ST-25, it is determined by judging means whether or not an inequality of y > Y15 is satisfied. If it is determined that y > Y15 is satisfied as represented by a YES at step ST-25, then the routine returns to step ST-23. If on the other hand it is determined that y > Y15 is not satisfied, i.e. y < Y15 is satisfied as represented by a NO at step ST-25, the routine proceeds to step ST-26. According to step ST-22 to step ST-25, α pixel data of the point P 1 (x 1 , y 1 ) on the respective lines are moved to the corresponding point P 2 [Fx (x 1 ), Fy (y 2 )] [corresponding addresses of the main memory 6] on the line parallel to the reference line y = Ym of the magnified still picture by decrementing y from y = Y11 by ΔY [corresponding to one address of the main memory 6] in a range of y > Y15 within the original still picture having the rectangular area A 1 B 1 C 1 D 1 . In step ST-26, an equality of y = Y13 is set by the substituting means. y = Y13 means a line which includes the lower side of the rectangular area A 1 B 1 C 1 D 1 of the original still picture. Then, the routine proceeds from step ST-26 to step ST-27. In step ST-27, α pixel data of the point P 1 (x 1 , y 1 ) [corresponding address of the main memory 6] from X11 to X12 on the line y = Y13 are moved to the corresponding point P 2 [Fx (x 1 ), Fy (y 1 )] [corresponding address of the main memory 6] of the magnified still picture by the write and read control means. In this case, the point P 2 is located on the lower side of the rectangular area A 2 B 2 C 2 D 2 . The routine proceeds from step ST-27 to step ST-28. In step ST-28, an equality of y = Y13 + ΔY is set by the substituting means. Then, the routine proceeds from step ST-28 to the next decision step ST-29. It is determined at decision step ST-29 by judging means whether or not the inequality of y < Y17 is satisfied. If it is determined that the inequality of y < Y17 is satisfied as represented by a YES at step ST-29, the routine returns to step ST-27. If it is determined that y < Y17 is not satisfied, or if y ≧ Y17 is satisfied as represented by a NO at step ST-29, the routine proceeds to step ST-30. According to step ST-26 to step ST-29, α pixel data of the point P 1 (x 1 , y 1 ) on each line are moved to the point P2 [Fx (x 1 ), Fy (y 1 )] [corresponding address of the memory 6] on the line parallel to the reference line y = Y of the magnified still picture by increasing y from y = Y13 by ΔY each in a range of y < Y17 within the original still picture having the rectangular area A 1 B 1 C 1 D 1 . In step ST-30, the pixel data of the processed still picture signal of the original still picture signal stored in the buffer memory 14 is moved to the point P 2 [Fx (x 1 ), Fy (y 1 )] in the band-shaped area of the rectangular area E 2 F 2 G 2 H 2 within the processed still picture corresponding to the band-shaped area of the rectangular area E 1 F 1 G 1 H 1 of the original still picture signal of the main memory 6 by the write and read control means. In this case, if in the original still picture having the rectangular area A 1 B 1 C 1 D 1 stored in the main memory 6 all pixel signals within the rectangular area E 1 F 1 G 1 H 1 are magnified and transferred to the buffer memory 14 by the write and read control means, in step ST-30, the magnification-processed pixel signals are directly transferred to the band-shaped area of the rectangular area E 2 F 2 G 2 H 2 of the main memory 6. Alternatively, if in step ST-21 within the original still picture having the rectangular area A 1 B 1 C 1 D 1 stored in the main memory 6, all pixel signals within the rectangular area E 1 F 1 G 1 H 1 are directly transferred to the buffer memory 14 by the write and read control means, in step ST-30, the original still picture signal is magnification-processed and transferred to the band-shaped area of the rectangular area E 2 F 2 G 2 H 2 of the main memory 6. In Fig. 7, the system of step ST-22 to step ST-25 and the system of step ST-26 to step ST-29 may be replaced with each other and they may be executed simultaneously. In short, the storing location of the pixel data of the original still picture signal stored in the main memory 6 is moved at every line in such a manner that the pixel data on the line parallel to the reference line of the original still picture is sequentially transferred on the line parallel to the reference line from the furthest to the nearest or to the reference line corresponding to the processed still picture from the furthest position to the nearest position. If a buffer memory [whose storage capacity is very small as compared with that of the main memory 6] is used in addition to the main memory 6 and the above-noted steps ST-21 and ST-30 are executed, when instead of the original still picture signal stored in the main memory 6 the processed still picture signal is re-stored in the main memory 6, it is possible to avoid such a possibility that the interpolation for interpolating the deteriorated pixel signals near the reference line and stored in the main memory becomes impossible. The interpolating method, which is applicable to the magnifying processing according to the above-noted embodiments, will be explained below. When in Figs. 4, 6 and 8 the length of each side of the rectangular area A 2 B 2 C 2 D 2 of the processed still picture is selected to be an integral multiple, for example, twice that of each corresponding side of the rectangular area A 1 B 1 C 1 D 1 of the original still picture, pixel data of the rectangular area A 2 B 2 C 2 D 2 may be provided only by interpolating the intermediate values of pixel data of the rectangular area A 1 B 1 C 1 D 1 . Conversely, when the length of each side of the rectangular area A 2 B 2 C 2 D 2 is selected to be 1/integral multiple, for example, 1/2 of that of each corresponding side of the rectangular area A 1 B 1 C 1 D 1 , the pixel data of the rectangular area A 2 B 2 C 2 D 2 may be provided by cyclically removing pixel data of the rectangular area A 1 E 1 C 1 D 1 . However, a relationship between the original still picture and the processed still picture is not always limited to those mentioned above. It is frequently observed that they are in a relationship of non-integral multiple. In this case, if data at an imaginary position located at the intermediate of the address position of pixel data of the original still picture is calculated by the interpolation and the pixel data of the resultant imaginary position is transferred to the real address position of the processed still picture, it becomes possible to carry out the magnifying process. As the above-noted interpolating method, a spline interpolation will be described by way of example. The spline interpolation of one-dimension will be explained with reference to Figs. 9 and 10. The most specific feature of the spline interpolation lies in the following points: A curve provided by the interpolation passes through all of sampling points; it has no discontinuous points; it is short in calculation time; it is increased in information band by the complete convolution; and it becomes a cubic curve. The spline function is expressed by the sum of interval functions expressed by a cubic function which differs at every interval between two sampling points. More specifically, the spline function is a function equal to a cubic function of f 0 (x) = a 0 x 3 + b 0 x 2 + c 0 x + d 0 which is uniquely determined at four points, (x -1 , f -1 ), (x 0 , f 0 ), (x 1 , f 1 ) and (x 2 , y 2 ) in the interval of [x | x 0- ≦ x < x 1 ] as shown in Fig. 9. When the above-noted cubic function is generalized, it is expressed by the following equation (refer to Fig. 10). f(x) = a n x 3 + b n x 2 + c n x 2 + d n (x n ≦ x < x n+1 ) where (a n , b n , c n , d n ) is given by the following equation. where x and is the normalized value for x which is x n ≦ x < x n+1 . The idea of the above-mentioned spline interpolation is enlarged to the two-dimension, and this will be described with reference to Fig. 11. Let us consider how to obtain pixel data at an imaginary point Q. When the pixel data at the imaginary point Q is obtained, points g 0 , g 1 , g 2 and g 3 are obtained first and then the pixel data at the imaginary point Q is obtained on the lines connecting the above-mentioned points g 0 , g 1 , g 2 and g 3 as follows. Accordingly, pixel data Q at the point Q is expressed as Thus, the pixel data Q is obtained by the following equation. (A) is expressed by the following equation, and (A t ) is the transposed matrix of (A) If then, the pixel data Q is expressed by an inner product of five matrices as follows. The calculation processing for obtaining the pixel data P 2 (x 2 , y 2 ) = (y 1 ) · · (x 1 , y 1 ) · · (x 1 ) at the point P 2 corresponding to pixel data P 1 (x 1 , y 1 ) at the point P 1 in Fig. 4 will be explained with reference to a flow chart forming Fig. 12. Referring to Fig. 12, following the Start of operation, y = start - Y (initial value) is set at step ST-31, and then x = start - X (initial value) is set at step ST-32. Then, = · (x) is calculated in step ST-33 where represents temporary matrix of (1 x n). = (x, y) · is calculated in step ST-34, and then = · is calculated at step ST-35. P(x, y) = (y) · is calculated at step ST-36, and x = x + 1 is set in step ST-37. Then, the routine proceeds to the next decision step ST-38, whereat it is determined whether x is equal to end - X (final value) or not. If a NO is output at step ST-38, the routine returns to step ST-32. If on the other hand a YES is output at step ST-38, the routine proceeds to step ST-39. y = y + 1 is set in step ST-39. Then, the routine proceeds to the next decision step ST-40, whereat it is determined whether y is equal to end -Y (final value) or not. If a NO is output in step ST-40, the routine returns to step ST-32, while if a YES is output at step ST-40, the routine is ended. The above-noted calculation processing in the example shown in Fig. 12 has a very long processing time. An example in which interpolation calculations for a plurality of imaginary points are carried out successively will be explained with reference to a flow chart forming Fig. 13. As, for example, shown in Fig. 14, when magnified pixel data q 0 , q 1 , q 2 , ... q 15 , .... forming magnified still picture data are obtained from original pixel data P 0 , P 1 , P 2 , ..., P 14 forming original still picture data, the magnified pixel data q 1 is obtained by the calculation using, for example, 3 x 3 original pixel data P 0 , P 1 , P 2 , P 5 , P 6 , P 7 , P 10 , P 11 and P 12 . Further, the magnified data q 2 is obtained by the calculation using 3 x 3 original pixel data P 0 , P 1 , P 2 , P 5 , P 6 , P 7 , P 10 , P 11 and P 12 . In this way, the original pixel data necessary for the above-noted calculation are repeatedly read out from the video memory. This will be described with reference to the flow chart of Fig. 13. Referring to Fig. 13, following the Start of operation, 3 x 3 original pixel data from the video memory (video RAM) 6 in which the original still picture data are stored as shown in Fig. 2 are transferred to the work RAM 16 in the digital signal processing circuit 15 at step ST-41. Then, the calculation is carried out by using 3 x 3 pixel data stored in the work RAM 16 to provide one magnified pixel data at step ST-42. Then, the routine proceeds to the next decision step ST-43, whereat it is determined whether or not the predetermined calculation is ended. If a NO is output at step ST-43, the routine returns to step ST-41. If a YES is output at step ST-43, the routine is ended. The magnified pixel data q 0 , q 1 , q 2 , ... thus calculated are re-stored in the original video RAM as Q 0 , Q 1 , Q 2 , ... instead of the original pixel data as shown in Fig. 15. As described above, to repeatedly read the original pixel data from the video RAM needs plenty of time, which unavoidably provides an increased processing time. Next, a method which eliminates the above defect will be described. In Fig. 14, since p (x, y) represents all points which exist in a two-dimensional space formed of 0 ≦ x < m and 0 ≦ y < n, all x forming of 0 ∼ m -1 and all y forming of 0 ∼ n - 1 are pre-processed so as to form vector arrangements of (x) = (x) and (y) . Accordingly, with the employment of these vector arrangements and , P (x, y) is calculated as Thus, the number of product and sum calculations is reduced to n 3 and the processing time is about one second. Also, the ratio thereof becomes 1 : 4000. The above-noted pre-processing in this example will be explained with reference to a flow chart forming Fig. 16. Referring to Fig. 16, following the Start of operation, x = start - X (initial value) is set at step ST-51. (x) = · (x) is calculated in step ST-52, and x is set as x + 1 in step ST-53. The routine proceeds to the next decision step ST-54, whereat it is determined whether or not x becomes a final value, end - X. If a NO is output at step ST-54, the routine returns to step ST-52. If a YES is output in step ST-54, the routine proceeds to step ST-55. In step ST-55, y = start - Y (initial value) is set, and (y) = (y) · is calculated in next step ST-56. In next step ST-57, y = y + 1 is set, and the routine proceeds to the next decision step ST-58, wherein it is determined whether or not y is equal to end - Y. If a NO is output in step ST-58, the routine returns to step ST-56. If a YES is output at step ST-58, the routine proceeds to the return (step ST-59). The main processing following the pre-processing will be explained with reference to a flow chart forming Fig. 17. Referring to Fig. 17, following the Start of operation, after the pre-processing shown in Fig. 16 is carried out in step ST-61, y = start - Y (initial value) is set in step ST-62. Then, x = start - X (initial value) is set in step ST-63, and = (x, y) · (x) is calculated at next step ST-64 where represents the temporary matrix. In the following step ST-65, P(x, y) = ( ) · is calculated, and x = x + 1 is set in next step ST-66. Then, the routine proceeds to the next decision step ST-67, wherein it is determined whether or not x is equal to end - X (final value). If a NO is output at step ST-67, then the routine returns to step ST-63. If on the other hand a YES is output at step ST-67, then the routine proceeds to step ST-68, wherein y = y + 1 is set. It is determined at the next decision step ST-69 whether or not y is equal to end - Y (final value). If a NO is output at step ST-69, then the routine returns to step ST-63. If a YES is output in step ST-69, then the routine is ended. How to prevent the processing time from being increased when the original pixel data are repeatedly read out from the video RAM 6 will be explained with reference to a flow chart forming Fig. 18. Referring to Fig. 18, following the Start of operation, at step ST-71 3 x 3 original pixel data (for example, P 0 , P 1 , P 2 , P 5 , P 6 , P 7 , P 10 , P 11 , P 12 shown in Fig. 14) read out from the video RAM 6 in which original still picture data are stored are transferred to the work RAM 16 in the digital signal processing circuit 15 (in step ST-71). In the next step ST-72, the calculation is carried out by using 3 x 3 original pixel data P 0 , P 1 , P 2 , P 5 , P 6 , P 7 , P 10 , P 11 , P 12 stored in the work RAM 16 to provide and deliver one magnified pixel data (q 1 in Fig. 14). The pixel data q 1 thus delivered is written in the video RAM 6 at its predetermined address through the buffer memory 14 as shown in Fig. 15 and then stored therein. Then, it is determined at step ST-73 whether or not the necessary calculation is ended. If a YES is output at step ST-73, the routine is ended. If a NO is output at step ST-73, the routine proceeds to the next decision step ST-74. It is determined at step ST-74 whether or not the imaginary position of the processed pixel data moves to the adjacent position. If an answer at step ST-74 is a YES, the imaginary position moves to the position between the original pixel data P 1 , P 6 , P 11 ; and P 2 , P 7 , P 12 , so that the routine moves to step ST-75. It is also determined at step ST-74 whether or not the imaginary position moves from the position between P 0 , P 5 , P 10 ; and P 1 , P 6 , P 11 to the position between the original pixel data P 0 , P 5 , P 10 ; and P 2 , P 7 , P 12 . If a NO is output at step ST-74, then the routine proceeds to step ST-76. If a YES is output at step ST-74, then the routine proceeds to step ST-75. In the example of Fig. 14, the imaginary position of the processed pixel data is changed from q 1 to q 2 and is moved to the position between the original pixel data p 0 , P 5 , P 10 ; and P 2 , P 7 , P 12 so that the routine proceeds to step ST-75. In step ST-75, 3 x n, in this example, 3 x 2 original pixel data P 1 , P 2 , P 6 , P 7 , P 11 , P 12 are transferred to the predetermined addresses of the work RAM 16, and new 3 x (3 - n), in this example, 3 original pixel data P 3 , P 8 and P 13 from the video RAM 6 are transferred to the work RAM 16. Then, the routine proceeds to step ST-76. In step ST-76, the calculation is carried out by using 3 x 3 original pixel data P 1 , P 2 , P 3 , P 6 , P 7 , P 8 , P 11 , P 12 and P 13 stored in the work RAM 16 to provide and deliver one magnified pixel data q 2 . The thus output magnified pixel data q 2 is written in the video RAM 6 at its predetermined address via the buffer memory 14 as shown in Fig. 15 and then stored therein. Then, the routine proceeds to the next decision step ST-77. It is determined in step ST-77 whether or not the necessary calculation is ended. If a YES is output at step ST-77, the routine is ended. If a NO is output at step ST-77, then the routine returns to step ST-74. In this manner, the magnified pixel data q 3 , q 4 , q 5 , q 6 , q 7 , ... are calculated and outputted, and are written in the video RAM 6 at its predetermined addresses as shown in Fig. 15.

Claims: A method of processing original still picture data representing an original still image (A1, B1, C1, D1) stored in a video memory (6) and of thereafter storing processed still picture data representing a processed still image (A2, B2, C2, D2) in a predetermined location of said video memory the processing involving a translation of said original still picture with an enlargement in size ; said method comprising the steps of : a) setting an XY orthogonal coordinate system on said video memory; b) setting a reference line (Ym) parallel to one of the X and Y axes of said orthogonal coordinate system and passing through a point of intersection (Xm, Ym) of lines, each of which connects corresponding pixels (e.g. P1, P2) of said original and processed images; c) moving the pixel data on a line of said original still image parallel to said reference line and furthest from said reference line to addresses of said video memory forming a line of said processed still image; and d) repeating the preceding step for pixel data on lines of said still image parallel to said reference line and second furthest from said reference line and succeeding lines, thereby storing in said video memory the processed still picture data representing said processed still image; characterized in that it further comprises the steps of: 1) initially defining a predetermined rectangular area (E1, F1, G1, H1) of said original still image (A1, B1, C1, D1) having a major axis aligned with said reference line (Ym) and containing pixel data located close to said reference line; and 2) prior to step c) of: storing in a memory (14) the pixel data of the original still image located in said predetermined rectangular area; and 3) after step d) of: iteratively processing the pixel data in said rectangular area and moving the processed pixel data to a corresponding rectangular area (E2, F2, G2, H2) of said processed still image (A2, B2, C2, D2) in said video memory (6). A method of processing original still picture data representing an original still image (A1, B1, C1, D1) and stored in a video memory (6) and of thereafter storing processed still picture data representing a processed still image (A2, B2, C2, D2) in a predetermined location of said video memory, the processing involving a translation of said original still picture with an enlargement in size; said method comprising the steps of: a) setting an XY orthogonal coordinate system on said video memory; b) setting a reference line (Ym) parallel to one of the X and Y axes of said orthogonal coordinate system and passing through a point of intersection (Xm, Ym) of lines, each of which connects corresponding pixels (e.g. P1, P2) of said original and processed images; c) moving the pixel data on a line of said original still image parallel to said reference line and furthest from said reference line to addresses of said video memory forming a line of said processed still image; and d) repeating the preceding step for pixel data on lines of said still image parallel to said reference line and second furthest from said reference line and succeeding lines, thereby storing in said video memory the processed still picture data representing said processed still image; characterized in that it further comprises the steps of : 1) initially defining a predetermined band-shaped rectangular area (E1 , F1, G1, H1) of said original still image (A1, B1, C1, D1) having a major axis aligned with said reference line (Ym) and containing pixel data located close to said reference line; and 2) prior to step c) of : processing the pixel data in said rectangular area and storing the processed pixel data in a memory (14); and 3) after step d) of: iteratively moving the processed pixel data from said memory to a corresponding rectangular area (E2, F2, G2, H2) of said processed still image (A2, B2, C2, D2) in said video memory (6). An apparatus for processing original still picture data representing an original still image (A1, B1, C1, D1) and stored in a video memory (6) and of thereafter storing processed still picture data representing a processed still image (A2, B2, C2, D2) in a predetermined location of said video memory, the processing involving a translation of said original still picture with an enlargement in size; said apparatus comprising : a) means (1) for setting an XY orthogonal coordinate system on said video memory; b) means (1) setting a reference line (Ym) parallel to one of the X and Y axes of said orthogonal coordinate system and passing through a point of intersection (Xm, Ym) of lines, each of which connects corresponding pixels (e.g. P1, P2) of said original and processed images; c) means (1) for moving the pixel data on a line of said original still image parallel to said reference line and furthest from said reference line to addresses of said video memory forming a line of said processed still image, and for repeating this movement of pixel data with pixel data on lines of said still image parallel to said reference line and second furthest from said reference line and succeeding lines, thereby storing in said video memory the processed still picture data representing said processed still image; characterized in that it further comprises: means (1) for initially defining a predetermined rectangular area (E1, F1, G1, H1) of said original still image (A1, B1, C1, D1) having a major axis aligned with said reference line (Ym) and containing pixel data located close to said reference line; and means (1) for storing in a memory (14) the pixel data of the original still image located in said predetermined rectangular area, said means being operative prior to said movement of said pixel data; and means (1) for iteratively processing the pixel data in said rectangular area and moving the processed pixel data to a corresponding rectangular area (E2, F2, G2, H2) of said processed still image (A2, B2, C2, D2) in said video memory (6). An apparatus for processing original still picture data representing an original still image (A1, B1, C1, D1) and stored in a video memory (6) and of thereafter storing processed still picture data representing a processed still image (A2, B2, C2, D2) in a predetermined location of said video memory, the processing involving a translation of said original still picture with an enlargement in size; said apparatus comprising : a) means (1) for setting an XY orthogonal coordinate system on said video memory; b) means (1) setting a reference line (Ym) parallel to one of the X and Y axes of said orthogonal coordinate system and passing through a point of intersection (Xm, Ym) of lines, each of which connects corresponding pixels (e.g. P1, P2) of said original and processed images; c) means (1) for moving the pixel data on a line of said original still image parallel to said reference line and furthest from said reference line to addresses of said video memory, forming a line of said processed still image, and for repeating this movement of pixel data with pixel data on lines of said still image parallel to said reference line and second furthest from said reference line and succeeding lines, thereby storing in said video memory the processed still picture data representing said processed still image; characterized in that it further comprises : means (1) for initially defining a predetermined rectangular area (E1, F1, G1, H1) of said original still image (A1, B1, C1, D1) having a major axis aligned with said reference line (Ym) and containing pixel data located close to said reference line; and means (1) for processing the pixel data in said rectangular area and storing the processed pixel data in a memory (14); and means (1) for iteratively moving the processed pixel data from said memory to a corresponding rectangular area (E2, F2, G2, H2) of said processed still image (A2, B2, C2, D2) in said video memory (6).

Inventors: MAEDA SATORU, MOTOKI KAZUO, NOGUCHI YASUSHI, ORIKASA SUSUMU, SUGIURA MARI, TAKANO SHYUNSUKE, TAO AKIHIKO, YASUDA KAZUNORI, YOSHIKAWA MUNEHIRO, YOSHIMURA KOSUKE, MAEDA, SATORU, MOTOKI, KAZUO, NOGUCHI, YASUSHI, ORIKASA, SUSUMU, SUGIURA, MARI, TAKANO, SHYUNSUKE, TAO, AKIHIKO, YASUDA, KAZUNORI, YOSHIKAWA, MUNEHIRO, YOSHIMURA, KOSUKE
Applicants: SONY CORP, SONY CORPORATION
Application year: 1989
Main classification: G06T3
IPC codes: G06T3