Re: Remove holes after enlargment



Yes, I want to know how to generate the full "super" resolution image?
and the second problem that you have highlighted of average the
overlapped pixels.

Can you help me in it ?
need help on how to do this?
John D'Errico wrote:

In article <1151391715.058569.95980@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, "fas" <faisalmufti@xxxxxxxxx> wrote:

Hi
I have couple of images, and I have registered them after calculating
the homographies. Now the problem is that I want to create super
resolution images, when I enlarge the images, by padding them with
zeros, I get holes. Now how to fill the holes from
interpolation(assumed that some holes are filled by multiple images)
and remaining ones are requred to be filled.

So you have several small images that occupy
the domain of a large image. There may be some
partial overlap, but there are also regions that
have nothing.

You want to know how to generate the full "super"
resolution image?

There are two problems. First is the overlap
region. This is not interpolation. You should
probably average the overlapped pixels. Do you
need help on how to do this?

As for the "holes", if they are truly large,
then I'm not sure how good of an interpolation
you can expect. But this is what inpaint_nans
is designed to do. Fill the holes with NaNs
instead of zeros.

http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=4551&objectType=FILE

HTH,
John D'Errico


--
The best material model of a cat is another, or preferably the same, cat.
A. Rosenblueth, Philosophy of Science, 1945

Those who can't laugh at themselves leave the job to others.
Anonymous

.



Relevant Pages

  • Re: Find no. of overlapped pixels in two images?
    ... Here is the code of finding the "overlapped pixels" ... % Generate crop indexes ... % We don't look for shift larger than this ... There is in FEX a faster CONV2 function for large images ...
    (comp.soft-sys.matlab)
  • Re: possible rooted systems
    ... Once the problems are discovered and holes are ... find away to be a nuisance and a security risk on the network. ... provide the security needed to ensure the images were not modified. ... >> to the USB Drive using a ghost boot disk with dos USB drivers, ...
    (Security-Basics)
  • Re: List of paraphilias
    ... Michael Snyder wrote: ... posted on Tue, 24 Oct 2006 00:12:27 GMT, nimue wrote: Begin ... Men get turned on by images of cocks going in and out of holes. ...
    (alt.true-crime)
  • Re: Firefox is starting to piss me off
    ... A flute without holes, is not a flute, James Schrumpf ... especially those with images. ... This happens to me constantly on the Scout.com websites and *only* the ...
    (rec.sport.football.college)
  • Re: Single or multi hole off-axis filters?
    ... Each hole creates two images, each image separated by 90 degrees from the ... So if the holes in a two-hole mask are ... Since the out-of-focus images are bloated, the alignment has to be off ... quite a bit before you see four distinct images with a two-hole mask. ...
    (sci.astro.amateur)

Loading