Hi, How about using the class Tile instead of using get()?
Shot in the dark. :) XL 2011/6/27 ZiZi Zhao <ziziz2...@yahoo.com> > Hi All, > > the NDK manual says: > // If you are going to randomly access the input, you should > // request it's entire bounding box: > > input0().request(channels, 1); > > Does the function get() has similar option? > > The only sample I could find is from the tiffReader.cpp that has > > input0().request(0, 0, width(), height(), channels, 1); > > but, its get() is done by rows, e.g.: > > Row row(0, width()); > for (unsigned y = 0; y < (unsigned)height(); y++) { > iop->status(double(y) / height()); > get(height() - y - 1, 0, width(), channels, row); > ... > } > > I am wondering, after requesting the entire image, if I have > > Row row(0, width()*height()); > get(height(), 0, width(), Chan_RED, row); > > do I get the whole red channel? or, there is simpler way to do this job? > > Thanks in advance, > > ZiZi > > > > > > _______________________________________________ > Nuke-dev mailing list > Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev > >
_______________________________________________ Nuke-dev mailing list Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev