Hi Brad, Brad Buchsbaum wrote: > > Hi, > > Is it possible to take two FlatFields representing rgba values and combine > them using alpha composition into a third FlatField? > > e.g. f1(r, g, b, a) + f2(r, g, b, a) --> f3(r, g, b, a) ? > > This could be computed manually, but is there Visad method for doing this > sort of thing? Perhaps the method (from visad.DataImpl): public Data add(Data data) would do the trick? That is, f3 = (FlatField) f2.add( f1 ); Cheers, Ugo
visad
archives: