PyramidLayerUp function problem

PyramidLayerUp function problem


I am trying to use the Universal pyramid functions to decompose and
reconstruct a Gaussian as well as Laplacian pyramids (for image
contrast/sharpness enhancement purposes). Before I actually implement
the Laplacian pyramid, I wanted to decompose and reconstruct a Gaussian
pyramid and test if the image reconstructs correctly.

If the ROI provided to the pyramid structure is a non-square rectangle then the
pyramid decomposition gives me the correct images for all levels I use,
however, the reconstruction loop only reconstructs part of the image. For a square ROI the
reconstruction works fine. Is this a limitation of the PyramidLayerUp
function - does it only work for square ROIs?

Any thoughts/suggestions will be very appreciated. Thank you,


1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.