JuliaImages / juliaimages.github.io

Documentation For JuliaImages
https://juliaimages.org
33 stars 56 forks source link

Add demo:Gaussion Pyramid #193

Closed parkma99 closed 2 years ago

parkma99 commented 3 years ago

This is a very small demonstration about Gaussion Pyramid.This is also my first try in JuliaImages.I would like to display the result like this picture.

pyramid

But I fail it .Thanks so much if reviewers can give me help!

parkma99 commented 3 years ago

Thanks for your helping. I will compare these two pyramid construction methods.

The most important aspect that I would like to see in this demo is a small application that utilizes the pyramid, instead of simply building the pyramid, which is already made into one line. How do you think?

After googled the pyramid,I would like to make a demonstration about image blending using pyramid. It needs upsample. I am not sure that the function imresize can be used for upsample.

johnnychen94 commented 3 years ago

I am not sure that the function imresize can be used for upsample.

imresize supports different interpolation methods now (e.g., method= Lanczos4OpenCV(), you can take a try and see if there are actual issues. If there were we can discuss and figure out a way to fix or work around that.

parkma99 commented 3 years ago

After googled the pyramid,I would like to make a demonstration about image blending using pyramid.

But I don't know how to mask the image in Julia. Do somebody know how to do it?

johnnychen94 commented 3 years ago

But I don't know how to mask the image in Julia. Do somebody know how to do it?

Something like https://juliaimages.org/stable/democards/examples/spatial_transformation/layer_compositing/#Layer-Compositing and https://github.com/kimikage/ColorBlendModes.jl?