Ciao Martin, to be honest I do not remember anything about this method. I check our code and it is not used anywhere. I guess you can remove it or at least deprecate it since it seem that the new method repeatFirstBand does what we need better.
Simone. On Jan 10, 2008 10:09 PM, Martin Desruisseaux <[EMAIL PROTECTED]> wrote: > More observations > > Just starting to look at some new methods: > > bandMerge > --------- > The method name doesn't said really what the method does, and the javadoc > doesn't help neither. I suggest to rename this method "repeatFirstBand" (which > is what it does), and change the implementation a little bit (current one > creates many intermediate images). > > Also this method probably need a use case (why do you want to do that). For > example I can understand what it means for an image having only one band > (could > be see as a way to convert indexed grayscale to RGB grayscale when the target > number of bands is 3) but I wonder what it means for an image having initially > more 2 or 3 bands. It may help us to find a better name. > > Martin > > > -- ------------------------------------------------------- Eng. Simone Giannecchini President /CEO GeoSolutions S.A.S. Via Carignoni 51 55041 Camaiore (LU) Italy phone: +39 0584983027 fax: +39 0584983027 mob: +39 333 8128928 http://www.geo-solutions.it ------------------------------------------------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
