search for: imagedata

Displaying 7 results from an estimated 7 matches for "imagedata".

Did you mean: image_data
2010 Apr 29
2
send_data => invalid byte sequence in US-ASCII
...Some particulars: I''m running gnuplot through a pipe to generate a plot in .png format. (I''ve tested the code by writing its output to a file and displaying it -- it works.) My Report model receives the .png image as a string: class Report << ActiveRecord::Base def imagedata image = GnuPlot(@gnuplot_commands) end end My Controller uses send_data() to serve up a page: class ReportsController < ApplicationController def plot report = Report.find(params[:id]) send_data(report.imagedata, :type => ''image/gif'') end...
2012 Jun 20
1
Question on EBImage package
...en use the resize function to increase the size of the matrix to a 6 by 10 matrix, but unfortunately there is a glitch: all of the numbers come out as ones: > y = resize(b,6,10) > y Image   colormode: Grayscale   storage.mode: double   dim: 6 10   nb.total.frames: 1   nb.render.frames: 1 imageData(object)[1:5,1:6]:      [,1] [,2] [,3] [,4] [,5] [,6] [1,]    1    1    1    1    1    1 [2,]    1    1    1    1    1    1 [3,]    1    1    1    1    1    1 [4,]    1    1    1    1    1    1 [5,]    1    1    1    1    1    1 Does anyone know why this is happening? When I use integer values, the...
2009 Nov 23
1
64bit guest on top of 64bit hypervisor+dom0 does not boot with virsh while it does with xm command
...; <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <disk type=''file'' device=''disk''> <driver name=''tap'' type=''aio''/> <source file=''/IMAGEDATA/test1/private/test1-img-080191bb''/> <target dev=''xvda'' bus=''xen''/> </disk> <disk type=''file'' device=''disk''> <driver name=''tap'' type=''aio''/...
2012 Apr 30
0
New package for morphology and smoothing in any number of dimensions: mmand
...misations, run time is still very reasonable. For example: > x <- EBImage::readImage(system.file("images", "shapes.png", package="EBImage")) > k <- matrix(1,3,3) > > y1 <- EBImage::erode(x,k) > y2 <- mmand::erode(x,k) > identical(EBImage::imageData(y1),y2) [1] TRUE > > system.time(for(i in 1:100) EBImage::closing(x,k)) user system elapsed 1.791 0.047 1.837 > system.time(for(i in 1:100) mmand::closing(x,k)) user system elapsed 3.267 0.018 3.287 A single closing (dilate followed by erode) operation therefore takes arou...
2012 Apr 30
0
New package for morphology and smoothing in any number of dimensions: mmand
...misations, run time is still very reasonable. For example: > x <- EBImage::readImage(system.file("images", "shapes.png", package="EBImage")) > k <- matrix(1,3,3) > > y1 <- EBImage::erode(x,k) > y2 <- mmand::erode(x,k) > identical(EBImage::imageData(y1),y2) [1] TRUE > > system.time(for(i in 1:100) EBImage::closing(x,k)) user system elapsed 1.791 0.047 1.837 > system.time(for(i in 1:100) mmand::closing(x,k)) user system elapsed 3.267 0.018 3.287 A single closing (dilate followed by erode) operation therefore takes arou...
2017 Nov 14
0
Possible bug(s) causing ggplot2 and XLConnect to crash recent builds of r-devel
...uot;rJava", "XLConnect", "XLConnectJars". In this case executing library(XLConnect) cause the same response - "R Session aborted" with the information that "R encountered a fatal error". These are not packages that I maintain. However, I have packages (imageData and dae) that depend on ggplot2 and it seems that this bug is preventing me from compiling the packages under the most recent builds, although I can build the packages under the build of the 2017-06-27 r72859 development snapshot of R. Regards, Chris Brien Adjunct Senior Lecturer in Statistic...
2009 Sep 27
1
Optional libraries (libtiff, etc) not found
I installed the (binary) biOps package, which can use libtiff and libfftw. Then I used macports to install the libraries (in /opt/local/lib). But I restart R and biOps still does not see the libraries. I've tried adding symbolic links from /opt/local/lib to /usr/local/lib, I've added /opt/local/lib to LIBRARY_PATH, LD_LIBRARY_PATH, and DYLD_LIBRARY_PATH, and it doesn't work. Do you