Training and upscaling of large images
By dividing large-size images into sub-pictures and using target filling and cropping techniques in the ML upscaling process, the problem of memory size growth in ML-based image super-resolution upscaling is solved and storage efficiency in high-resolution processing is achieved. .
Patent Information
- Application Number
- CN201980069159.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-06-14
- Filing Date
- 2019-10-17
- Publication Date
- 2024-08-13
- Estimated Expiration
- 2039-10-17
AI Technical Summary
In the process of image super-resolution upscaling based on machine learning, as the target image size increases, the required memory size increases exponentially, especially when using multi-layer deep neural networks, making the memory size difficult to control.
Divide the large-sized input image into small-sized sub-images, expand each sub-image by targeted padding pixels, and perform an upscaling process using ML-based amplifiers, followed by cropping and concatenating the sub-images to generate the output image, independent of the input/output images size.
It effectively controls the growth of memory size, ensures reasonable storage requirements during high-resolution image processing, and avoids the problem of exponential growth of memory size.
Smart Images

Figure CN112930552B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of priority under 35 USC §119(e) to co-pending U.S. Provisional Patent Application No. 62 / 747,453, entitled “Machine-Learning Based Single Image Upscaling Application for Motion Pictures,” filed on October 18, 2018. The disclosure of the above-referenced application is incorporated herein by reference. Technical Field
[0003] The present disclosure relates to training and upscaling images, and more particularly, to training and upscaling large-sized input images. Background Art
[0004] Machine learning (ML) can be used to perform image super-resolution upscaling. However, there are some observed problems with conventional ML-based training and upscaling processes. For example, the memory size required for ML-based training and upscaling grows exponentially as the target image size increases, especially with deep neural networks with many layers. In order to maintain the required memory size within a practical range while using advanced neural network-based training and upscaling processes, a method that is independent of the input / output image size is desired. Summary of the invention
[0005] The present disclosure provides training and upscaling of large-sized input images.
[0006] In one embodiment, a method for training and upscaling a large-sized input image is disclosed. The method includes: dividing the large-sized input image into a plurality of sub-pictures of small sizes; expanding each of the plurality of sub-pictures of small sizes using target padding pixels to generate an expanded sub-picture; upscaling each sub-picture using an ML-based upscaling to generate an expanded upscaled sub-picture; cropping the expanded upscaled sub-pictures to an upscaled size equal to the original size of each sub-picture multiplied by an upscaling factor; repeating the upscaling, upscaling, and cropping for a plurality of sub-pictures; and cascading a plurality of cropped sub-pictures to generate an output image.
[0007] In one embodiment, extending each sub-image includes: determining how to fill additional pixels around each sub-image; and adding a sub-region of additional pixels around each sub-image. In one embodiment, adding sub-regions includes determining the type of each sub-region. In one embodiment, a first type of sub-region includes a sub-region having pixels that are completely within the effective picture region of the large-size image. In one embodiment, the method further includes: when it is determined that the sub-region is of the first type, extending each sub-image in the direction of the sub-region. In one embodiment, a second type of sub-region includes a sub-region having pixels that are not within the effective picture region of the large-size image, but on the edge of each sub-image. In one embodiment, the method further includes: when it is determined that the sub-region is of the second type, using a butterfly image on the edge to extend each sub-image. In one embodiment, a third type of sub-region includes a sub-region having pixels that are not within the effective picture region of the large-size image, but at the corner of each sub-image. In one embodiment, the method further includes: when it is determined that the sub-region is of the third type, using a butterfly image on the corner to extend the sub-image.
[0008] In another embodiment, a large-size image enlargement system is disclosed. The system includes: an image divider configured to divide a large-size input image into a plurality of sub-images; a sub-image extender configured to extend each of the plurality of sub-images by adding additional pixels around each sub-image to generate an extended sub-image, wherein the extended sub-image is fed into a neural network to train and enlarge the extended sub-image; a sub-image cropper configured to receive the extended and enlarged sub-image and crop it to a size corresponding to the size of the original sub-image multiplied by the enlargement factor; and an image filler configured to cascade all the cropped sub-images of the plurality of sub-images to reconstruct an output image.
[0009] In one embodiment, the sub-image stretcher adds additional pixels around each sub-image by adding a sub-region of additional pixels around each sub-image. In one embodiment, adding sub-regions includes determining the type of each sub-region. In one embodiment, the first type of sub-region includes sub-regions with pixels that are completely within the effective image area of the large-size input image. In one embodiment, the sub-image stretcher is also configured to: when the sub-region is determined to be of the first type, each sub-image is stretched into the direction of the sub-region. In one embodiment, the second type of sub-region includes sub-regions with pixels that are not within the effective image area of the large-size input image, but on the edge of each stretched sub-image. In one embodiment, the sub-image stretcher is also configured to: when the sub-region is determined to be of the second type, use a butterfly image on the edge to stretch each sub-image. In one embodiment, the third type of sub-region includes sub-regions with pixels that are not within the effective image area of the large-size input image, but on the corners of each stretched sub-image. In one embodiment, the sub-image stretcher is also configured to: when the sub-region is determined to be of the third type, use a butterfly image on the corner to stretch each sub-image.
[0010] In yet another embodiment, a non-transitory computer-readable storage medium is disclosed, which stores a computer program for training and upscaling a large-sized input image. The computer program includes executable instructions that cause a computer to: divide a large-sized input image into a plurality of small-sized sub-images; expand each of the plurality of small-sized sub-images using a target padding pixel to generate an expanded sub-image; upscale each sub-image using an ML-based upscaler to generate an expanded upscaled sub-image; crop the expanded upscaled sub-image to an upscaled size equal to the original size of each sub-image multiplied by an upscaling factor; repeat the executable instructions that cause the computer to expand, upscale, and crop a plurality of sub-images; and cascade a plurality of cropped sub-images to generate an output image.
[0011] In one embodiment, the executable instructions to cause a computer to expand each sub-picture include executable instructions to cause a computer to: determine how to fill additional pixels around each sub-picture; and add a sub-region of additional pixels.
[0012] Other features and advantages should be apparent from the present description, which illustrates by way of example various aspects of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Details as to the structure and operation of the present disclosure may be gleaned in part by examination of the accompanying drawings, in which like reference numerals refer to like parts, and in which:
[0014] Figure 1A shows a large-sized input image divided into six small-sized sub-images;
[0015] Figure 1B The processing of sub-pictures and the formation of output images from the sub-pictures are shown;
[0016] Figure 2 is a diagram illustrating an embodiment of the present disclosure (relative to Figure 1B A detailed flowchart of the expansion process described in (a)
[0017] Figure 3 is a flow chart illustrating a process for training and upscaling large-size images according to one embodiment of the present disclosure;
[0018] Figure 4 is a detailed flow chart illustrating a filling process according to one embodiment of the present disclosure;
[0019] Figure 5 is a detailed flow chart illustrating a cutting process according to one embodiment of the present disclosure;
[0020] Figure 6 is a block diagram showing a large-size image enlargement system according to one embodiment of the present disclosure;
[0021] Fig. 7A is a representation of a large-size image magnification system and user according to an embodiment of the present disclosure; and
[0022] Figure 7B is a functional block diagram illustrating a computer system hosting a large-size image magnification application according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0023] As described above, conventional ML-based training and upscaling processes have some observed problems. For example, as the target image size increases, the memory size required for ML-based training and upscaling will grow exponentially, especially with deep neural networks with many layers. In order to maintain the required memory size within a practical range while using advanced neural network-based training and upscaling processes, a method that is independent of the input / output image size is desired.
[0024] In order to solve the above-mentioned problems of the conventional process, certain embodiments of the present disclosure provide: (1) dividing a large-sized input image into multiple small-sized sub-images; (2) expanding each sub-image by filling the pixels surrounding the sub-image with a target; (3) enlarging the expanded sub-image; (4) cropping an image area from the expanded and enlarged sub-images; and (5) cascading the cropped sub-image images to reconstruct an output enlarged image.
[0025] After reading these descriptions, it will become apparent how to implement the present disclosure in various embodiments and applications. Although various embodiments of the present disclosure will be described herein, it should be understood that these embodiments are given only by way of example and not limitation. As such, this detailed description of various embodiments should not be construed as limiting the scope or breadth of the present disclosure.
[0026] Figure 1A and 1B A flow chart is formed that illustrates a process for training and upscaling large-size images according to one embodiment of the present disclosure. In one embodiment, large-size images include high-definition (HD) or higher-definition images. For example, an HD image may be defined as having a resolution of 1920x1080 pixels, while a higher-resolution image (such as 4K) may be defined as having a resolution of 3840x2160 pixels. Therefore, HD or 4K images may be classified as large-size images that cannot be processed as a single input image into a complex neural network layer for training.
[0027] Figure 1A The illustrated embodiment shows an active picture area 100 divided into six sub-pictures 110 , 120 , 130 , 140 , 150 , 160 of small size. Figure 1B The processing of sub-pictures and the formation of output images from the sub-pictures are shown. Figure 1B The process for two of the six sub-pictures is shown. However, the other four sub-pictures can be processed similarly to the process for the two sub-pictures shown.
[0028] How small the small-sized sub-images need to be depends on the memory size and the complexity of the neural network used in the training. That is, larger memory sizes allow for processing with larger-sized sub-images, while more complex neural networks require smaller-sized sub-images. In one example, the maximum size of a sub-image that can be sent for training is 64x64 or 128x128 pixels.
[0029] exist Figure 1B In the illustrated embodiment, each of the sub-pictures 130, 160 is processed separately. Initially, each sub-picture is expanded by filling the pixels around the sub-picture using an expansion process 170. The expansion process 170 Figure 2 In the figure, and Figure 2 Described in detail in the Description section.
[0030] exist Figure 1BIn the illustrated embodiment, each sub-image is padded (via expansion process 170) to form an expanded sub-image 132, 162. The expanded sub-image 132, 162 is then upscaled (via neural network-based upscaling process 180). Figure 1B In the upscaling process 180, the required memory size is defined by the size of each sub-image and the complexity of the neural network, rather than by the size of the overall input image.
[0031] Figure 1B Shown are expanded and enlarged sub-pictures 134, 164. Each of the expanded and enlarged sub-pictures 134, 164 is cropped to produce the original image region of the sub-picture 136, 166. The cropped sub-pictures 116, 126, 136, 146, 156, 166 are concatenated to reconstruct the output enlarged image 190.
[0032] Figure 2 is a diagram illustrating an expansion process 170 according to an embodiment of the present disclosure (see Figure 1B Detailed flowchart of the description). Figure 2 The illustrated embodiment shows a sub-image 130 being extended with additional padding / pixel regions A, B, C to produce an extended sub-image 132. Figure 2 The expansion process is only shown for sub-picture 130, but other sub-pictures may be expanded using the same process described herein for sub-picture 130.
[0033] In one embodiment, the additional padding / pixel area to be added to the sub-image 130 includes eight sub-areas (e.g., two sides, top and bottom, and four corners). In this embodiment, the eight sub-areas are divided into three types of padding designs (e.g., A, B, C).
[0034] In one example, a type A filling design is used for a sub-area within the active picture area 100. Thus, a type A filling design is formed by extending the image area to four directions. Figure 2 In FIG. 1 , type A padding is designed for the left sub-region, the bottom sub-region, and the bottom left corner sub-region. Therefore, the extended sub-picture 132 shows those sub-regions (ie, the left sub-region, the bottom sub-region, and the bottom left corner sub-region) formed by extending the image area to four directions.
[0035] In another example, a type B fill design is used for a sub-area that is not within the active picture area 100 but is at the edge (e.g., left, right, top, or bottom). Thus, a type B fill design is formed using a butterfly image on the edge. Figure 2In FIG. 1 , type B padding is designed for the top sub-region and the right sub-region that are not in the active picture area 100 and are not in any corner. Therefore, the extended sub-picture 132 shows those sub-regions (i.e., the top sub-region and the right sub-region) formed using butterfly images on the edges.
[0036] In another example, a type C filling design is used for a sub-area that is not within the active picture area 100 but in a corner (e.g., the upper left corner, the upper right corner, the lower left corner, or the lower right corner). Therefore, a type C filling design is formed using a butterfly image at the corner point. Figure 2 In FIG. 1 , type C padding is designed for the upper left corner sub-region, the upper right corner sub-region, and the lower right corner sub-region that are not in the effective picture area 100 and are in the corners. Therefore, the extended sub-picture 132 shows those sub-regions (i.e., the upper left corner sub-region, the upper right corner sub-region, and the lower right corner sub-region) formed using butterfly images at the corner points.
[0037] Figure 3 is a flow chart illustrating a process 300 for training and upscaling large-size images according to one embodiment of the present disclosure. Figure 3 In the illustrated embodiment, at block 310 a large-sized input image is divided into a plurality of small-sized sub-images. Figure 1A An example of an active picture area 100 divided into six small-sized sub-pictures 110 , 120 , 130 , 140 , 150 , 160 is shown.
[0038] At block 320, each sub-image is expanded using the target padding pixels around the sub-image. In one embodiment, the expansion process includes adding additional padding / pixels around each sub-image to produce an expanded sub-image. Figure 2 The flowchart shown in Figure 4 The details of how the extra padding / pixels are added to each sub-picture are illustrated in the flowchart shown in .
[0039] In one embodiment, at block 330, each padded sub-picture is fed into an ML-based upscaling processor (e.g., a neural network) to produce an upscaled padded sub-picture. At block 340, each upscaled and padded sub-picture is cropped to the original size of the sub-picture multiplied by the upscaling factor. If it is determined at block 350 that there are more (one or more) sub-pictures to process, then process 300 is directed to block 320 to process more (one or more) sub-pictures. At block 360, all cropped sub-pictures are concatenated to reconstruct the output image.
[0040] Figure 4 is a diagram illustrating a filling process according to an embodiment of the present disclosure ( Figure 3 320 in FIG. Figure 4In the illustrated embodiment, it is first determined how to fill pixels around a sub-picture at block 400. In one embodiment, the pixels to be filled around a sub-picture are grouped into a plurality of sub-regions (types A, B, and C).
[0041] exist Figure 4 In the illustrated embodiment, the pixels to be filled are grouped into three sub-regions. At block 410, each sub-region to be filled around the sub-image is checked to determine whether it is of the first type (e.g., Figure 2 Type A in ), where the sub-area is within the active picture area (e.g., Figure 1A If the sub-region is within the valid picture area, then at block 412 the image area of the sub-picture is then extended in the direction of the sub-region.
[0042] Otherwise, if it is determined at block 420 that the sub-region is outside the active picture area, but within the edge (e.g., Figure 2 If the sub-picture is filled with a butterfly image on the edge, then the sub-picture is filled with a butterfly image at block 422. As described above, type B filling is designed for the top sub-area and the right sub-area that are not in the active picture area and are not in any corner.
[0043] Otherwise, if it is determined at block 430 that the sub-region is outside the active picture area, but in a corner (e.g., Figure 2 If the sub-picture is filled with a butterfly image at the corners, then the sub-picture is filled with a butterfly image at block 432. As described above, type C filling is designed for the upper left, upper right, and lower right sub-regions that are not in the active picture area and in the corners.
[0044] If it is determined at block 440 that there are more sub-regions to process, then at block 450 the process moves to the next sub-region and returns to block 410. Otherwise, the process terminates.
[0045] Although arranged in a specific order Figure 4 However, these blocks may be executed in any order without affecting the result of the specific process in block 320.
[0046] Figure 5 is a diagram illustrating a cutting process according to an embodiment of the present disclosure ( Figure 3 340 in FIG. Figure 5 In the illustrated embodiment, at block 500, an expanded and enlarged sub-image is received. At block 510, the original size and the enlargement factor of the sub-image are determined. Then at block 520, the enlarged size is determined by multiplying the original size by the enlargement factor. At block 530, the sub-image is cropped to the enlarged size. At block 540, the cropped sub-image is output.
[0047] Figure 6 is a block diagram showing a large-size image enlargement system 600 according to one embodiment of the present disclosure. Figure 6 In the illustrated embodiment, the large-size image enlargement system 600 includes an image divider 610 , a sub-picture stretcher 620 , a sub-picture cropper 640 , and an image filler 650 .
[0048] exist Figure 6 In the illustrated embodiment, the image divider 610 is configured to divide the large-sized input image into a plurality of small-sized sub-images. In one embodiment, the large-sized input image is divided into a plurality of small sub-images of equal size. The sub-image extender 620 is configured to extend the sub-image by adding additional padding / pixels around the sub-image to produce an extended sub-image.
[0049] exist Figure 6 In the illustrated embodiment, the expanded sub-pictures are fed into an ML-based upscaling processor (e.g., neural network 630) to generate expanded and upscaled sub-pictures. Sub-picture cropper 640 is configured to crop the expanded and upscaled sub-pictures to a size corresponding to the size of the original sub-picture before the upscaling process multiplied by the upscaling factor. Image filler 650 is then configured to concatenate all cropped sub-pictures to reconstruct the output image.
[0050] In one embodiment, the large-size image magnification system 600 is a system configured entirely with hardware, including one or more digital signal processors (DSPs), general-purpose microprocessors, application-specific integrated circuits (ASICs), field-programmable gate / logic arrays (FPGAs), or other equivalent integrated or discrete logic circuit systems. In another embodiment, the large-size image magnification system 600 is configured with a combination of hardware and software.
[0051] Fig. 7A is a representation of a large-size image magnification system 700 and a user 702 according to an embodiment of the present disclosure. The user 702 uses the computer system 700 to implement an application for frame processing during magnification.
[0052] The computer system 700 stores and executes Figure 7B The computer system 700 may also include a large-size image magnification application 790. In addition, the computer system 700 may communicate with a software program 704. The software program 704 may include software code for a large-size image magnification application. The software program 704 may be loaded on an external medium such as a CD, DVD, or storage drive, as will be further explained below.
[0053] In addition, the computer system 700 can be connected to a network 780. The network 780 can be connected in a variety of different architectures, such as a client-server architecture, a peer-to-peer network architecture, or other types of architectures. For example, the network 780 can communicate with a server 785 that coordinates engines and data used in the large-size image magnification application. Moreover, the network can be a different type of network. For example, the network 780 can be the Internet, a local area network, or any variation of a local area network, a wide area network, a metropolitan area network, an intranet or an extranet, or a wireless network.
[0054] Figure 7B is a functional block diagram illustrating a computer system 700 hosting a large-size image magnification application 790 according to an embodiment of the present disclosure. The controller 710 is a programmable processor and controls the operation of the computer system 700 and its components. The controller 710 loads instructions (e.g., in the form of a computer program) from the memory 720 or an embedded controller memory (not shown) and executes these instructions to control the system. In its execution, the controller 710 provides a software system to the large-size image magnification application 790, such as to enable the creation and configuration of engines and data extractors within the large-size image magnification application. Alternatively, this service can be implemented as a separate hardware component in the controller 710 or the computer system 700.
[0055] The memory 720 temporarily stores data for use by other components of the computer system 700. In one embodiment, the memory 720 is implemented as RAM. In one embodiment, the memory 720 also includes long-term or permanent memory, such as flash memory and / or ROM.
[0056] The storage device 730 stores data temporarily or for a long time for use by other components of the computer system 700. For example, the storage device 730 stores data used by the large-size image magnification application 790. In one embodiment, the storage device 730 is a hard disk drive.
[0057] The media device 740 receives removable media and reads and / or writes data to the inserted media. In one embodiment, for example, the media device 740 is an optical disk drive.
[0058] The user interface 750 includes components for accepting user input from a user of the computer system 700 and presenting information to the user 702. In one embodiment, the user interface 750 includes a keyboard, a mouse, audio speakers, and a display. The controller 710 uses the input from the user 702 to adjust the operation of the computer system 700.
[0059] The I / O interface 760 includes one or more I / O ports to connect to corresponding I / O devices, such as external storage devices or supplementary devices (e.g., printers or PDAs). In one embodiment, the ports of the I / O interface 760 include ports such as USB ports, PCMCIA ports, serial ports, and / or parallel ports. In another embodiment, the I / O interface 760 includes a wireless interface for wireless communication with external devices.
[0060] Network interface 770 includes a wired and / or wireless network connection supporting an Ethernet connection, such as an RJ-45 or "Wi-Fi" interface (including but not limited to 802.11).
[0061] Computer system 700 includes additional hardware and software typical of computer systems (e.g., power, cooling, operating system), but is not described for simplicity. Figure 7B These components are not specifically shown in the drawings. In other implementations, different configurations of the computer system can be used (eg, different bus or storage configurations or multi-processor configurations).
[0062] Descriptions of the embodiments disclosed herein are provided to enable any person skilled in the art to make or use the present disclosure. Many modifications to these embodiments will be apparent to those skilled in the art, and the principles defined herein may be applied to other embodiments without departing from the spirit or scope of the present disclosure. For example, although the above description mentions the problem of enlarging large-sized images, the difficulty of enlarging may also include the difficulty of enlarging images with greater bit depths (e.g., 16-bit depth versus 8-bit depth). Therefore, the present disclosure is not intended to be limited to the embodiments shown herein, but should be given the widest scope consistent with the principles and novel features disclosed herein.
[0063] Various embodiments of the present disclosure are implemented in electronic hardware, computer software, or a combination of these technologies. Some embodiments include one or more computer programs executed by one or more computing devices. Generally speaking, a computing device includes one or more processors, one or more data storage components (e.g., volatile or non-volatile memory modules and persistent optical and magnetic storage devices such as hard disk and floppy disk drives, CD-ROM drives, and tape drives), one or more input devices (e.g., game controllers, mice, and keyboards), and one or more output devices (e.g., display devices).
[0064] A computer program includes executable code that is typically stored in a persistent storage medium and then copied to memory at run time. At least one processor executes the code by retrieving the program instructions from memory in a prescribed order. When executing the program code, the computer receives data from input and / or storage devices, performs operations on the data, and then delivers the resulting data to output and / or storage devices.
[0065] It will be appreciated by those skilled in the art that the various illustrative modules and method steps described herein can be implemented as electronic hardware, software, firmware or aforesaid combination. In order to clearly illustrate this interchangeability of hardware and software, various illustrative modules and method steps have been generally described herein according to their functionality. Whether this functionality is implemented as hardware or software depends on specific application and the design constraints imposed on the entire system. The technician can implement the described functionality in various ways for each specific application, but such implementation decisions should not be interpreted as causing departure from the scope of the present disclosure. In addition, the grouping of the functions within the module or step is for ease of description. A specific function can be moved from one module or step to another module or step without departing from the present disclosure.
[0066] Not all features of each of the examples discussed above are necessary in a particular embodiment of the present disclosure. In addition, it should be understood that the description and drawings given herein represent the broadly contemplated subject matter of the present disclosure. It should also be understood that the scope of the present disclosure fully encompasses other embodiments that will become apparent to those skilled in the art, and the scope of the present disclosure is therefore limited only by the appended claims.
Claims
1. A method for training and enlarging a large-size input image, the method being performed by a large-size image enlargement system configured entirely in hardware, the method include: Divide a large input image into multiple sub-images of smaller sizes; extending each of the plurality of sub-pictures of small size using the target padding pixels to generate an extended sub-picture; upscaling each of the expanded sub-images using a machine learning based upscaling to produce an upscaling expanded sub-image; Cropping the enlarged extended sub-images to an enlarged size equal to the original size of each sub-image multiplied by the enlargement factor; Repeating expanding, enlarging and cropping the multiple sub-pictures; as well as Multiple cropped sub-images are concatenated to produce an output image.
2. The method of claim 1, wherein each sub-picture is expanded include: Determine how to fill extra pixels around each sub-image; as well as Adds a sub-region of extra pixels around each sub-image. The method of claim 2 , wherein adding sub-regions comprises determining a type of each of the sub-regions.
4. The method of claim 3, wherein the sub-area of the first type include: A sub-region having pixels that are completely within the active picture area of a larger image.
5. The method according to claim 4, further comprising: include: When it is determined that the sub-region is of the first type, each sub-picture is extended into the direction of the sub-region.
6. The method of claim 3, wherein the sub-area of the second type include: A sub-region having pixels that are not within the active picture area of the larger image but are on the edge of each sub-picture.
7. The method according to claim 6, further comprising: include: When the sub-region is determined to be of the second type, each sub-picture is extended using a butterfly image on the edge.
8. The method of claim 3, wherein the third type of sub-area include: Sub-regions with pixels that are not within the active picture area of the large-size image but are at the corners of each sub-picture.
9. The method according to claim 8, further comprising: include: When the sub-area is determined to be of the third type, the sub-picture is extended using a butterfly image at the corner.
10. A large-size image enlargement system completely configured by hardware, include: An image divider configured to divide a large-size input image into a plurality of sub-images; a sub-picture stretcher configured to stretch each sub-picture of the plurality of sub-pictures by adding additional pixels around each sub-picture to generate an extended sub-picture, wherein each of the expanded sub-images is enlarged using a machine term-based enlarger to produce an enlarged expanded sub-image; a sub-image cropper configured to receive the enlarged extended sub-image and crop it to a size corresponding to a size obtained by multiplying the size of the original sub-image by the enlargement factor; as well as An image filler is configured to concatenate all cropped sub-pictures of the plurality of sub-pictures to reconstruct an output image.
11. The system of claim 10, wherein the sub-picture stretcher adds additional pixels around each sub-picture by adding a sub-region of additional pixels around each sub-picture.
12. The system of claim 11, wherein adding sub-regions comprises determining a type of each of the sub-regions.
13. The system of claim 12, wherein in the sub-area of the first type include: A sub-region having pixels that are completely within the active picture area of the larger input image.
14. The system of claim 13, wherein the sub-image stretcher is further configured to: when it is determined that the sub-region is of the first type, stretch each sub-image into the direction of the sub-region.
15. The system of claim 12, wherein the sub-area of the second type include: Sub-regions having pixels that are not within the active picture area of the large-size input image but are on the edge of each extended sub-picture.
16. The system of claim 15, wherein the sub-picture stretcher is further configured to stretch each sub-picture using a butterfly image on an edge when the sub-region is determined to be of the second type.
17. The system of claim 12, wherein the third type of sub-area include: Sub-regions with pixels that are not within the active picture area of the large-size input image but are at the corners of each extended sub-picture.
18. The system of claim 17, wherein the sub-picture stretcher is further configured to stretch each sub-picture using a butterfly image at a corner when the sub-region is determined to be of the third type.
19. A non-transitory computer-readable storage medium storing a computer program for training and upscaling a large-size input image, the computer program being executed by a large-size image upscaling system configured entirely in hardware, the computer program comprising executable instructions that cause a computer to: Divide a large input image into multiple sub-images of smaller sizes; extending each of the plurality of sub-pictures of small size using the target padding pixels to generate an extended sub-picture; upscaling each of the expanded sub-images using a machine learning based upscaling to produce an upscaling expanded sub-image; Cropping the enlarged extended sub-images to an enlarged size equal to the original size of each sub-image multiplied by the enlargement factor; Repeating executable instructions that cause a computer to expand, enlarge, and crop the plurality of sub-pictures; and Multiple cropped sub-images are concatenated to produce an output image.
20. The non-transitory computer-readable storage medium of claim 19, wherein the executable instructions that cause a computer to expand each sub-picture include executable instructions that cause a computer to: Determine how to fill extra pixels around each sub-image; and Add a sub-region of extra pixels.
Citation Information
Patent Citations
Fruit recognition method and device based on deep learning
CN108319894A
Image processing device, electronic camera and image processing program
JP2015108670A
Method for upscaling an image and apparatus for upscaling an image
US20170132759A1
Image upscaling
US20170206632A1
Reproduction of image pattern data
US5237624A
