Content deleted Content added
m →Seamless Image Cloning: adjusting wording |
m →Seamless Image Cloning: swapped picture order |
||
Line 24:
HandPhoto.jpg|Input image A
EyePhoto.jpg|Input image B
ImageDomainPaste.jpg|Traditional image ___domain paste. This is the result of pasting the pixel values directly from B onto A. There is an obvious seam.▼
ModifiedGradient.jpg|Modified gradient. This is the result of pasting the gradient of B onto the gradient of A.
GradientDomainPaste.jpg|Reconstructed image. This is the result of solving Poisson's equation on the modified gradient. The seam between the two images is barely visible.
▲ImageDomainPaste.jpg|Traditional image ___domain paste. This is the result of pasting the pixel values directly from B onto A. There is an obvious seam.
</gallery>
Notice that both the hand and the eye shifted color slightly in the image reconstructed from the modified gradient. This happened because the solver was set to find the entire image. However, it is possible to add constraints so that only the pasted section is solved for, leaving the rest of the image unmodified. It is also worth noting that the gradient pictured above represents the derivative of only one [[color channel]] (red), and was rendered with colors representing the strength and direction of the gradient. In practice two [[grayscale]] gradient images are found per color channel, one representing the change in ''x'' and the other representing the change in ''y''. Each color channel is solved for independently when reconstructing the final image.
|