Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: a1ex on July 19, 2013, 02:05:04 PM

Title: Aliasing detection and correction
Post by: a1ex on July 19, 2013, 02:05:04 PM
http://www.math-info.univ-paris5.fr/~moisan/papers/2010-10r.pdf

Who's going to decipher and implement this?
Title: Re: Aliasing detection and correction
Post by: DTSET123 on July 19, 2013, 02:18:20 PM
You?  :P
Title: Re: Aliasing detection and correction
Post by: a1ex on July 19, 2013, 02:21:05 PM
It's way too complicated for me.
Title: Re: Aliasing detection and correction
Post by: mvejerslev on July 19, 2013, 03:28:31 PM
Ah, the Fourier domain.
Title: Re: Aliasing detection and correction
Post by: stevefal on July 19, 2013, 03:48:25 PM
Maybe the authors can provide a practical recipe. Both are on LinkedIn.
Title: Re: Aliasing detection and correction
Post by: bumkicho on July 19, 2013, 03:49:14 PM
Quote from: a1ex on July 19, 2013, 02:21:05 PM
It's way too complicated for me.
WHAT???!!!
Title: Re: Aliasing detection and correction
Post by: Yuppa on July 19, 2013, 05:30:57 PM
Not gonna happen, 'cause:

($1 / 434 + {6 * 2} - (that horseshoe looking thingy / 2) & * 1 + (4550334 * 0) * (1 / .4545 * (12^3)) (uh, looks like a weird letter "E") - #@# % * 79 <? <> & == 0) * 0

(Note: for symbol replacements, see the "Symbol Replacements Table.")

See what I mean?
Title: Re: Aliasing detection and correction
Post by: AriLG on July 19, 2013, 06:02:40 PM
Quote from: bumkicho on July 19, 2013, 03:49:14 PM
WHAT???!!!
Amazing that he can't do that, eh ?

a1ex, while you're on it... please fix the white balance on these (https://en.wikipedia.org/wiki/Egg_(food)) (you should be familiar with white balance by now).

This is the formula : uˆ(ξ) = ˆv(ξ) + ˆv(H(ξ/2)) and g(µ + ξ) + g(µ − ξ).

(in plain English : make a lot of white, and little yellow. yellow is bad).

You got three days.

Thanks

PS
The above is RAW egg  ;D

Title: Re: Aliasing detection and correction
Post by: ItsMeLenny on July 20, 2013, 04:19:27 AM
My brother is a maths boy.
He likes this forum because even the people who speak English as their first language don't speak it correctly.
That sentence was an example of itself.
Title: Re: Aliasing detection and correction
Post by: ItsMeLenny on July 20, 2013, 04:38:13 AM
The article basically does what the wavelet transform does... which is essentially jpeg compression.
Title: Re: Aliasing detection and correction
Post by: Audionut on July 20, 2013, 05:29:07 AM
What about trying something a little simpler like supersampling (https://en.wikipedia.org/wiki/Supersampling).
Title: Re: Aliasing detection and correction
Post by: driftwood on July 21, 2013, 02:14:24 AM
Its really tough stuff. Here's a 'good understanding' abstract for budding coders to look at where adaptive and non-adaptive techniques are currently employed.

http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.122.2248&rep=rep1&type=pdf
Title: Re: Aliasing detection and correction
Post by: andyshon on July 21, 2013, 04:05:39 AM
Might it help if the demosaicing algorithm was aware of the actual physical layout of the pixels? We're on the edge of my understanding here but I believe for video the 5D3 uses small clusters of pixels, spaced across the chip. If a standard bicubic interpolation was applied to this, pixels from within the cluster would be weighted equally to those which are actually much further away on the chip. If the debayer algorithm could be weighted to compensate for the specific pixel layout perhaps it would suppress some of the aliasing.