search for: imagematrix

Displaying 10 results from an estimated 10 matches for "imagematrix".

2006 Dec 31
1
rimage package broken with fedora upgrade
...ext html latex example fftImg text html latex example fftw text html latex highpass text html latex example imageType text html latex example imagematrix text html latex example laplacian text html latex example logo text html latex example lowpass text html latex example meanImg t...
2008 Mar 06
1
write in rimage package
Is there any way to write an imagematrix generated by the rimage package? Reproducible example: library(rimage) x <- read.jpeg(system.file("data", "cat.jpg", package="rimage")) png("newcat.png") plot(x) dev.off() The newcat.png image is different from the original file, because there are ugly...
2013 Feb 21
2
package ReadImages
Dear all I prepared some image processing routine which depended on package ReadImages. Basically I imported image to R, changed rgb to grayscale, normalised an image made some selections and changed to image by imagematrix. Recently I learned that this package was removed from CRAN and can not be used in R 3.0.0. What options I have now to import image to R, change it to grayscale, make some computation or selection, change it back to image and plot for visual inspection. Thanks Petr
2006 Sep 07
0
plot image matrix with row/col labels
...ram.jpg The rows refer to the arrondisements of Paris, the cols to various population characteristics. I want to read it into R with rimage(read.jpeg), calcualte avg. shading values, and recreate an approximation to the image with the row and column labels. I'm stuck at this last step, plot(imagematrix(mat)) (and also on how to read the image from a URL). Can someone help? My code is below library(rimage) image <- read.jpeg("C:/Documents/milestone/images/scalogram.jpg") ## how to read from web? #image <- read.jpeg("http://euclid.psych.yorku.ca/SCS/Gallery/images/Private/s...
2005 Nov 23
1
assign() problem
...n statement, everything runs fine so the rest of the code should be clean. My code: # Wavelet multiresolution decomposition wmra <- function(image_file){ #require(rimage) require(wavethresh) #reading image file and converting it to grayscale #dimage <- read.jpeg(image_file) #dimage <- imagematrix(dimage) # discrete wavelet decomposition imwdImage <- imwd(image_file) # get a value for the number of decomposition levels #nlevels <- imwdImage$nlevels i <- 0 varname <- paste("level",0:(imwdImage$nlevels-1),sep="") print(varname) while ( i < imwdImage$nlevel...
2010 May 16
1
Reading JPEG file, converting to HEX
..., I can convert the contents to hex format. However, it is not obvious to me what approach should be used to read the file. I found the command read.jpeg (in rimage; of note, I needed to use the Windows version because the OSX version appears to be broken). However, this command creates an "imagematrix", which does not appear to be what I need. Any thoughts? Thanks in advance. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone: 1-866-PLessThan (1-866-753-7784) Fax: 1-866-PLessThan (1-866-753-7784) www.PLessThan.com
2004 Jul 19
1
An image() problem related to Affy package in BioC
Dear All, There is a question I met when using Affy package in Bioconductor. I asked it in BioC and didn't get any responses. Sorry to post again: Could anyone tell me how to draw a deep-blue Affymetrix image through Image() function in Affy package? The default settings of image() draw me a black-white image and if I modify it to 256 colors, I get a somehow yellowish image. The reason
2008 Oct 18
1
recovering value of scalar from false color map and image
I have a JPEG map of temperature data, coded using a given legend where blues are cooler and reds hotter. Is there any preexisting R magic or package which might let me recover the value of the scalar quantity so represented given the RGB values at each point in the picture? After processing, I'd also like to push the results back through the translate to get an RGB JPEG again. Thanks for
2004 May 27
2
Is it possible to read jpeg files into R?
Hi Helpers, Does anyone know how to read jpeg, bmp or png files into R? I have some photos of brain scans and I want to quantify some aspects of their size. I might be able to do this with the 'locator' function, if I could figure out how to read the files in and make them into an image that I can display on the R Windows device. I have experimented with readBin, using a simple
2002 Mar 14
1
gif, jpeg and png image files reader AND tcltk image
...trix to a tcltk canvas, the answer is no. One has to create a pnm file from the image matrix then read in file and then paint it. When the image is large, the speed of reading and writing disk can be annoyingly slow. Now I begin to believe that it's possible to use > x.data <- ascii2tk(imagematrix) > tkcmd(x, "put", x.data) where ascii2tk would encode the ascii data into tk internal format for an image. Agustine Lobo offers to provide some functions on display matrices as images. I would be quite interested in knowing them! On the other hand, tcltk images provide strong capabi...