Displaying 20 results from an estimated 2000 matches similar to: "Generating 1-bit and 8-bit BMP files using R"
2013 Mar 13
1
image color analysis
I am not sure if I should ask this question in this list. But I'll try.
Currently I am trying to analyze images using EBImage and biOps.
One of the features that I need to extract from various images is the color
spectrum, namely, which colors each image consists of.
So, each image hopefully can be converted into some sort of color histogram
so that color ingredients are easily comparable
2011 Feb 15
4
Variable length datafile import problem
Dear all,
I am stuck the reading of a file which has 100s of rows and variable column counts.
The tab-limited data file looks something like:
Some_Text 1 3 123 1534 -119 1010 178
Some_Taxt 1 3 133 1434 -219 1010 178
Some_Tsxt 1 3 244 1334 -319 1010 178
Some_Tfxt 1 3 153 1234 -419 1010 178
Some_Trxt 1
2013 Aug 27
1
[plyr] Moving average filter with plyr
Dear all,
I'm stuck with a problem using plyr to process a rather large junk of data. What I'm trying to do is applying a moving average to all the subparts of the dataframe (the example data can be found here https://dl.dropboxusercontent.com/u/2414056/testData.Rdata).
require(plyr)
load("testData.Rdata")
applyfilter<-function(x){
return(filter(x,rep(1/5, times=5)))
}
2013 Mar 13
7
Export R generated tables and figures to MS Word
Dear Rxperts,
I am aware of Sweave that generates reports into a pdf, but do know of any
tools to generate to export to a MS Word document...
Is there a way to use R to generate and export report/publication quality
tables and figures and export them to MS word (for reporting purposes)?
Thanks so much,
Santosh
[[alternative HTML version deleted]]
2009 Oct 27
1
Rjava, RImageJ, and/or S4 question.
I am out of my league with this question. The following code starts the java imaging program ImageJ from within R, and displays an image (assuming ImageJ is installed on your computer).
library(RImageJ)
img <- IJ$openImage( file.choose() ) #pick an available .tif file
img$show() # make the image object visible
# An image is now displayed
# find out about the objects involved
>
2009 Dec 03
2
adding bmp/jpg/gif to an existing plot
Hi, all.
I searched a lot at mailing list, installed EBImage and gtk packages, but I
couldn't make this simple work:
How to add a image file (jpg or bmp ou gif) to an existing plot window (not
plot over the image), like the code below (pseudo function add.image):
plot(1:10,1:10,main="test")
image = read.X("myimage.jpg")
add.image(image, x.left=2, y.bottom=4,
2012 Nov 05
2
exporting 3D dynamic graph
Hi the list,
Using misc3d, we can export 3d dynamic graph in pdf format.
Is it also possible to export these graph into a format that we can publish on the web?
Christophe
--
Christophe Genolini
Maître de conférences en bio-statistique
Vice président Communication interne et animation du campus
Université Paris Ouest Nanterre La Défense
[[alternative HTML version deleted]]
2013 Mar 24
1
Creating a boxplot from a data summary
Hi,
I'm trying to create a boxplot from the summary of a large data set and I'm
having trouble finding any way to do this. I'm familiar with, but by no
means good at, using R, so the only two websites I've found pertaining to
this issue have been way over my head. I was hoping for a simple set of
instructions that I could follow to produce a boxplot, in R, for three
groups of
2013 Mar 29
4
How do you graph data when you have lots of small values but few extremely large values?
I was thinking of splitting the y-axis into two? Is this possible?
Thanks
--
Shane
[[alternative HTML version deleted]]
2012 Nov 28
1
Opening and closing quartz graphic device crashes R
> replicate(1000, {dev.new(); dev.off()})
R(83204,0xacdc1a28) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
R(83204,0xacdc1a28) malloc: *** mmap(size=16777216) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
...
*** caught bus error
2010 May 08
1
Error in RImageJ
Hello everybody,
I'm running R under Mac OS 10.6.3 on a MacBook 2.16 GHz Intel Core 2 Duo. I've recently installed R 2.11.0 and the RImageJ library v. 0.1-142. When trying to follow the example given in the package manual and I get the following error:
download.file( "http://www.google.fr/intl/en_en/images/logo.gif", dest = "google.gif" )
trying URL
2011 Dec 06
1
Read Windows BMP format images
Hello,
Does anyone know of an R package that can read Windows BMP format images? Many thanks,
Greg Jefferis.
--
Gregory Jefferis, PhD
Division of Neurobiology
MRC Laboratory of Molecular Biology,
Hills Road,
Cambridge, CB2 0QH, UK.
http://www2.mrc-lmb.cam.ac.uk/group-leaders/h-to-m/g-jefferis
2009 Aug 04
3
Accuracy (PR#13867)
Full_Name: Manuel Luethi
Version: 2.9.1
OS: Windows XP
Submission from: (NULL) (129.132.128.136)
Hi
I created the following vectors:
p_1=c(0.2,0.2,0.2,0.2,0.1,0.25,0.4,0.1,0.25,0.4,0.1,0.25,0.4,0.1,0.25,0.4,0.2,0.5,0.8,0.2,0.5,0.8,0.2,0.5,0.8,0.2,0.5,0.8)
p_2=c(0,0,0,0,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.5,0.4,0.25,0.1,0.4,0.25,0.1,0.4,0.25,0.1,0.4,0.25,0.1)
As these are
2007 Mar 12
3
reading BMP into R
Um texto embutido e sem conjunto de caracteres especificado associado...
Nome: n?o dispon?vel
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070312/112cd7f9/attachment.pl
2007 Jun 07
2
reading BMP or TIFF files
I realize that this question has been asked before (2003);
From: Yi-Xiong Zhou
Date: Sat 22 Nov 2003 - 10:57:35 EST
but I am hoping that the answer has changed. Namely, I would
rather read the BMP (or TIFF) files directly instead of putting
them though a separate utility for conversion as suggested by,
From: Prof Brian Ripley
Date: Sat 22 Nov 2003 - 15:23:33 EST
"Even easier is
2012 Dec 03
1
Calculation of extremely low p-values (in lm)
Dear R-users
Please excuse me if this topic has been covered before, but I was unable to
find anything relevant by searching
I am currently doing a comparison of two biological variables that have a
highly significant linear relationship. I know that the p-value of linear
regression is not so interesting in itself, but this particular value does
raise a question.
How does R calculate
2013 Mar 20
3
how to skip part of the code
Dear All,
another quick question, this one is on skipping part of my code, so let us say:
a <-5
b <-2
e <-0
d <-a+b
f <-a-b
what I would like to do is to have R NOT to calculate the value for d in case the value of e equals to zero (essentially skip that "chunk"), but instead move on to calculate te value for f. In the code I am working with the value of e changes,
2012 Dec 03
3
r function definition
I am a very new R user. I am trying to write functons and debug functions.
One problem for me is that I need to alwasy copy the whole function body and
resubmit to R console every time I changed even one line of the function.
Because I have long algorithm function, copying and pasting is very tedious
for me. I assume if I save the function files, R should be able to just use
the new function body
2009 Dec 08
2
automated image processing
Hi,
I am looking for a R package which is capable to process and analysis pictures of tissues (stained) in an automatic way.
I had a look on biops and EBImage (Bioconductor) but they are not automatic...
Did you already use/know a such package ?
Thanks,
- Martial
_________________________________________________________________
Tchattez en direct en en vidéo avec vos amis !
2012 Aug 08
3
Outer product from matrix by row and a vector
Dear all,
I am facing a challenge when applying the outer product with a matrix by rows.
What I have is a rather big matrix, which I would like to convert into a different matrix by doing something like
outer(matrix_row, vector, function(x,y) x[1]+5*x[4]/y)
In order to get there, I tried to get the matrix into a list using the mefa package, as subsetting the original data appears too