[BioC] EBImage: putting two images next to each others

Simon Anders anders at embl.de
Sat Feb 9 14:02:53 CET 2013


Hi

On 09/02/13 13:58, Simon Anders wrote:
> if I have to Image objects with the same vertical size, how can I
> combine them into one wide Image object, with the two images placed next
> to each other?

Sorry, I was to fast in asking, and found the answer myself:

This here removes the colours,
>   display( abind( lena, lena, along=1 ) )

but this works:
 > display( Image( abind( lena, lena, along=1 ), colormode="color" ) )

Overloading 'rbind' and 'cbind' might be a good idea for the next 
release to get a more elegant idiom. Or do we already have something 
like that?

   Simon



More information about the Bioconductor mailing list