Wrong revert

Revert "Revert "Add more mask""

This reverts commit 863ad3be41.
This commit is contained in:
Guilhem Lavaux 2012-01-15 16:41:12 -05:00
parent 863ad3be41
commit 84b451d3ad
5 changed files with 79 additions and 4 deletions

View file

@ -7,8 +7,17 @@ using namespace std;
static const bool DEBUG = true;
void computeFilledPixels(Healpix_Map<float>& m, vector<int>& filled)
{
filled.clear();
for (int p = 0; p < m.Npix(); p++)
if (m[p] > 0)
filled.push_back(p);
}
void computeContourPixels(Healpix_Map<float>& m, vector<int>& contour)
{
contour.clear();
for (int p = 0; p < m.Npix(); p++)
{
fix_arr<int, 8> result;