/* * weight.h * * Include file for weight.c. * *%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% * * This file part of: SExtractor * * Copyright: (C) 1998-2010 IAP/CNRS/UPMC * (C) 1997 ESO * * Author: Emmanuel Bertin (IAP) * * License: GNU General Public License * * SExtractor is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * SExtractor is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with SExtractor. If not, see . * * Last modified: 11/10/2010 * *%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/ /*------------------------------- definitions -------------------------------*/ #define WTHRESH_CONVFAC 1e-4 /* Factor to apply to weights when */ /* thresholding filtered weight-maps */ /*---------------------------------- protos --------------------------------*/ extern picstruct *newweight(char *filename, picstruct *reffield, weightenum wtype, int nok); void weight_count(objstruct *obj, pliststruct *pixel), weight_to_var(picstruct *wfield, PIXTYPE *data, int npix);