Image processing apparatus and image processing method with image inpainting
First Claim
1. An image processing apparatus that inpaints an inpainting target region in an image to be displayed, the image processing apparatus comprises:
- a display unit configured to display the image constituted by a predetermined number of pixels; and
a control unit, the control unit executed by a processor of the imaging processing apparatus and configured to control the display unit,the control unit being configured to;
determine a removal patch including a removal region that is the inpainting target region and a first non-removal region that is a region that does not include the removal region in the image to be displayed on the display unit;
replace pixel values of pixels included in the removal region with pixel values of pixels outside the removal patch;
calculate a shortest distance from the removal region for each of the pixels included in the first non-removal region;
blend pixel values of the pixels included in at least a portion of the first non-removal region with the pixel values of the pixels outside the removal patch based on the calculated distance to obtain blended pixel values; and
replace the pixel values of the pixels included in the at least a portion of the first non-removal region with the blended pixel values.
3 Assignments
0 Petitions
Accused Products
Abstract
The image processing apparatus inpaints a part of an image displayed on the display unit. The control unit determines a removal patch including a removal region and a first non-removal region that is a region that does not include the removal region in the image, and replace pixel values of pixels included in the removal region with pixel values of pixels outside the removal patch. The control unit calculates a distance from the removal region for pixels included in the first non-removal region, blends pixel values of the pixels included in at least a portion of the first non-removal region with the pixel values of the pixels outside the removal patch based on the calculated distance to obtain blended pixel values, and replaces the pixel values of the pixels included in the at least a portion of the first non-removal region with the blended pixel values.
-
Citations
11 Claims
-
1. An image processing apparatus that inpaints an inpainting target region in an image to be displayed, the image processing apparatus comprises:
-
a display unit configured to display the image constituted by a predetermined number of pixels; and a control unit, the control unit executed by a processor of the imaging processing apparatus and configured to control the display unit, the control unit being configured to; determine a removal patch including a removal region that is the inpainting target region and a first non-removal region that is a region that does not include the removal region in the image to be displayed on the display unit; replace pixel values of pixels included in the removal region with pixel values of pixels outside the removal patch; calculate a shortest distance from the removal region for each of the pixels included in the first non-removal region; blend pixel values of the pixels included in at least a portion of the first non-removal region with the pixel values of the pixels outside the removal patch based on the calculated distance to obtain blended pixel values; and replace the pixel values of the pixels included in the at least a portion of the first non-removal region with the blended pixel values. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An image processing method for inpainting an inpainting target region in an image to be displayed on a display unit, the image processing method including:
-
determining a removal patch including a removal region that is the inpainting target region and a non-removal region that is a region that does not include the removal region in the image to be displayed on the display unit; replacing pixel values of pixels included in the removal region with pixel values of pixels outside the removal patch; calculating a shortest distance from the removal region for each of the pixels included in the non-removal region; blending pixel values of the pixels included in at least a portion of the non-removal region with the pixel values of the pixels outside the removal patch based on the calculated distance to obtain blended pixel values; and replacing the pixel values of the pixels included in the at least a portion of the non-removal region with the blended pixel values.
-
Specification