Displaying 20 results from an estimated 800 matches similar to: "R interface to ImageMagick"
2006 Aug 01
2
Indexing issue
Hi,
R is having the following weird behavior and I am not sure if that is a
feature or a bug:
I am working on the following "3D" array:
> bIm
, , 1
[,1]
[1,] TRUE
[2,] TRUE
[3,] TRUE
[4,] TRUE
[5,] TRUE
> class(bIm)
[1] "array"
> dim(bIm)
[1] 5 1 1
When I try to get the first 2D subarray, the whole thing folds into a
vector:
> bIm[,,1]
[1] TRUE TRUE TRUE
2006 Aug 09
2
Speeding indexing and sub-sectioning of 3d array
Hi,
I am having a problem with a very slow indexing and sub-sectioning of a 3d
array:
> dim(arr)
[1] 245 175 150
For each point in the array, I am trying to calculate the mean of the values
in its surrounding:
mean( arr[ (i - radius):(i + radius),
(j - radius):(j + radius),
(k - radius):(k + radius)] )
Putting that code in 3
2008 Mar 07
5
Puzzling coefficients for linear fitting to polynom
Hi,
I can not comprehend the linear fitting results of polynoms. For
example, given the following data (representing y = x^2):
> x <- 1:3
> y <- c(1, 4, 9)
performing a linear fit
> f <- lm(y ~ poly(x, 2))
gives weird coefficients:
> coefficients(f)
(Intercept) poly(x, 2)1 poly(x, 2)2
4.6666667 5.6568542 0.8164966
However the fitted() result makes sense:
>
2007 Nov 10
5
client hangs on pxelinux
Hi,
my client pc hangs on pxelinux before starting to fetch the linux
kernel. It hangs after printing the ip information row. No traffic is
observed at this point on the network. The pxelinux is transferred to
the client through a tftp server and with no problems.
What options do I have to proceed from this point and try to find out
where the problem is?
Thanks,
Firas.
--
Firas Swidan, PhD
2008 Jul 23
3
Quantitative analysis of non-standard scatter plots.
Hi,
I am having difficulties in finding ways to analyse scatter plots and
quantitatively differentiate between them. Since this is best demonstrated
by a figure, I have attached one with 4 subfigures (a)-(d). Qualitatively
(and I hope you would agree with me), sub-figures (a), (b), and (d) seem to
represent uniform 2d scatters. It is hard for me to quantify it, but it
seems as if the envelopes
2007 Nov 14
2
PXE in wonderland
Hi,
I have collected a bunch of old PII PCs that I am trying to PXE boot.
There NICs are old and so I use etherboot floppy to emulate a native PXE
boot. I have configured tftp, dhcpd, pxelinux, and all the other stuff.
Everything works fine till pxelinux start booting. Then it stucks after
printing the IP row.
--------------- pxelinux output -----------------------
PXELINUX 3.10 2005-08-24
2005 Feb 25
3
Loops and dataframes
Hi,
I am experiencing a long delay when using dataframes inside loops and was
wordering if this is a bug or not.
Example code:
> st <- rep(1,100000)
> ed <- rep(2,100000)
> for(i in 1:length(st)) st[i] <- ed[i] # works fine
> df <- data.frame(start=st,end=ed)
> for(i in 1:dim(df)[1]) df[i,1] <- df[i,2] #takes for ever
R: R 2.0.0 (2004-10-04)
OS: Linux, Fedora Core 2
2005 Apr 19
2
Printing a single "\" character
Hi,
I have a small R question: how to print a single "\" character? I have the
following results:
> print("\") does not work
> print("\\")
[1] "\\"
I need to make the following substitution as well, but it does not work
either:
> sub("_","\_","g_g")
[1] "g_g"
Thanks in advance,
Firas.
2005 Apr 14
2
Printing integers in R "as is"
Hi,
I am using the following command to print to a file (I omitted the file
details):
cat( paste( paste(orientation, start, end, names,"\n"), paste(start, end,
"exon\n"), sep=""))
where "orientation" and "names" are character vectors and "start" and
"end" are integer vectors.
The problem is that R coerce the integer vectors
2008 Aug 13
1
The standard deviation of measurement 1 with respect to measurement 2
Hi,
I have two (different types of) measurements, say X and Y, resulting from
the same set of experiments. So X and Y are paired: (x_1, y_1), (x_2, y_2),
...
I am trying to calculate the standard deviation of Y with respect to X. In
other words, in terms of the scatter plot of X and Y, I would like to divide
it into bins along the X-axis and for each bin calculate the standard
deviation along
2018 Feb 27
1
Help
Dear
I hope you are wery well when read this e-mail.My name is Firas ALSHAWY and
I am a Phd student in the high Institute of marine research - tishreen
university- Syria
I would like to want some help my in my research, I have data ( length -
weight - gonad weight - fishing mortality - natural mortality - the number
of fish-temperature of water, maximum age ) , I would like to use the
package (
2007 Oct 24
1
GAM vs. MGCV packages
Hi all,
I am a new R- user and I am going through the R-manuals, but I could not
find an answer for my question.
I am confused about when to use the GAM package and when to use the MGCV
package??
My Model is a GAM model of continuous outcome and many non-linear continuous
predictors (using the "s" function) as well as categorical predictors.
Thanks in advance for your help and
2011 Jun 24
1
Competing-risks nomogram
Hi R users,
I'd like to draw a nomogram using a competing-risks regression (crr function
in R), rather than a cox regression. However, the nomogram function provided
in the Design package is not good for this purpose.
Do you have any suggestion.
I really appreciate your help
Many thanks
F.Abdollah, MD
San-Raffele hospital
Milan, Italy
--
View this message in context:
2006 Feb 15
1
ImageMagick x86_64 update missing binaries (i386 is okay)
The recently released update to ImageMagick (6.0.7.1-14.x86_64) has a
problem on x86_64 -- it's missing /usr/bin/animate, /usr/bin/display, and
/usr/bin/import. The previous ImageMagick-6.0.7.1-12.x86_64.rpm is fine...
--
Matthew Miller mattdm at mattdm.org <http://mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
2011 Aug 27
3
ImageMagick : Centos GUI ?
I accidentally discovered 'convert'. It is a command line utility.
Changing a file from png to gif works like this
convert aaa.png aaa.gif
Amazingly simple, powerful and effective.
I've since discovered it has an amazing list of options
convert --help
a manual
file:///usr/share/doc/ImageMagick-6.2.8/www/convert.html
and a web site
http://www.imagemagick.org/
Does anyone
2016 May 03
2
ImageMagick security alert
https://imagetragick.com/
As CentOS is often used for web servers, I thought this should be posted
here.
Bug in ImageMagick allows remote exploit.
AFAIK no patch exists yet but defense against the exploit is detailed at
the link.
CVE-2016?3714
2009 Dec 16
2
Image conversion with ImageMagick doesn't work on CentOS, but it works fine on Debian Lenny.
I recently came across the need to convert jpg images with IM, did a
standard install of "yum -y install ImageMagick" and found that
images converted with CentOS's base port of IM would actually corrupt the
images, yet using the same (albiet different version, different distro)
software
didn't corrupt the images at all.
By corrupted, I mean, the bottom portion of the image under
This installation of RMagick was configured with ImageMagick 6.6.4 but ImageMagick 6.6.5-0 is in use
2010 Nov 20
2
This installation of RMagick was configured with ImageMagick 6.6.4 but ImageMagick 6.6.5-0 is in use
Hi all, just installed ImageMagick on my Mac, then added the gem
rmagick, and not can''t launch the server on my local machine. Anyone
experience this or have any ideas?
rails s
/Library/Ruby/Gems/1.8/gems/rmagick-2.13.1/lib/RMagick2.bundle: This
installation of RMagick was configured with ImageMagick 6.6.4 but
ImageMagick 6.6.5-0 is in use. (RuntimeError)
from
2008 Mar 19
1
adimpro package : R does not seem to find my ImageMagick installation
Dear list,
(sorry if I post to the wrong place...),
Though having spent some time on it, I cannot find an answer by myself
to the following behaviour of the read.image function (adimpro package) :
I'm running R.2.6.2 on Windows XP. The home directory is C:\Program
files\R\R-2.6.2
Version 0.4.4 of adimpro is loaded.
ImageMagick 6.3.0 is installed, its directory is C:\Program
2011 Dec 29
1
rmagick and imagemagick
I am having issues loading imagemagick and rmagick on webfaction.
I have installed a rails app called balder that organizes images.
my main problem is that i can''t seem to upoload the image sthrough balder.
balder uses imagemagick and rmagick
when i use the console and do this:
irb(main):003:0> require ''RMagick''
=> nil
I don''t think rmagick is