IMAGE PROCESSING DEVICE
20190379842 ยท 2019-12-12
Inventors
Cpc classification
H04N13/161
ELECTRICITY
H04N2201/3254
ELECTRICITY
H04N13/254
ELECTRICITY
H04N5/2628
ELECTRICITY
H04N13/239
ELECTRICITY
H04N2201/3277
ELECTRICITY
H04N2013/0081
ELECTRICITY
International classification
Abstract
An image processing device includes a rotation processor and an image processor. The rotation processor receives an input image and generates a temporary image according to the input image. The image processor is coupled to the rotation processor and outputs a processed image according to the temporary image, wherein the image processor has a predetermined image processing width, a width of the input image is larger than the predetermined image processing width, and a width of the temporary image is less than the predetermined image processing width.
Claims
1. An image processing device, comprising: a rotation processor receiving an input image, and generating a temporary image according to the input image; and an image processor coupled to the rotation processor and outputting a processed image according to the temporary image; wherein the image processor has a predetermined image processing width, a width of the input image is larger than the predetermined image processing width, and a width of the temporary image is less than the predetermined image processing width.
2. The image processing device of claim 1, wherein the predetermined image processing width is decided by a size of at least one line buffer comprised in the image processor, and the at least one line buffer is a static random-access memory.
3. The image processing device of claim 1, wherein the input image is captured by an image capturer.
4. The image processing device of claim 1, wherein the rotation processor further comprises a dynamic random-access memory to rotate the input image 90 degrees to generate the temporary image.
5. The image processing device of claim 4, wherein the image processor further flags the processed image as a rotation status, and the rotation status is used for indicating a display direction of the processed image corresponding to a display direction of the input image.
6. An image processing device, comprising: a rotation processor receiving a left-eye processed image and a right-eye processed image, and generating a left-eye temporary image and a right-eye temporary image according to the left-eye processed image and the right-eye processed image; and a depth map generator coupled to the rotation processor and outputting a depth map according to the left-eye temporary image and the right-eye temporary image; wherein the depth map generator has a predetermined image processing width, widths of the left-eye processed image and the right-eye processed image are larger than the predetermined image processing width respectively, and widths of the left-eye temporary image and the right-eye temporary image are less than the predetermined image processing width respectively.
7. The image processing device of claim 6, wherein the predetermined image processing width is decided by a size of at least one line buffer comprised in the depth map generator, and the at least one line buffer is a static random-access memory.
8. The image processing device of claim 6, further comprising: an image processor coupled to the rotation processor and receiving a left-eye input image and a right-eye input image, and generating the left-eye processed image and the right-eye processed image according to the left-eye input image and the right-eye input image.
9. The image processing device of claim 8, wherein the left-eye input image and the right-eye input image are captured by at least two image capturers.
10. The image processing device of claim 6, wherein the rotation processor further comprises a dynamic random-access memory to dewarp and to rotate the left-eye processed image and the right-eye processed image 90 degrees respectively to generate the left-eye temporary image and the right-eye temporary image.
11. The image processing device of claim 10, wherein the depth map generator further flags the depth map as a rotation status, and the rotation status is used for indicating a display direction of the depth map corresponding to display directions of the left-eye processed image and the right-eye processed image.
12. An image processing device, comprising: a rotation processor receiving an input image; and an image processor coupled to the rotation processor and outputting a processed image according to a temporary image or the input image; wherein the image processor has a predetermined image processing width, and the rotation processor determines if a width of the input image is larger than the predetermined image processing width to obtain a determining result, and determines whether to generate the temporary image or not according to the input image based on the determining result; wherein a width of the temporary image is less than the predetermined image processing width.
13. The image processing device of claim 12, wherein if the determining result is the width of the input image being larger than the predetermined image processing width, the rotation processor generates the temporary image according to the input image, and if the determining result is the width of the input image being less than the predetermined image processing width, the rotation processor outputs the input image to the image processor.
14. The image processing device of claim 12, wherein the predetermined image processing width is decided by a size of at least one line buffer comprised in the image processor, and the at least one line buffer is a static random-access memory.
15. The image processing device of claim 12, wherein the input image is captured by an image capturer.
16. The image processing device of claim 12, wherein the rotation processor further comprises a dynamic random-access memory to rotate the input image 90 degrees to generate the temporary image.
17. The image processing device of claim 16, wherein the image processor further flags the processed image as a rotation status, and the rotation status is used for indicating a display direction of the processed image corresponding to a display direction of the input image.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
DETAILED DESCRIPTION
[0015] Please refer to
[0016] Moreover, the rotation processor 101 includes a dynamic random-access memory (DRAM) (not shown in
[0017] In addition, as shown in
[0018] In addition, after the image processor 103 receives the temporary image, the image processor 103 can execute an image processing on the temporary image. The image processing includes at least one operation of color space conversion, luminance adjustment, resolution adjustment, noise cancellation, edge sharpening, interpolation, and contrast adjustment. Because the image processor 103 executing the image processing is obvious to those of ordinary skill in the art, further description thereof is omitted for simplicity. In addition, after executing the image processing on the temporary image, the image processor 103 generates a processed image (as shown in
[0019] The image processor 103 can further flag the processed image being processed by the image processor 103 as a rotation status, wherein the rotation status is used for indicating a display direction of the processed image corresponding to a display direction of the input image. For example, some formats of image compression like JPEG are employed with exchangeable image file format (EXIF), wherein EXIF information can indicate a display direction of a JPEG image, and a display system can display the JPEG image in a desired display direction according to the EXIF information. But, the present invention is not limited to the processed image being the JPEG image, that is, the processed image can be an image with other image compression format. Therefore, after the image processor 103 flags the processed image as the rotation status, even if the processed image is generated by rotating the input image 90 degrees, the processed image still can be displayed in the display direction of the input image.
[0020] In addition, one of ordinary skill in the art should clearly realize functions of the rotation processor 101 and the image processor 103 through the above-mentioned corresponding descriptions of the rotation processor 101 and the image processor 103, so one of ordinary skill in the art can easily implement the rotation processor 101 and the image processor 103 through a field programmable gate array (FPGA) with the above-mentioned functions of the rotation processor 101 and the image processor 103, or an application-specific integrated circuit (ASIC) with the above-mentioned functions of the rotation processor 101 and the image processor 103, or a software module with the above-mentioned functions of the rotation processor 101 and the image processor 103, or an analog integrated circuit with the above-mentioned functions of the rotation processor 101 and the image processor 103. Therefore, further description of a corresponding structure of the rotation processor 101 and the image processor 103 is omitted for simplicity.
[0021] Please refer to
[0022] In addition, after the image processor 401 receives the left-eye input image and the right-eye input image, the image processor 401 can execute the image processing on the left-eye input image and the right-eye input image respectively. The image processing can be referred to the above-mentioned descriptions of the image processing of the image processor 103, so further description thereof is also omitted for simplicity. After executing the image processing on the left-eye input image and the right-eye input image respectively, the image processor 401 generates a left-eye processed image and a right-eye processed image.
[0023] The rotation processor 403 receives the left-eye processed image and the right-eye processed image and further utilizes a DRAM (not shown in
FR=inverse(R)*A(1)
[0024] Another embodiment of the present invention provides clockwise 90 degrees rotation matrix to substitute counterclockwise 90 degrees rotation matrix.
[0025] Therefore, the rotation processor 403 may utilize the final matrix FR to rotate and to dewarp the left-eye processed image and the right-eye processed image in the single step.
[0026] Please refer to
[0027] In addition, as shown in
[0028] In addition, after the depth map generator 405 receives the left-eye temporary image and the right-eye temporary image, because there is a disparity between the left-eye temporary image and the right-eye temporary image, the depth map generator 405 can generate the depth map (as shown in
[0029] However, in another embodiment of the present invention, the image processing device 400 further includes a synchronization unit (not shown in
[0030] In addition, the depth map generator 405 can further flag the depth map as a rotation status, wherein the rotation status is used for indicating a display direction of the depth map corresponding to display directions of the left-eye processed image and the right-eye processed image. The rotation status can be referred to the above-mentioned descriptions of the rotation status of the image processor 103, so further description thereof is omitted for simplicity.
[0031] In addition, in another embodiment of the present invention, after rotating the input image, or rotating the left-eye processed image and the right-eye processed image, at least one operation of image scaling and an image cropping can further be executed. For example, after rotating the input image, the input image can further be scaled down, so a width of the input image can be reduced again to meet the predetermined image processing width W. The at least one operation of image scaling and an image cropping can be executed as an independent function, or integrated into the dewarp function. In addition, the present invention is not limited to the at least one operation of image scaling and an image cropping being executed after rotating the input image, that is, the at least one operation of image scaling and an image cropping can be executed before rotating the input image.
[0032] In addition, one of ordinary skill in the art should clearly realize functions of the image processor 401, the rotation processor 403 and the depth map generator 405 through the above-mentioned corresponding descriptions of the image processor 401, the rotation processor 403 and the depth map generator 405, so one of ordinary skill in the art can easily implement the image processor 401, the rotation processor 403 and the depth map generator 405 through a field programmable gate array (FPGA) with the above-mentioned functions of the image processor 401, the rotation processor 403 and the depth map generator 405, or an application-specific integrated circuit (ASIC) with the above-mentioned functions of the image processor 401, the rotation processor 403 and the depth map generator 405, or a software module with the above-mentioned functions of the image processor 401, the rotation processor 403 and the depth map generator 405, or an analog integrated circuit with the above-mentioned functions of the image processor 401, the rotation processor 403 and the depth map generator 405. Therefore, further description of a corresponding structure of the image processor 401, the rotation processor 403 and the depth map generator 405 is omitted for simplicity.
[0033] In addition, please again refer to
[0034] To sum up, the image processing device provided by the present invention receives at least one image, and utilizes a rotation processor included in the image processing device to generate at least one temporary image according to the at least one image, or according to at least one processed image further generated according to the at least one image, wherein at least one width of the at least one image is larger than a predetermined image processing width defined by the image processing device, and at least one width of the at least one temporary image is less than the predetermined image processing width. Therefore, compared to the prior art, the present invention can process the at least one image even if the at least one width of the at least one image is larger than the predetermined image processing width, and accordingly the restriction on the width of the input image of the image processing device can be improved.
[0035] Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.