Image processing device and program thereof

The video processing device accelerates interpolation by storing images in memory blocks for pixel-by-pixel access, overcoming slow DRAM access in conventional methods to enable real-time VR video generation.

JP7546249B2Active Publication Date: 2024-09-06NIPPON HOSO KYOKAI +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2020177854
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-10-23
Publication Date
2024-09-06
Estimated Expiration
2040-10-23

AI Technical Summary

Technical Problem

Conventional methods for converting images using equirectangular projection require frequent access to DRAM for bilinear interpolation, leading to slow interpolation calculations.

Method used

A video processing device that divides input images into memory blocks larger than the number of pixels required for interpolation, allowing pixel-by-pixel access to peripheral pixels for interpolation calculations, using block RAM for storage.

Benefits of technology

This approach reduces DRAM access frequency and enables faster interpolation, facilitating real-time creation of VR videos.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007546249000003
    Figure 0007546249000003
  • Figure 0007546249000008
    Figure 0007546249000008
  • Figure 0007546249000002
    Figure 0007546249000002
Patent Text Reader

Abstract

To provide a video processing device which can perform interpolation operation at a high speed to convert a video.SOLUTION: A video processing device 1 comprises: memory block generation means 12 which divides a frame image constituting an input video into memory blocks each of which includes the required number of pixels for interpolation operation of one pixel after conversion and has predetermined sizes in a horizontal direction and a vertical direction respectively; memory block storage means 13 which consists of a memory allowing for pixel-by-pixel readout and in which the memory blocks are stored; and interpolation means which reads out pixel values of peripheral pixels of a pre-conversion pixel position corresponding to a post-conversion pixel position from the memory blocks and calculates a pixel value of the post-conversion pixel position by interpolation operation.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an image processing device for generating virtual reality images and a program therefor. [Background technology]

[0002] In recent years, virtual reality (VR) services that allow users to experience remote locations as if they were there using head-mounted displays (HMDs) and dome-shaped displays have become widespread. Traditionally, live-action circular motion images for VR are generated by positioning multiple cameras with wide-angle lenses (fisheye lenses), expanding the images captured by each camera onto a plane using equirectangular projection for each frame image (wide-angle image), and then stitching identical areas together pixel by pixel to create a flat image. In addition, in the equirectangular projection method, pixels after conversion are interpolated using pixels before conversion. As a method of this interpolation, a method of performing bilinear interpolation using a plurality of pixels before conversion has been disclosed (see Patent Document 1). HMDs and other devices display VR images by inversely converting and mapping flat images onto the entire 360 ​​degrees of a celestial sphere. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2015-215817 A Summary of the Invention [Problem to be solved by the invention]

[0004] When converting an image into an equirectangular image using equirectangular projection, if bilinear interpolation or the like is used as in the conventional case, it is necessary to read a plurality of pixels before conversion from the input image. In particular, DRAM, which is read out one line at a time, is generally used for memory that stores input images. For example, to perform bilinear interpolation, when calculating the pixel value of one pixel after conversion, it is necessary to read out one line for each pixel in order to refer to the pixel values ​​of four pixels (2 x 2 pixels) from the DRAM. Therefore, the conventional method has a problem in that it is not possible to perform the interpolation calculation at high speed.

[0005] The present invention has been made in consideration of these problems, and its objective is to provide an image processing device and a program therefor that can reduce access to DRAM and perform image conversion processing involving interpolation at high speed. [Means for solving the problem]

[0006] In order to solve the above problems, the image processing device according to the present invention includes: Equirectangular transformation Through the conversion process, The frame image was composed of a fisheye image. Input video The frame image was composed of an equirectangular image. An image processing device for converting an input image into an output image, the image processing device comprising: an image input means, an input image storage means, a memory block generating means, a memory block storage means, an interpolation means, an output image storage means, and an image output means. The interpolation means includes a pre-conversion coordinate calculation means, an interpolation pixel value calculation means, The configuration is provided with the following.

[0007] In such a configuration, the video processing device inputs a video by the video input means, and sequentially stores frame images constituting the input video in the input image storage means. The video processing device then divides the frame image into memory blocks of predetermined sizes in the horizontal and vertical directions, each of which is greater than the number of pixels required for the interpolation calculation of one pixel after conversion by the conversion process, using the memory block generation means.

[0008] The memory block generating means then stores the generated memory blocks in the memory block storing means, which is composed of a memory that can be read out in pixel units, such as a block RAM.

[0009] Then, the video processing device reads out pixel values ​​of neighboring pixels of the pre-conversion pixel position corresponding to the post-conversion pixel position from the memory block by the interpolation means, and calculates the pixel value of the post-conversion pixel position by an interpolation operation. The interpolation means calculates pixel positions of the fisheye image before conversion corresponding to pixel positions of the equirectangular image by inverse transformation of the equirectangular transformation that converts the fisheye image into an equirectangular image using the pre-conversion coordinate calculation means, and calculates pixel values ​​of pixel positions of the equirectangular image after conversion by performing an interpolation operation using pixel values ​​of pixels surrounding the pixel positions before conversion calculated by the pre-conversion coordinate calculation means using the interpolated pixel value calculation means. In this way, The interpolation means can quickly obtain the necessary pixel values ​​by reading the pixels required for the interpolation calculation from a memory block that can be read out pixel by pixel, rather than from a frame image stored in an input image storage means that performs line readout.

[0010] The video processing device then stores the pixel values ​​at the converted pixel positions in the output image storage means as pixel values ​​at the corresponding pixel positions of the frame images that constitute the output video. Then, the video processing device outputs a video using the image stored in the output image storage means as a frame image by the video output means.

[0011] The video processing device can be operated by a video processing program that causes a computer to function as each of the means described above. Effect of the Invention

[0012] The present invention provides the following excellent effects. According to the present invention, the pixels required for the interpolation calculation are stored as one memory block in a memory that can be accessed on a pixel-by-pixel basis, and the interpolation calculation is performed thereby reducing frequent reads to the DRAM and enabling image conversion to be performed faster than before. As a result, the present invention makes it possible to create real-time VR images in VR. [Brief description of the drawings]

[0013] [Figure 1] 1 is a functional block diagram showing a configuration of a video processing device according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a pixel arrangement diagram showing an example of a pixel arrangement of an input image (fisheye image). [Diagram 3]3 is a pixel layout diagram showing an example of the configuration of a memory block. FIG. [Figure 4] 1A and 1B are explanatory diagrams for explaining corresponding pixels before and after conversion, in which (a) shows pixel positions in a fisheye image and (b) shows pixel positions in an equirectangular image. [Diagram 5] FIG. 11 is an explanatory diagram showing a pixel position and its surrounding pixel positions before conversion to explain bilinear interpolation; [Figure 6] 4 is a flowchart showing the operation of a video processing device according to an embodiment of the present invention. [Figure 7] FIG. 11 is an explanatory diagram for explaining a modified example of a memory block, where (a) is a pixel layout diagram for an input image (fisheye image) of YCbCr4:2:2, and (b) is a pixel layout diagram of a memory block corresponding to YCbCr4:2:2. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] <Configuration of video processing device> First, the configuration of a video processing device 1 according to an embodiment of the present invention will be described with reference to FIG.

[0015] The video processing device 1 converts an input video into an output video by a conversion process involving interpolation. Here, it is assumed that the image processing device 1 converts an image captured by a wide-angle camera (fisheye camera) into an image in an equirectangular format as an image conversion process involving interpolation. As shown in FIG. 1, the video processing device 1 includes a video input means 10, an input image storage means 11, a memory block generation means 12, a memory block storage means 13, an interpolation means 14, an output image storage means 15, and a video output means 16.

[0016] An image is inputted into the image input means 10. In this embodiment, the image input means 10 inputs an image constituted by a fish-eye image G1 captured by a wide-angle camera. The video input means 10 sequentially writes and stores fisheye images G1, which are frames of an input video, in the input image storage means 11. Furthermore, when the video input means 10 finishes writing one frame to the input image storage means 11, it notifies the memory block generation means 12 of the end of writing.

[0017] The input image storage means 11 stores frame images that constitute an input video. In this example, the input image storage means 11 stores a fisheye image G1 inputted by the video input means 10. The input image storage means 11 can be configured with a semiconductor memory. For example, the input image storage means 11 can be configured with a DRAM (Dynamic Random Access Memory), which is a general image memory. The fisheye image G 1 stored in the input image storage means 11 is read out by the memory block generation means 12 .

[0018] The memory block generation means 12 divides the frame image stored in the input image storage means 11 into memory blocks of predetermined sizes in the horizontal and vertical directions, each of which is greater than the number of pixels required for the interpolation calculation of one pixel after conversion by the conversion process. This memory block is sized so that at least the pixels necessary for the interpolation calculation by the interpolation means 14 described later, for example, 4 pixels (2×2 pixels) in the case of bilinear interpolation calculation, are included in one block.

[0019] In addition, the memory blocks include overlapping areas between adjacent memory blocks so that the pixels required for the interpolation calculation of one pixel are always present in one memory block and all pixels within the memory block correspond to pixels in the fisheye image G1. For example, the memory block generating means 12 divides the entire fish-eye image G1 into units of 64 pixels horizontally and 32 pixels vertically, including two or more overlapping pixels.

[0020] Now, a specific example of a memory block will be described with reference to FIG. 2 and FIG. Fig. 2 is a pixel arrangement diagram showing an example of a pixel array of an input image (fisheye image G1). Here, the fisheye image G1 is a full HD (High Definition) image of 1920 horizontal pixels and 1080 vertical pixels. Of course, the fisheye image G1 is not limited to full HD, and may be an HD, 4K, 8K, or other image. Note that in Fig. 2, for ease of explanation, the pixel positions are denoted by symbols such as P0, P1, ... Fig. 3 is a pixel layout diagram showing an example of the configuration of memory blocks B0, B1, ... obtained by dividing the image in Fig. 2. Here, an example is shown in which the memory block has 64 pixels horizontally and 32 pixels vertically.

[0021] For example, the memory block B0 is made up of pixels P0 to P63, P1920 to P1983, . . . , P59520 to P59583 of the fisheye image G1 in FIG. In Fig. 3, for ease of understanding, an example is shown in which the fisheye image G1 is simply divided into 64 x 32 pixel units, but the boundaries of each memory block contain overlapping pixels. For example, memory block B1 has P62, P63, ..., P125, P1982, P1983, ..., P2945, P59582, P59583, ..., P59645 so that it overlaps with the horizontally adjacent memory block B0 by two pixels. The same applies to the vertically adjacent memory blocks. Returning to FIG. 1, the description of the configuration of the video processing device 1 will be continued.

[0022] The memory block generation means 12 reads out pixel values ​​of the number of lines (32 lines) corresponding to the number of pixels in the vertical direction of the memory block (32 pixels in this case) from the input image storage means 11 for each line, and writes them as individual memory blocks in the memory block storage means 13 for each number of pixels in the horizontal direction of the memory block (64 pixels in this case). After completing the reading of the 32 lines, the memory block generating means 12 reads the next 32 lines in response to an instruction from the interpolation means 14, and updates the memory block. When the memory block generating means 12 finishes writing the memory block to the memory block storing means 13, it notifies the interpolating means 14 of the completion of writing.

[0023] The memory block storage means 13 stores the memory blocks generated by the memory block generation means 12 . The memory block storage means 13 is a memory that can be accessed on a pixel-by-pixel basis, and is configured, for example, with a block RAM of an FPGA (Field Programmable Gate Array). The memory block storage means 13 has a plurality of block RAMs, for example, block RAMs equal to the number of blocks in the horizontal direction shown in FIG. 3 (30 blocks in this case, B0 to B29), and sequentially updates and uses the memory blocks.

[0024] If the output port of the block RAM is "2", only two pixel values ​​can be read from the memory block at a time. In this case, the memory block generating means 12 writes the same memory block twice in the memory block storing means 13, and the interpolation means 14 reads two pixel values ​​from each memory block, for a total of four pixel values.

[0025] The interpolation means 14 reads out pixel values ​​of neighboring pixels of a pixel position before conversion corresponding to the pixel position after conversion from the memory block, and calculates the pixel value of the pixel position after conversion by an interpolation operation. Here, the interpolation means 14 refers to the memory block stored in the memory block storage means 13, and generates the pixel values ​​of the equirectangular image by interpolating them. The interpolation means 14 includes a pre-conversion coordinate calculation means 140 and an interpolation pixel value calculation means 141 .

[0026] The pre-conversion coordinate calculation means 140 calculates pixel positions (coordinates) before conversion that correspond to pixel positions after conversion. Here, the pre-conversion coordinate calculation means 140 calculates pixel positions (coordinates) of the pre-conversion fisheye image that correspond to pixels of the post-conversion equirectangular image. That is, the pre-conversion coordinate calculation means 140 calculates the pixel position (coordinate p') of the fisheye image G1 corresponding to the pixel position (coordinate p) of the equirectangular image G2 when the fisheye image G1 of (a) is converted into the equirectangular image G2, as shown in FIG.

[0027] In addition, the conversion from the fisheye image G1 to the equirectangular image G2 can be performed using a general equirectangular transformation, and the pre-conversion coordinate calculation means 140 calculates the pixel position (coordinate p') of the pre-conversion fisheye image G1 corresponding to the pixel position (coordinate p) of the equirectangular image G2 by performing an inverse transformation of the equirectangular transformation. The pre-conversion coordinate calculation means 140 outputs the post-conversion pixel position (coordinate p) and the pre-conversion pixel position (coordinate p′) to the interpolation pixel value calculation means 141.

[0028] The interpolated pixel value calculation means 141 calculates the pixel value of the pixel position before conversion calculated by the before conversion coordinate calculation means 140 by interpolation using the pixel values ​​of the pixels surrounding the pixel. Here, the interpolated pixel value calculation means 141 calculates pixel values ​​by bilinear interpolation. The interpolated pixel value calculation means 141 reads out the pixel values ​​of the four pixels surrounding the pixel position before conversion from the memory block stored in the memory block storage means 13, and calculates the pixel value by bilinear interpolation. This calculated pixel value becomes the pixel value of the pixel position after conversion.

[0029] 5, when the coordinate p' of the pixel position before conversion is (x, y), the interpolation pixel value calculation means 141 sets the coordinates of the four surrounding pixels as p1([x],[y]), p2([x]+1,[y]), p3([x],[y]+1), and p4([x]+1,[y]+1), where [x] and [y] are integer parts of x and y, respectively. The interpolated pixel value calculation means 141 reads out pixel values ​​of coordinates p1, p2, p3, and p4 from the memory block corresponding to the coordinates p1, p2, p3, and p4, and calculates the pixel value of coordinate p' using the following equation (1) based on bilinear interpolation.

[0030]

number

[0031] Here, the pixel value at coordinate p' is Dst(x,y), the pixel value at coordinate p1 is Src([x],[y]), the pixel value at coordinate p2 is Src([x]+1,[y]), the pixel value at coordinate p3 is Src([x],[y]+1), and the pixel value at coordinate p4 is Src([x]+1,[y]+1).

[0032] The interpolated pixel value calculation means 141 writes the calculated pixel value in the output image storage means 15 as the pixel value of the pixel position (coordinate p) of the converted equirectangular image G2. It is preferable that the interpolated pixel value calculation means 141 writes the pixel values ​​of one line in the horizontal direction of the equirectangular image G2 into the output image storage means 15 every time the interpolated pixel value calculation means 141 calculates pixel values ​​of one line in the horizontal direction of the equirectangular image G2. When the pixels referenced in the memory block reach the last line, the interpolation means 14 instructs the memory block generation means 12 to generate the next memory block. After completing the interpolation of the equirectangular image G2, the interpolation means 14 notifies the video output means 16 that writing to the output image storage means 15 has been completed.

[0033] The output image storage means 15 stores the pixel values ​​at the converted pixel positions calculated by the interpolation means 14 as pixel values ​​at the corresponding pixel positions of the frame images constituting the output video. In this output image storage means 15, the equirectangular image G2 is stored as the converted image. The output image storage means 15 can be configured with a semiconductor memory. For example, the output image storage means 15 can be configured with a DRAM, which is a general image memory. The equirectangular image G2 stored in the output image storage means 15 is read out by the video output means 16.

[0034] The video output means 16 outputs an output video in which the image (the equirectangular image G2) stored in the output image storage means 15 is used as a frame image. The video output means 16 outputs the equirectangular image G2 as a frame image at the timing when the interpolation means 14 notifies the video output means 16 of the completion of writing of the equirectangular image G2.

[0035] By configuring the image processing device 1 as described above, the image processing device 1 can generate a high-quality image with less noise by performing bilinear interpolation calculation when converting a fisheye image into an equirectangular image.

[0036] Furthermore, when performing an interpolation operation, the image processing device 1 can read a plurality of pixel values ​​before conversion from a memory block that can read pixel by pixel. This allows the image processing device 1 to refer to pixels to be referenced when performing the interpolation operation at once in pixel units, so that an image captured by a wide-angle camera can be converted into an equirectangular image at high speed compared to a method of reading one pixel per line, such as a DRAM. The video processing device 1 can be operated by a program (video processing program) for causing a computer (not shown) to function as each of the above-mentioned means.

[0037] <Operation of video processing device> Next, the operation of the video processing device 1 according to the embodiment of the present invention will be described with reference to FIG. 6 (for the configuration, refer to FIG. 1 as appropriate).

[0038] In step S1, the image input means 10 inputs an image having a fisheye image G1 as a frame, and writes and stores the image in the input image storage means 11 one by one. In step S2, the memory block generation means 12 stores the fisheye image G1 stored in the input image storage means 11 in step S1 in memory block units obtained by dividing the fisheye image G1 into a predetermined number of pixels in the horizontal and vertical directions in the memory block storage means 13. At this time, the memory block generation means 12 reads pixel values ​​of a number of lines equivalent to the number of pixels in the vertical direction of the memory block for each line from the input image storage means 11, and writes the pixel values ​​as individual memory blocks of the memory block storage means 13 for each number of pixels in the horizontal direction of the memory block.

[0039] In step S3, the pre-conversion coordinate calculation means 140 of the interpolation means 14 calculates pixel positions (coordinates) of the fisheye image G1 before equirectangular conversion that correspond to pixel positions of the equirectangular image G2. Here, the pre-conversion coordinate calculation means 140 calculates pixel positions (coordinates) of the fisheye image G1 by performing an inverse equirectangular conversion on pixel positions of the equirectangular image G2.

[0040] In step S4, the interpolation pixel value calculation means 141 of the interpolation means 14 obtains the pixel values ​​of the four pixels surrounding the pixel position (coordinates) of the fisheye image G1 calculated in step S3 from the corresponding memory block stored in the memory block storage means 13. In step S5, the interpolated pixel value calculation means 141 calculates pixel values ​​of the equirectangular converted equirectangular image G2 by bilinear interpolation from the pixel positions (coordinates) of the four pixels acquired in step S4 and their respective pixel values. In step S6, the interpolation means 14 writes and stores in the output image storage means 15 the pixel values ​​of the equirectangular image G2 calculated in step S5.

[0041] Although not shown as a step, when the pixels referenced in the memory block reach the final line, the interpolation means 14 instructs the memory block generation means 12 to generate the next memory block, thereby updating the memory block sequentially.

[0042] In step S7, the interpolation means 14 determines whether or not calculation of pixel values ​​has been completed for all pixels of the equirectangular image G2. Here, if the calculation of pixel values ​​has not yet been completed for all pixels (No in step S7), the interpolation means 14 returns to step S3 and continues the operation. On the other hand, when calculation of pixel values ​​has been completed for all pixels (Yes in step S7), the video output means 16 outputs a video having the equirectangular image G2 stored in the output image storage means 15 as a frame in step S8.

[0043] In step S9, the video input means 10 judges whether or not the next frame is input. If the next frame is input (Yes in step S9), the video processing device 1 returns to step S1 and continues the operation. On the other hand, if the next frame has not been input (No in step S9), the video processing device 1 ends the operation.

[0044] By the above operations, the image processing device 1 can convert an image captured by a wide-angle camera into an equirectangular image at high speed compared to a method of reading one pixel per line, such as a DRAM.

[0045] <Modification> Although the configuration and operation of the video processing device 1 according to the embodiment of the present invention have been described above, the present invention is not limited to this embodiment.

[0046] (Variation 1) Here, the input image (fisheye image G1) has been described as having a configuration in which pixel values ​​correspond to pixel positions (for example, RGB). However, the fisheye image G1 may be an image in a format in which the luminance component (Y) and the chrominance components (Cb, Cr) are thinned out, such as 4:2:0 or 4:2:2 of YCbCr. In this case, the memory block generating means 12 may write the luminance Y and the color difference components Cb and Cr as pixel values ​​to each pixel in the memory block in association with each other.

[0047] For example, as shown in Fig. 7(a), when the fisheye image G1 is YCbCr4:2:2, the memory block generating means 12 generates the memory block B0 shown in Fig. 7(b). Note that other memory blocks such as B1 are not shown here. 7, the memory block generation means 12 sets the Y0, Cb0, and Cr0 values ​​of the fisheye image G1 to pixel P0 of the memory block B0, and sets the Y1, Cb0, and Cr0 values ​​of the fisheye image G1 to pixel P1. As a result, the pixel values ​​of each pixel of the fisheye image G1 are set at the pixel positions of the memory block B0. When the equirectangular image G2 has the same image format as the fisheye image G1, the video output means 16 may convert the output image into a format such as 4:2:0 or 4:2:2.

[0048] (Variation 2) Here, the interpolation calculation in the interpolation means 14 has been described using an example of bilinear interpolation calculation. However, this interpolation calculation may be another type of interpolation calculation, for example, a bicubic interpolation calculation. When bicubic interpolation is used, the memory block generating means 12 needs to generate memory blocks with a size such that at least 16 pixels (4×4 pixels) referenced for the interpolation are included in one block. Then, the interpolated pixel value calculation means 141 of the interpolation means 14 reads out the pixel values ​​of the 16 pixels surrounding the pixel position before conversion from the memory block stored in the memory block storage means 13, and calculates the pixel values ​​by bicubic interpolation.

[0049] (Variation 3) Here, the image processing device 1 has been described as converting an image captured by a wide-angle camera (fisheye camera) into an image in equirectangular format. However, as long as the video processing device 1 converts frame images with an interpolation operation, the target video may be any video. For example, the video processing device 1 can enlarge an image by performing pixel interpolation, input a 4K image, and output an 8K image. In that case, the video processing device 1 may input a 4K image as a frame image, perform enlargement by interpolation calculation, and then output an 8K image as a frame image. At this time, the pre-conversion coordinate calculation means 140 of the interpolation means 14 calculates the pre-enlargement coordinates from the post-enlargement coordinates.

[0050] (Variation 4) Here, the pre-conversion coordinate calculation means 140 of the interpolation means 14 sequentially calculates pre-conversion pixel positions corresponding to post-conversion pixel positions. However, when this transformation is fixed, instead of the pre-transformation coordinate calculation means 140, a storage means may be provided that stores a table in which pixel positions before and after transformation correspond to each other, and the interpolation pixel value calculation means 141 may refer to the table. [Explanation of symbols]

[0051] 1. Video Processing Device 10 Video input means 11 Input image storage means 12 Memory block generation means 13 Memory block storage means 14 Interpolation Methods 140 Pre-transformation coordinate calculation means 141 Interpolated pixel value calculation means 15 Output image storage means 16 Video output means

Claims

1. A video processing device that converts an input video having frame images constituted by fisheye images into an output video having frame images constituted by equirectangular images by a conversion process using an equirectangular conversion involving interpolation, A video input means for inputting the input video; an input image storage means for storing frame images constituting the input video; a memory block generating means for dividing the frame image into memory blocks of a predetermined size in both the horizontal and vertical directions, the memory blocks being larger than the number of pixels required for an interpolation operation of one pixel after the conversion process; a memory block storage means configured of a memory that can be read out on a pixel-by-pixel basis and that stores the memory block generated by the memory block generation means; an interpolation means for reading out pixel values ​​of neighboring pixels of a pixel position before conversion corresponding to the pixel position after conversion from the memory block, and calculating a pixel value of the pixel position after conversion by an interpolation operation; an output image storage means for storing the pixel values ​​at the pixel positions after the conversion as pixel values ​​at corresponding pixel positions of a frame image constituting the output video; a video output means for outputting the output video in which the image stored in the output image storage means is a frame image, The interpolation means a pre-transformation coordinate calculation means for calculating pixel positions of the fisheye image before transformation corresponding to pixel positions of the equirectangular image by an inverse transformation of the equirectangular transformation for converting the fisheye image into the equirectangular image; an interpolated pixel value calculation means for calculating a pixel value of a pixel position of the equirectangular image after conversion by performing an interpolation operation using pixel values ​​of neighboring pixels of the pixel position before conversion calculated by the pre-conversion coordinate calculation means; A video processing device comprising:

2. 2. The image processing apparatus according to claim 1, wherein said memory block generating means generates said memory blocks by overlapping a predetermined number of pixels in each of the horizontal and vertical directions.

3. 3. The video processing device according to claim 1, wherein the memory block generating means reads out from the input image storage means a number of pixels of a frame image corresponding to the number of pixels in the vertical direction of the memory block, divides the read out pixels into a number of pixels in the horizontal direction of the memory block, and generates the memory block.

4. 4. The image processing device according to claim 1, wherein the frame images constituting the input video are images in a format in which the chrominance components are thinned out from among the luminance components and the chrominance components, and the memory block generation means generates the memory block by using the luminance component and the chrominance components corresponding to the luminance component as pixel values ​​for each pixel of the memory block.

5. 5. The image processing device according to claim 1, wherein the interpolation calculation is a bilinear interpolation calculation, and the memory block generation means generates the memory block with a number of pixels greater than 2 pixels horizontal by 2 pixels vertical required for the interpolation calculation.

6. 5. The image processing device according to claim 1, wherein the interpolation calculation is a bicubic interpolation calculation, and the memory block generation means generates the memory block with a number of pixels greater than 4 horizontal pixels by 4 vertical pixels required for the interpolation calculation.

7. A video processing program for causing a computer to function as the video processing device according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Image processor and its processing method

    JP1999069135A

  • Image processor and image processing program

    JP2008118216A

  • Projector, electronic equipment and method for controlling projector

    JP2009225226A

  • Printer, and image data processing method in the printer

    JP2010042679A

  • Image processor, image processing method and program

    JP2015138403A