34 nuller->mNoData = mNoData;
35 nuller->mOutputNoData = mOutputNoData;
36 nuller->mHasOutputNoData = mHasOutputNoData;
42 if ( bandNo > mOutputNoData.size() )
44 mOutputNoData.resize( bandNo );
45 mHasOutputNoData.resize( bandNo );
47 mOutputNoData[bandNo-1] =
noData;
48 mHasOutputNoData[bandNo-1] =
true;
53 if ( bandNo > mNoData.size() )
55 mNoData.resize( bandNo );
57 mNoData[bandNo-1] =
noData;
94 if ( mHasOutputNoData.value( bandNo - 1 ) || inputBlock->
hasNoDataValue() )
97 if ( mHasOutputNoData.value( bandNo - 1 ) )
99 noDataValue = mOutputNoData.value( bandNo - 1 );
112 for (
int i = 0; i < height; i++ )
114 for (
int j = 0; j < width; j++ )
116 double value = inputBlock->
value( i, j );
118 bool isNoData = inputBlock->
isNoData( i, j );
130 outputBlock->
setValue( i, j, value );