forum.alglib.net
http://forum.alglib.net/

spline2dresamplebicubic for image reduction in C#
http://forum.alglib.net/viewtopic.php?f=2&t=70
Page 1 of 1

Author:  megus [ Fri Oct 01, 2010 3:42 am ]
Post subject:  spline2dresamplebicubic for image reduction in C#

Hi,

has anyone used the interpolation subpackage for image resampling?

more specifically, i'm trying to write a program in C# which would reduce images using the bicubic interpolation,

with the ambition of obtaining results which are as good as Photoshop's.

I've tried using spline2dresamplebicubic by passing a 2d int array, populated by C# standard Color.FromArgb() (data drawn from a Bitmap object).

Unfortunately, the result is ridiculously off, which only means that the ARGB data is not the right data.. Should I apply the resampling for each base color separately ?

I'd appreciate any feedback on this, thanks.

Author:  Sergey.Bochkanov [ Fri Oct 01, 2010 4:56 am ]
Post subject:  Re: spline2dresamplebicubic for image reduction in C#

Yes, each base color should be resampled separately.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/