search for: bilinear

Displaying 20 results from an estimated 32 matches for "bilinear".

2006 Jul 18
1
bilinear regression
I think this is an easy question, but I would be grateful for any advice on how to implement this in R. I simply have a response variable (y) that I am trying to predict with one explanatory variable (x) but the shape of the scatter plot is distinctly bilinear. It would be best described by two straight lines. Is there a way of fitting a linear model to give me a bilinear fit and (more importantly) automatically determine the 'cut off' point? I would also want some statistic to convince myself that the bilinear fit is better. Many thanks for you...
2004 May 11
2
bilinear and non linear
Dear all, there are R packages able to simulate or estimate bilinear model for time series? I know it is an open problem, but do exist something for very simplified bilinear models? Alternatively, what kinfd of non linear time series models are performed in R? If R is not able, could someone suggest me for some commercial softwares to deal with bilinear models? i&...
2009 Jun 21
1
Problems with bilinear interpolation of a grid
...uadrupling the number of cells within the frame (i.e. convert to 720 x 360 grid). I wish to have longitudinal values ranging from -179.75 to 179.75 and latitudinal values from 89.75 to -89.75. I selected the 'interp.surface' function in the 'fields' package to do this as it provides bilinear interpolation from one grid to another. I have written the following code to try and carry out my interpolation... > library(fields) > x.mat <- sprintf("%.2f", seq(from = -179.5, to = 179.5, length=360)) # longitude grid values > y.mat <- sprintf("%.2f", seq(fr...
2011 Oct 22
0
error on Fast bilinear interpolator from a grid
Dear all, I'm new user of R package. I'm trying to interpolate climate variables from ERA data. Original data contains 6 column with 29,040 lines, and x, y dimension are 240x121. I would like to get new data from column name: "lon", "lat" and "temp" by x, y dimension are 3,586x1,800 So I used the code as below, but I got error message as "z[cbind(lx1
2010 Nov 15
1
optimization of theora contract job
...e and we are pushing the boundaries of hardware (cpu) encoding with the existing theora/ffmpeg. Right now we have to downsample 1080 to 480 before we can transcode, so it becomes a two-step ffmpeg process to get a 480 ogg/theora/vorbis done in realtime: One proc: ffmpeg -deinterlace -sws_flags bilinear -i - -vcodec mpeg2video -f mpegts -vb 3000000 -s 852x480 -acodec copy -v 0 -async 2 -croptop 5 -padtop 5 -padcolor 000000 - Another proc: ffmpeg -sws_flags bilinear -i - -vcodec libtheora -f ogg -vb 704000 -r 14.00 -s 852x480 -aspect 16:9 -acodec libvorbis -ar 44100 -ac 2 -ab 64000 -v 0 -async...
2012 Aug 02
3
Need Help in Finite Element Analysis
Hi everybody I need help to solve the following problem in finite element A field variable f(x,y)=x? y is defined over a rectangle domain ?={K: 0?x?4 , 0?y?6? Given the expression g=?_(0 0)^(6 4)??X^3 Y dx dy? And assume the following bilinear interpolation shape functions are used to discretize the spatial geometric variable x and y: N1= ? (1-z)(1-e) N1= ? (1+z)(1-e) N1= ? (1+z)(1+e) N1= ? (1-z)(1+e) Where -1 ? z , e ? 1 for the local coordinates, z & e Determine the value of g using Guass quadrature numerical integration method...
2010 Aug 26
1
Passing arguments between S4 methods fails within a function:bug? example with raster package.
...9;), function(object, xy, method='simple', buffer=NULL, fun=NULL, na.rm=TRUE) { if (dim(xy)[2] != 2) { stop('xy has wrong dimensions; it should have 2 columns' ) } if (! is.null(buffer)) { return( .xyvBuf(object, xy, buffer, fun, na.rm=na.rm) ) } if (method=='bilinear') { return(.bilinearValue(object, xy)) } else if (method=='simple') { cells <- cellFromXY(object, xy) return(.readCells(object, cells)) } else { stop('invalid method argument. Should be simple or bilinear.') } } ) -- Joris Meys Statistical consultant...
2015 Sep 07
2
[PATCH mesa 2/3] nv30: Fix color resolving for nv3x cards
...> + dst.offset = (y >> src_mt->ms_y) * dst.pitch + > + (x >> src_mt->ms_x) * dst.cpp; > + dst.x1 = dst.x0 + (w >> src_mt->ms_x); > + dst.w = w >> src_mt->ms_x; > + > + nv30_transfer_rect(nv30, BILINEAR, &src, &dst); > + } > + } > +} > + > +static void > +nv40_resource_resolve(struct nv30_context *nv30, > + const struct pipe_blit_info *info) > +{ > struct nv30_rect src, dst; > > define_rect(info->src.resource, 0, info-...
2015 Sep 09
3
[PATCH mesa v2 1/2] nv30: Fix color resolving for nv3x cards
...t;src.box.x, info->src.box.y, info->src.box.width, info->src.box.height, &src); define_rect(info->dst.resource, 0, info->dst.box.z, info->dst.box.x, info->dst.box.y, info->dst.box.width, info->dst.box.height, &dst); - nv30_transfer_rect(nv30, BILINEAR, &src, &dst); + x0 = src.x0; + x1 = src.x1; + y1 = src.y1; + + /* On nv3x we must use sifm which is restricted to 1024x1024 tiles */ + for (y = src.y0; y < y1; y += h) { + h = y1 - y; + if (h > 1024) + h = 1024; + + src.y0 = 0; + src.y1 = h; +...
2007 Feb 06
1
Attachment_fu ImageScience FreeImage thumbnail quality
I''ve tried migrating acts_as_attachment to attachment_fu (just to see if I could replace RMagick with ImageScience+FreeImage), but the quality of the thumbnails is just horrendous, blurred beyond recognition (downscaling a 1280x1024 to a few considerably smaller thumbnails). Changing attachment_fu to use RMagick again and the thumbnails were crispy sharp again. I was wondering
2009 Mar 10
0
Alternative to interp.surface() offered
I wanted a simple function for bilinear interpolation on a 2-D grid, and interp.surface() in the fields package didn't quite suit my needs. In particular, it requires uniform spacing between grid points. It also didn't have the "visual" reference frame I was looking for. Here is an alternative function, followed by a...
2010 Feb 04
2
2 dimensional interpolation from matlab to R
Hi everybody. i have 2 datasets : one with a long grid a lat grid and a bathymetry grid the second one only has the long and lat coordinates. So i want to know the bathymetry associated to the second dataset. I thought it was a good idea to do an interpolation between the two datasets. I find a script doing that on matlab but i want to do it on R. Do you how to do it? for ii =
2008 Apr 20
2
Xbox
...* 133 MHz 64-bit GTL+ front side bus to GPU. * 32 KB L1 cache. 128 KB on-die L2 "Advanced Transfer Cache". GPU and system chipset: 233 MHz "NV2A" ASIC. * 4 textures per pass, texture compression, full scene anti-aliasing (NV Quincunx, supersampling, multisampling) * Bilinear, trilinear, and anisotropic texture filtering * Similar to the GeForce 3 and GeForce 4 PC GPUs. # Audio processor: NVIDIA "MCPX" (a.k.a. SoundStorm "NVAPU") * 64 3D sound channels (up to 256 stereo voices) * HRTF Sensaura 3D enhancement * MIDI DLS2 Support wo...
2009 Dec 01
6
raster support in graphics devices
...of these new functions that just say the feature is not yet implemented (see for example the PicTeX and XFig devices in the 'grDevices' package). A full implementation of dev_Raster() should be able to draw a raster image (provided as an array of 32-bit R colors) at any size, possibly (bilinear) interpolated (otherwise nearest-neighbour), at any orientation, and with a per-pixel alpha channel. Where these are not natively supported by a device, the graphics engine provides some routines for scaling and rotating raster images (see for example the X11 device). The dev_Cap() function s...
2013 Jan 29
2
Netcdf and Raster Package Questions, Need .asc File for GIS
...r is sideways, rotate m <- t(swe_in) m <- m[nrow(m):1,] r <- raster(m) plot(r) writeRaster(r,file="test_grid2.asc", format="ascii") # need square grids # resample to square grids r2 = raster(r) res(r2) = min(res(r)) res(r2) r2 <- resample(r, r2, method='bilinear') writeRaster(r2,file="test_grid24.asc", format="ascii") Thanks, Doug -- --------------------------------- Douglas M. Hultstrand, MS Senior Hydrometeorologist Metstat, Inc. Windsor, Colorado voice: 720.771.5840 email: dmhultst at metstat.com web: http://www.metstat.com...
2003 Feb 26
7
[OT] Just saying hi!
I hope this list is small enough for not beeing banned when introducing oneself. So... Hi, I just subscribed to the theora-lists. I'm from the XVID project, so I know a deal about video and MPEG-4 in particular, but nothing about Vorbis/Theora etc., That's why I'm here, because I'm interested in patent-free alternatives. I guess there is no documentation of the current status
2008 Nov 26
0
[ANNOUNCE] pixman release 0.13.2 now available
...Post release version bump Inline fetch functions in pixman-transformed.c Make use of SSE2 blt/fill in more places Update TODO Remove unused AddMul_256 macro Inlucde inttypes.h on digital Tru64 Add missing pixman-arm-simd.[ch] files. Add fetch_bilinear function Make use of fetch_bilinear() in the various bilinear implementations Do the fetch_bilinear inline rather than in separate functions Use fetch_nearest() instead of having duplicated code Inline the fetchers Various formatting fixes, and a simplification of...
2007 Feb 10
0
2 commits - libswfdec/jpeg
...'master' of git+ssh://git.freedesktop.org/git/swfdec diff-tree 4656cc03b8ae5802af707fc3a4efbba9d1c2db0a (from 17f85210c89d16ae4824771d41ea5bf41988b123) Author: Debian User <ds@gromit.(none)> Date: Sat Feb 10 18:11:35 2007 -0800 Change chroma upscaling from nearest neighbor to bilinear interpolation. diff --git a/libswfdec/jpeg/jpeg_rgb_decoder.c b/libswfdec/jpeg/jpeg_rgb_decoder.c index e3b42c7..5240b08 100644 --- a/libswfdec/jpeg/jpeg_rgb_decoder.c +++ b/libswfdec/jpeg/jpeg_rgb_decoder.c @@ -229,7 +229,17 @@ scanlinescale2_u8 (unsigned char *dest, { int i; - for (i...
2013 Apr 30
0
[ANNOUNCE] pixman 0.29.4 now available
...MIPS: DSPr2: Added pixbuf fast path. MIPS: DSPr2: Added rpixbuf fast path. Peter Breitenlohner (1): Check for missing sqrtf() as, e.g., for Solaris 9 Siarhei Siamashka (2): test: larger 0xFF/0x00 filled clusters in random images for blitters-test sse2: faster bilinear interpolation (get rid of XOR instruction) Stefan Weil (2): sse2: Use uintptr_t in type casts from pointer to integral value Trivial spelling fixes in comments S?ren Sandmann Pedersen (18): Post-release version bump to 0.29.3 test: Move do_composite() function from...
2007 Jun 26
3
[PATCH] Always use mipmaps in cube plugin
Currently, the cube plugin uses mipmapping only when cube is unfolded. When the cube is rotated, mipmaps are not used, which leads to ugly look of textures. The attached patch fixes this. This leads to another kind of artifacts, which are fixable with anisotropic filtering. http://team.pld-linux.org/~wolf/aniso.png The leftmost image is the current state of cube plugin. The center image is with