07-20-2020, 06:18 AM
I have an image that I want to extend to the right. Most of the right border is a vaguely orange-red color, lighter near the top of the image, darker near the bottom.
I want to make that image larger by extending that border to the right. If all of that border followed that pattern, I would just copy it piecemeal and paste it next to the existing border. But there are a few places where bits of furniture etc. touch the right border, and extending those in a straight line would look weird.
So far, I have copied pieces of that right border using a rectangular selection tool at a 400% zoom (with the grid spacing set to 1, this makes each pixel visible to the naked eye) and repeatedly pasted them to the right until I reach the right edge of the (expanded) image.
But where other things touch the right border of the original image, there are breaks in that nice smooth flow from light orange to dark orange, making a hard visual boundary where they meet.
I want to "erase" that boundary, making the transition gradual across the entire right area.
I thought of applying a few hundered iterations of a "relaxation" algorithm: color(x,y) = (color(x+1, y+1) + color(x+1,y-1) + color(x-1,y-1) + color(x-1,y+1))/4 , but I thought it would be better to learn how to do this in GIMP, if I can.
Suggestions?
See the attached image for what I've managed to do so far.
Btw, the messy area in the top center is the result of my trying to erase boundaries with the smudge tool. It didn't work as well as I'd hoped.
I want to make that image larger by extending that border to the right. If all of that border followed that pattern, I would just copy it piecemeal and paste it next to the existing border. But there are a few places where bits of furniture etc. touch the right border, and extending those in a straight line would look weird.
So far, I have copied pieces of that right border using a rectangular selection tool at a 400% zoom (with the grid spacing set to 1, this makes each pixel visible to the naked eye) and repeatedly pasted them to the right until I reach the right edge of the (expanded) image.
But where other things touch the right border of the original image, there are breaks in that nice smooth flow from light orange to dark orange, making a hard visual boundary where they meet.
I want to "erase" that boundary, making the transition gradual across the entire right area.
I thought of applying a few hundered iterations of a "relaxation" algorithm: color(x,y) = (color(x+1, y+1) + color(x+1,y-1) + color(x-1,y-1) + color(x-1,y+1))/4 , but I thought it would be better to learn how to do this in GIMP, if I can.
Suggestions?
See the attached image for what I've managed to do so far.
Btw, the messy area in the top center is the result of my trying to erase boundaries with the smudge tool. It didn't work as well as I'd hoped.