Re: Scale a vector
- From: "Matteo Migliore" <matteo.migliore.cut@xxxxxxxxx>
- Date: Mon, 17 Sep 2007 08:19:44 +0200
Your vector contains a sampling of a function of one variable (the
function is "median luminosity by column in an image") at some
frequency (e.g 300 pixel/inch), and what you're wanting to do is
resample that function at a different frequency (e.g. 72
pixels/inch). Doing linear interpolation between adjacent points
models the function as a series of straight line segments. That
might be good enough, but there are many other interpolataion
functions possible. For example, you could use quadratic or cubic
interpolation (e.g. modelling the base function as a series or
parabolic or cubic curve segments). You really need to know
something about the true nature of the data to know which
interpolation function will give the most useful results.
For high quality 2D image scaling, bi-quadratic or bi-cubic
interpolation is usually used, so I'd propose that quadratic or cubic
interpolation is probably what you want.
OK, I've to study on it. Good informations. Thanks Carl!
Thanks all guys!!
During this night (I live in Italy at the moment) I develop
the application and I published on CodePlex here:
http://www.codeplex.com/SimilarImagesFinder
Four hours of hard work! :-D
Have fun! :-).
I come back soon!
Thx!!!!
Matteo Migliore.
.
- References:
- Scale a vector
- From: Matteo Migliore
- Re: Scale a vector
- From: Peter Duniho
- Re: Scale a vector
- From: Matteo Migliore
- Re: Scale a vector
- From: Peter Duniho
- Re: Scale a vector
- From: Matteo Migliore
- Re: Scale a vector
- From: Peter Duniho
- Re: Scale a vector
- From: Matteo Migliore
- Re: Scale a vector
- From: Matteo Migliore
- Re: Scale a vector
- From: Peter Duniho
- Re: Scale a vector
- From: Matteo Migliore
- Re: Scale a vector
- From: Carl Daniel [VC++ MVP]
- Scale a vector
- Prev by Date: detect if a file is open
- Next by Date: RE: Unable to apply publish properties for item
- Previous by thread: Re: Scale a vector
- Next by thread: Re: Scale a vector
- Index(es):
Relevant Pages
|
Loading