Image transformation apparatus

Abstract: In an image transformation apparatus for performing image transformation process to a video signal, a sequential read address is transformed based on the function of which a first differential coefficient reduces monotonously in a manner approaching "0" from "1", and then the video signal is read out from a storing means by this transformed read address, so as to add an image collapsing effect to the video signal.

Description: This invention relates to an image transformation apparatus, and more particularly, to a video special effect generating process for rendering a special effect for example to a video signal. GB-A-2 200 266 discloses an image transformation apparatus for performing image transformation process to video signal, comprising: a storing means for storing an input video signal; a read address generating means for generating a sequential read address; and a transformation means for transforming said read address, based on a function, the read address transformed by said transformation means being supplied to said storing means as a read address signal, thereby a desired effect is rendered to said video signal. Heretofore, an image transformation apparatus is disclosed, for example, in the U.S. Patent No. 5070465. In this type of image transformation apparatus, input video signal is sequentially written to a predetermined region of a frame memory on the basis of write address output from a write address generation circuit and data in the frame memory is read out by read address which is input from a read address generation circuit, thereby various special effects are rendered to the video signal so as to display an image in a transformed manner. None of such image transformation apparatus of the read address controlling type has been adapted to provide a special effect by which a lower portion of a picture frame, for example, collapses as if a pile of sand does. In view of the foregoing, an object of this invention is to provide an image transformation apparatus in which it is possible to provide a special effect to input video signal, for example a special effect whereby a portion of the image collapses as if a pile of sand trickles. According to one aspect of the invention, there is provided apparatus for transforming an image represented by a video signal, comprising a store for storing the image, as represented by the video signal, at addresses represented by orthogonal co-ordinates x, y; a read address generator for generating read addresses x, y sequentially, and read address transformation means arranged to transform the read addresses x, y into transformed read addresses X, Y which are supplied to the store to read out the image characterised in that X = x; Y = F(y+G(x)) - G(x); G(x) is a predetermined function of x; and F(y+G(x)) is a function which has a first differential coefficient the value of which is unity over a first predetermined range of values y+G(x) and the value of which reduces progressively in a manner approaching zero from unity, so as to progressively stretch the transformed image within a second predetermined range of values of y+G(x). Thus the image is distorted in the Y (e.g vertical) direction by the function G(x). In addition, the distortion takes place, stretched by the function F, only in the said second range of values y+G(x). According to another aspect of the invention, there is provided apparatus for transforming an image represented by a video signal, comprising a store for storing the image, as represented by the video signal, at addresses represented by orthogonal coordinates x, y; a read address generator for generating read addresses x, y sequentially; and read addresses transformation means arranged to transform the read addresses x, y into transformed addresses X, Y which are supplied to the store to read out the image, characterised in that: X = x; Y = F(y+G(x))-G(x)+R(y+G(x)); G(x) is a predetermined function of x; F(y+G(x)) is a function which has a first differential coefficient, the value of which is unity over a first predetermined range of values of y+G(x) and the value of which reduces progressively in a manner approaching zero from unity, so as to progressively stretch the transformed image within a second predetermined range of values of y+G(x); and R(y+G(x)) is a function which randomises the values of y+G(x). Thus in addition to the image distortion provided by the first aspect of the invention, the randomising of the values of y+G(x) creates an effect akin to that of a collapsing pile of sand. A specific embodiment of the present invention will now be described by way of example with reference to the accompanying drawings, in which: Fig. 1 is a block diagram showing an embodiment of the image transformation apparatus according to the present invention; Fig. 2 is a flowchart for the explanation of the operation of the image transformation apparatus shown in Fig. 1; Figs. 3A and 3B to 7 are schematic diagrams for the explanation of the relation between the function used in the image transformation apparatus shown in Fig. 1 and the output picture; Figs. 8A to 8C are schematic diagrams for the explanation of the operation of the random number generator in the image transformation apparatus shown in Fig. 1; Fig. 9 is a schematic diagram for the explanation of the relation between the random number used in the image transformation apparatus shown in Fig. 1 and the output picture; and Fig. 10 is a block diagram showing one embodiment of the main part of the image transformation apparatus shown in Fig. 1. In Fig. 1, numeral 10 generally denotes an image transformation apparatus, where a digitized input video signal S1 is written to a frame memory 11 without transforming the image, on the basis of a write address signal S2 delivered from a sequential write address counter 12. Further, a read address generator 13 for generating read address for reading image data from the frame memory 11 receives a sequential read address signal S3 and processes the sequential read address; and the processed read address is delivered to the frame memory 11 as a read address signal S4, so that an output video signal S5 read from the frame memory 11 based on such read address forms an image which is transformed with respect to the input video signal S1. Here, Fig. 2 shows a processing procedure for the generation of read address for the sand collapsing effect in the read address generator 13. Upon entering the procedure from step SP1, the read address generator 13 receives at the next step SP2 sequential read address which is designated by an orthogonal coordinate system (x, y) based on the read address signal S3 and proceeds to the next step SP3. The read address generator 13, at step SP3, computes the shape of the collapse start position by means of a function of y 1 = G(x). This function is a pattern function as shown in Figs. 3A and 3B, and such as a sine function or a composite function of a sine function and a cosine function can be used as the function. Further, a periodic function such as: y' = G'(x) = G(x + p(t)), 0 ≤ p(t) < λ can be used as the function, where λ is the wavelength of G(x), and p(t) is a function of time. Furthermore, an angle  can be provided for the shape of the collapse start position, such case being represented by the equation of: y' = G'(x) = G(x) + tan() • x and, as shown in Fig. 4, a collapse start curve y' having an angle  is obtained by adding an angle component tan()•x to the function G(x). Accordingly, by converting the read address by the collapse start curve y', a collapsing curve inclined by the angle  can be represented on the output picture. Further, the read address generator 13, at the next step SP4, obtains y 2 = F(y + G(x)). Here, y' = F(y) is a function for regulating the manner of the collapsing and is set so that its first differential coefficient (inclination) is a progressively decreasing function changing from "1" toward "0" as shown in Fig. 5. Accordingly, an area is expanded of the output picture corresponding to the area for which the decrease in the inclination occurs beginning at a value of "y", (T S ), at which the inclination starts to change from "1". This changing point T S becomes the position at which the collapse starts. Accordingly, by varying the position of the changing point T S , the collapse start position of the output picture may be varied as shown in Fig. 6. By varying the degree of decrement C V of the first differential coefficient as shown in Fig. 7, the degree of the collapsing may be controlled. Further, the read address generator 13 proceeds to the next step SP5 where, in order to obtain an effect of simulating a collapse of sand, it computes output random numbers R(y) corresponding to the input gain function L(y) at a random number generator 29 provided within the read address generator 13 as shown in Fig. 8A. The range of the output random numbers of the random number generator is controlled by the gain function to the random number generator. This gain function is linked to the above described function F(y) and is controlled by means of such parameters as the changing point T S , the degree C V of decrement of the first differential coefficient and an amplification factor R P of the gain function, it is possible to obtain an effect of collapsing sand which is visually natural. Here, the relation between the function R(y) and the output picture is shown in Fig. 9, where the range for which the effect of simulating a collapse of sand is obtained may be designated by the random number width D. Based on y 1 , y 2 and R(y 2 ) obtained in this manner, the read address generator 13, at step SP6, obtains y 3 and at the next step SP7, in order to keep the collapsing image within the screen, obtains: Y = F(y + G(x)) - G(x) + R(y + G(x)) by subtracting the function G(x) from y 3 ; and at step SP8 an output image as if a pile of sand collapses can be obtained by delivering to the memory 11 a read address Y which is derived from the formula (3) and a read address X which is obtained by X = x. Fig. 10 shows the construction of the read address generator 13 where sequential read address "x" is input to RAMs 21 and 22. Here, the RAM 21 is a table to be looked up by the read address "x" and data to be set to the RAM 21 is y' = -1*G(x) from the above described formula (3). Further, the RAM 22 is likewise a table to be looked up by the read address "x" and data to be set to the RAM 22 is y' = G(x) from the above described formula (3). Data are set to these RAMs 21 and 22 by a CPU 24. Further, the output data of the RAM 22 is added to read address "y" at an adder 23 and such added output is respectively input to RAMs 25 and 26. The RAM 25 is a table looked up by the added value of the read address "y" and the output data of the RAM 22, data to be set to the RAM 25 being y' = F(y) from the above described formula (3). Further, the RAM 26 is likewise a table looked up by the added value of the read address "y" and the output data of the RAM 22, data to be set to the RAM 26 being y' = R(y) from the above described formula (3). Data are set to these RAMs 25 and 26 by the CPU 24. Furthermore, the output data of the RAM 26 is input to the random number generator 29; the random number output data output from the random number generator 29 based on the output data of the RAM 26 is added to the output data of the RAM 25 at an adder 27; and then the output data of the RAM 21 is added to it at a subsequent adder 28 to obtain a read address "Y" as described above with respect to the equation (3). Here, the read address "x" input to the read address generator 13 is output as read address "X" as it is. According to the above construction, by adding the random number generator 29 to the read address generator 13, it is possible to obtain a collapsing effect in which pixels fall in the manner of a scattered sand. It should be noted that, in the above described embodiment, the description has been given with respect to the case where the collapsing effect is obtained on a two-dimensional plane. However, the present invention is not limited to this, but the sequential read address (x, y) to be input to the read address generator 13 may be one which has been processed through a three dimensional matrix. Specifically, supposing the read address processed through the three dimensional matrix as x 3D and y 3D and α 11 to α 33 as a three dimensional transformation matrix, the read address (x 3D , y 3D ) represented by: x 3D = α 11 * x + α 12 * y + α 13 α 31 * x + α 32 * y + α 33 y 3D = α 21 * x + α 22 * y + α 23 α 31 * x + α 32 * y + α 33 may be input to the read address generator 13. As described above, according to the present invention, it is possible to obtain an image transformation apparatus in which a random number generator is added to the read address generator so as to produce a collapsing effect where pixels fall as if sand is scattered.

Claims: Apparatus for transforming an image represented by a video signal, comprising a store (11) for storing the image, as represented by the video signal, at addresses represented by orthogonal co-ordinates x, y; a read address generator for generating read addresses x, y sequentially, and read address transformation means (13) arranged to transform the read addresses x, y into transformed read addresses X, Y which are supplied to the store to read out the image characterised in that X = x; Y = F(y+G(x)) - G(x); G(x) is a predetermined function of x representing a collapsing shape; and F(y+G(x)) is a function which has a first differential coefficient the value of which is unity over a first predetermined range of values y+G(x) and the value of which reduces progressively in a manner approaching zero from unity, so as to progressively stretch the transformed image, within a second predetermined range of values of y+G(x); whereby a collapsing effect is rendered to the image within the second range. Apparatus for transforming an image represented by a video signal, comprising a store (11) for storing the image, as represented by the video signal, at addresses represented by orthogonal coordinates x, y; a read address generator for generating read addresses x, y sequentially; and read addresses transformation means (13) arranged to transform the read addresses x, y into transformed addresses X, Y which are supplied to the store to read out the image, characterised in that: X = x; Y = F(y+G(x))-G(x)+R(y+G(x)); G(x) is a predetermined function of x representing a collapsing shape; F(y+G(x)) is a function which has a first differential coefficient, the value of which is unity over a first predetermined range of values of y+G(x) and the value of which reduces progressively in a manner approaching zero from unity, so as to progressively stretch the transformed image, within a second predetermined range of values of y+G(x) whereby a collapsing effect is rendered to the image within the second range; and R(y+G(x)) is a function which randomises the values of y+G(x). Apparatus according to claim 1 or 2, wherein the read addresses x, y represent two dimensional coordinates transformed by a three-dimensional matrix from equivalent coordinates x', y' in a three dimensional coordinate system. Apparatus according to claim 3 wherein x = α 11 x' + α 12 y' + α 13 α 31 x' + α 32 y' + α 33 y = α 21 x' + α 22 y' + α 23 α 31 x' + α 32 y' + α 33 where α 11 to α 33 are a three dimensional transformation matrix. Apparatus according to claim 1, 2, 3 or 4, wherein G(x) is a sinusoidal and/or cosinusoidal function. Apparatus according to any preceding claim, wherein G(x) = G'(x) + A.x where G'(x) is a predetermined function of x and A is a constant. Apparatus according to any preceding claim where G(x) is a function of time. Apparatus according to any preceding claim wherein the said first and second ranges are selectable. Apparatus according to any preceding claim wherein the value of the first differential coefficient within the second range is selectable. Apparatus according to claim 2, or any one of claims 3 to 9 when dependent on claim 2, wherein the transformation means (13) comprises: an input for receiving read address x; an input for receiving read address y; means (21, 22) storing a look-up table, responsive to read address x for producing -G(x) and G(x); means (23) for adding read address y to G(x) to produce (y+G(x); means (25) storing a look up table, responsive to (y+G(x)) to produce F(y+G(x)); means (26, 29) responsive to (y+G(x)) for producing random numbers R(y+G(x)) for randomising the value of (y+G(x)); adding means (27, 28) for adding R(y+G(x)), F(y+G(x)) and -G(x) to produce: Y = F(y+G(x)) + R(y+G(x)) - G(x); and an output coupled to the input for receiving read address x to produce X = x.

Inventors: MORIWAKE KATSUAKIRA, SHIRAISHI TOSHIHIRO, MORIWAKE, KATSUAKIRA, SHIRAISHI, TOSHIHIRO, MORIWAKE, KATSUAKIRA, C/O INTELLECTUAL PTY DIV., SHIRAISHI, TOSHIHIRO, C/O INTELLECTUAL PTY DIV.
Applicants: SONY CORP, SONY CORPORATION
Application year: 1994
Main classification: H04N5
IPC codes: G06T3, H04N5