> > This is only used in the center-weighted median code, which must > > be specifically enabled. CWM is particularly bad at filtering out > > noise in video, especially the kind of noise that make video encoders > > less efficient.
> > Sorting neighboring pixel values is a particularly dumb method of > > doing a CWM filter (when all you want is the median), so fixing the > > dumb method of sorting is not really going to make the code good. > > The correct way to do CWM is roughly min(max(center,min(neighbors), > > max(neighbors)), at least for weight=4. (IIRC, this is from memory) ... > I take a look about how to make median filtering / denoising into a SIMD way > and > come back when I have find enough interesting infos on the subject > I have take a look at [url]http://www.google.fr/url?sa=t&rct=j&q=center+weighted+median+&source=web&cd=4&ved=0CG0QFjAD&url=http%3A%2F%2Fwww.cs.tut.fi%2F~moncef%2Fpublications%2Fanalysis-of-two-mssp95.pdf&ei=o0W3T6-yD-rK0QXmyqDlBw&usg=AFQjCNGUSN9BSC2IyjVY7yQjPxPx31dpyA&cad=rja[/url] This can certainly to be handled by the use of de Haar wavelets or something like this, no ? (I discovered the Harr/Debauchies wavelets only the last year, but this really seem good suited for to can manage larges images that are "smoothed" while being able to have numerous detailled areas inside ... or to handle denoising of course :) ) I think too that the numerous OpenGL texturing facilities can certainly to be precious compagnons for to explore the SIMD way ... @+ Yannoo ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Schrodinger-devel mailing list Schrodinger-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/schrodinger-devel