Um texto embutido e sem conjunto de caracteres especificado associado... Nome: n?o dispon?vel Url: https://stat.ethz.ch/pipermail/r-help/attachments/20061107/c586ecc7/attachment.pl
On 11/7/2006 6:57 AM, Milton Cezar Ribeiro wrote:> Hi there, > > I have some 1024x1024 binary images (as matrix), and I need change the dimensions to 1280x1280. > > Any idea?I'd get an external program to do it (e.g. ImageMagick) rather than reinventing. But if I had to reinvent, I'd do it by creating a function to interpolate [0,1] x [0,1] values from within the original image, and evaluate that function at the appropriate spots within the bigger one. Choosing which kind of interpolation could be tricky, especially if the image is in colour: that's why I'd suggest using someone else's work. Duncan Murdoch
'EBImage' R-package from www.bioconductor.org. It's based on ImageMagick and will allow you to do this and much more with images of any time. The prerequisite: either Linix/Unix or Mac (from source) -- will not work on Windows. On 07/11/06, Milton Cezar Ribeiro <milton_ruser@yahoo.com.br> wrote:> > Hi there, > > I have some 1024x1024 binary images (as matrix), and I need change the > dimensions to 1280x1280. > > Any idea? > > Regards, > > Miltinho > Brazil > > > --------------------------------- > > Música para ver e ouvir: You're Beautiful, do James Blunt > [[alternative HTML version deleted]] > > > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > > >[[alternative HTML version deleted]]