Displaying 2 results from an estimated 2 matches for "dimension2d".
Did you mean:
dimension2
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
>
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
...'T WORK:
//if (moviePositionBytes == movieLengthBytes)
// EOF BEING DETECTED, BUT THE REWIND / EXIT+INIT DOESN'T:
if (videoStream.eof())
{
rewind();
//exitMovie();
//initMovie();
}
decode_frame();
dimension2d<s32> texDim = texture->getSize();
long* texMem = (long*) texture->lock();
for (int y=0; y<texDim.Height; ++y)
{
for (int x=0; x<texDim.Width; ++x)
{
int Y = yuvBuffer.y [y*yuvBuffer.y_stride + x];
int...