Re:High-Resolution Photorealistic Image Translation in Real-...
by jjcm on Tuesday June 01, 2021 @12:41AM
(#27350786)
I'm honestly surprised that it took this long for someone to use wavlets as a starting point in the image translation architecture. Frequency separation has been used for ages in the pro-photoshop realm for advanced editing / restyling. It makes sense that you'd get excellent performance with it in a GAN.
Re:High-Resolution Photorealistic Image Translation in Real-...
by dimatura on Tuesday June 01, 2021 @09:41AM
(#27354312)
This isn't really wavelets, though I guess it's a related technique. It's using a laplacian pyramid, which as you suggest is doing frequency separation, but it's achieved in the spatial domain by blurring and up/downsampling. (http://www.liralab.it/teaching/SINA_10/papers/burt-adelson19...)
It's far from the first use of this technique for CNNs, even for similar tasks. For example, there's LapGANs, that combined GANs with laplacian pyramids about 5 years ago. There's also LapSRN, that used this representation for superresolution.
Re:High-Resolution Photorealistic Image Translation in Real-...
by danwills on Tuesday June 01, 2021 @03:36AM
(#27351619)
This doesn't use wavelets afaics (they are not mentioned in the article), it uses something called 'Laplacian Pyramid'. That can be used separate a signal by frequency but seems to do the whole image at once. Looks to be the good old add-laplacian (ie 'blur') and subtract-from-the-original method (to get remaining high frequency).
I think wavelets usually have a limited extent in space (depending which basis shape you choose I guess).
Maybe they could make use of FFT for this separation, but it's probably hard to beat blur-and subtract for simplicity of implementation.
Re:High-Resolution Photorealistic Image Translation in Real-...
by SimplyUnknown on Tuesday June 01, 2021 @05:53AM
(#27352349)
Essentialy, you do the same thing as an FFT for separation.
A gaussian blur is a low-pass filter, and functionally the same as selecting all frequency component within a radius r of the DC component (assuming the DC component is in the center of the image). The radius r depends on the width of the gaussian kernel.
The only difference could be in computational time (might be that the FFT is faster) and will be different if you use a different kind of blurring (i.e. non-gaussian such as selecting a square region in the frequency domain).
Re:High-Resolution Photorealistic Image Translation in Real-...
by danwills on Tuesday June 01, 2021 @06:03AM
(#27352419)
Agreed! And in cases where the convolution kernel (bokeh, but in frequency space) is something more complicated than gaussian, FFT can definitely be a very good option (kernel/bokeh-res can be near-ish to the res of the image-to-convolve, for example, and full-colour kernels/bokehs too).
Re:High-Resolution Photorealistic Image Translation in Real-...
by dimatura on Tuesday June 01, 2021 @09:45AM
(#27354374)
I don't have any quantitative evidence on computational performance of the FFT versus the typical laplacian pyramid technique, but I'd be surprised if FFT is faster. The classical laplacian pyramid -- developed in the 80s -- is really quite simple and fast. http://www.liralab.it/teaching/SINA_10/papers/burt-adelson19...
Re:High-Resolution Photorealistic Image Translation in Real-...
by gjm11 on Tuesday June 01, 2021 @09:24AM
(#27354019)
Or, alternatively, skip the video if you're going to read the article anyway. In case you're thinking, as I did, "maybe the video will show the thing actually running in real time to transform video", nope: the video isn't from the people who did the research, it's from this Louis Bouchard chap and is just summarizing the paper. The video does contain some more examples than are on the webpage, though.
(It's a little surprising to me that the researchers don't seem to have produced any videos demonstrating what happens when you actually apply the process in real time. My best guess is that it turns out that slightly different images can produce substantially different outputs, so that if you apply it independently frame-by-frame to video you get flickery/shimmery/wobbly output. Personally, I'd still like to see it, even with the understanding that further work would be needed to make something that turns video into usable video.)
Re:High-Resolution Photorealistic Image Translation in Real-...
by danwills on Tuesday June 01, 2021 @06:17AM
(#27352518)
I'm somewhat left wondering what really happens to the high frequency bits? Can they move around a lot like in the style-transfer examples early in the video? It seems a bit like this method assumes the image will not be 'deformed' much overall and will stay basically in the same location (which I think is a bit less interesting than the full style-transfer examples they show at the start to compare tbh).
Re:High-Resolution Photorealistic Image Translation in Real-...
by darepublic on Tuesday June 01, 2021 @03:25AM
(#27351564)
Ultimately you will be able to put on your AR glasses and see the world around you as an anime. Standing on the corpses of forgotten adventurers, such as magic leap and Google glass
Re:High-Resolution Photorealistic Image Translation in Real-...
by notum on Tuesday June 01, 2021 @08:39AM
(#27353535)
Can we just take a moment to appreciate Anaconda? CUDA, Python and Tensor versioning are a mess in the ML era, having wrestled these dependencies manually multiple times I feel I need to take a chance to praise Anaconda when ever possible.
It's far from the first use of this technique for CNNs, even for similar tasks. For example, there's LapGANs, that combined GANs with laplacian pyramids about 5 years ago. There's also LapSRN, that used this representation for superresolution.
I think wavelets usually have a limited extent in space (depending which basis shape you choose I guess).
Maybe they could make use of FFT for this separation, but it's probably hard to beat blur-and subtract for simplicity of implementation.
The only difference could be in computational time (might be that the FFT is faster) and will be different if you use a different kind of blurring (i.e. non-gaussian such as selecting a square region in the frequency domain).
(It's a little surprising to me that the researchers don't seem to have produced any videos demonstrating what happens when you actually apply the process in real time. My best guess is that it turns out that slightly different images can produce substantially different outputs, so that if you apply it independently frame-by-frame to video you get flickery/shimmery/wobbly output. Personally, I'd still like to see it, even with the understanding that further work would be needed to make something that turns video into usable video.)
Would also love to see a video like that. Could be applied creatively in some way