operator returning CollectionImage or CollectionOp
Long, long ago in this thread:
> On Tue, 19 Apr 2005, Fritz Cathey wrote:
> I have code that takes a certain kind of source image and computes
> two related images, more or less in parallel. I would like to embed this in
> an operator which, when rendered, produces a collection with the two
> images. Can CollectionOp be used here somehow?
This seems to be one of the only mentions of CollectionOp that I can find. Does this mean it is never used ? Or is its use so obvious that only I am confused ?
I would like to do the same style of operation as described above: one source image -> one or more result images. In my case the operator is sampling the values in each source pixel's neighbourhood (defined by a kernel) and computing summary statistics, each of which I would like to write to a separate output image.
I'd be very grateful for any example code for operators like this that people could point me to, or any general tips about how to code the OpImage class.