Skip to content, Skip to search

Changes

Gauss Package ImgLib2

18 bytes added, 05:39, 20 December 2011
Computing gaussian convolutions on entire images
sigma[ d ] = 1 + d;
//
// float-precision
//
// compute with float precision, but on T
final Img< T > convolved = Gauss.inFloat( sigma, img );
Gauss.inFloatInPlace( sigma, img );
//
// double-precision
//
// compute with double precision, but on T
final Img< T > convolved = Gauss.inDouble( sigma, img );
Gauss.inDoubleInPlace( sigma, img );
//
// precision defined by the type T itself (this will produce garbage if T has insufficient range
// or accuracy like ByteType, IntType, etc, but will work nicely on for example ComplexFloatType
//
// compute with precision of T
final Img< T > convolved = Gauss.inNumericType( sigma, img );
Emailconfirmed, incoming, uploaders
1,117
edits