/* -*- mia-c++  -*-
 *
 * This file is part of MIA - a toolbox for medical image analysis 
 * Copyright (c) Leipzig, Madrid 1999-2017 Gert Wollny
 *
 * MIA 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.
 *
 * This program 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 MIA; if not, see <http://www.gnu.org/licenses/>.
 *
 */

#include <mia/2d/filter.hh>
#include <mia/2d/imageio.hh>
#include <mia/2d/shape.hh>
#include <mia/template/dimtrait.hh>

#include <queue>

NS_MIA_BEGIN

template <> 
struct watershed_traits<2> { 
	typedef P2DShape PNeighbourhood; 
	typedef C2DFilterPluginHandler Handler; 
}; 
NS_MIA_END

#include <mia/template/watershed.hh>

NS_MIA_BEGIN

typedef TWatershedFilterPlugin<2> C2DWatershedFilterPlugin; 
typedef TWatershed<2> C2DWatershed; 


NS_MIA_END
