Updated setObservedPixels to setObservedHasMean.