forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 8:59 am

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: spline2dresamplebicubic for image reduction in C#
PostPosted: Fri Oct 01, 2010 3:42 am 
Offline

Joined: Fri Oct 01, 2010 3:33 am
Posts: 1
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.


Top
 Profile  
 
 Post subject: Re: spline2dresamplebicubic for image reduction in C#
PostPosted: Fri Oct 01, 2010 4:56 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
Yes, each base color should be resampled separately.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 50 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group