Commit 3b8751e5 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

app/base/Makefile.am added foreground extraction algorithm. This code is

2005-07-08  Sven Neumann  <sven@gimp.org>

	* app/base/Makefile.am
	* app/base/segmentator.[ch]: added foreground extraction
	algorithm.  This code is contributed by Gerald Friedland. Please
	see the comments in the code for links to further information.
	This is work in progress. Don't expect it to do anything yet.
parent 8611bb4c
2005-07-08 Sven Neumann <sven@gimp.org>
* app/base/Makefile.am
* app/base/segmentator.[ch]: added foreground extraction
algorithm. This code is contributed by Gerald Friedland. Please
see the comments in the code for links to further information.
This is work in progress. Don't expect it to do anything yet.
2005-07-07 Michael Natterer <mitch@gimp.org>
* app/actions/documents-actions.c
......
......@@ -36,6 +36,8 @@ libappbase_a_SOURCES = \
pixel-region.h \
pixel-surround.c \
pixel-surround.h \
segmentator.c \
segmentator.h \
temp-buf.c \
temp-buf.h \
threshold.c \
......
This diff is collapsed.
/*
* The GIMP Foreground Extraction Utility
* segmentator.h - interface to segmentator.c.
*
* For algorithm documentation refer to:
* G. Friedland, K. Jantz, L. Knipping, R. Rojas:
* "Image Segmentation by Uniform Color Clustering -- Approach and Benchmark Results",
* Technical Report B-05-07, Department of Computer Science, Freie Universitaet Berlin, June 2005.
* http://www.inf.fu-berlin.de/inst/pubs/tr-b-05-07.pdf
*
* Algorithm idea by Gerald Friedland.
* This implementation is Copyright (C) 2005 by Gerald Friedland <fland@inf.fu-berlin.de>
* and Kristian Jantz <jantz@inf.fu-berlin.de>.
*
* This program 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 2
* 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 this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __SEGMENTATE_H__
#define __SEGMENTATE_H__
/* Amount of color dimensions in one point */
#define DIMS 3
/* Public functions */
float *segmentate(unsigned int *rgbs, float *confidencematrix, int xres,
int yres, float limits[DIMS], int smoothness);
#endif /* __SEGMENTATE_H__ */
This diff is collapsed.
/*
* The GIMP Foreground Extraction Utility
* segmentator.h - interface to segmentator.c.
*
* For algorithm documentation refer to:
* G. Friedland, K. Jantz, L. Knipping, R. Rojas:
* "Image Segmentation by Uniform Color Clustering -- Approach and Benchmark Results",
* Technical Report B-05-07, Department of Computer Science, Freie Universitaet Berlin, June 2005.
* http://www.inf.fu-berlin.de/inst/pubs/tr-b-05-07.pdf
*
* Algorithm idea by Gerald Friedland.
* This implementation is Copyright (C) 2005 by Gerald Friedland <fland@inf.fu-berlin.de>
* and Kristian Jantz <jantz@inf.fu-berlin.de>.
*
* This program 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 2
* 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 this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __SEGMENTATE_H__
#define __SEGMENTATE_H__
/* Amount of color dimensions in one point */
#define DIMS 3
/* Public functions */
float *segmentate(unsigned int *rgbs, float *confidencematrix, int xres,
int yres, float limits[DIMS], int smoothness);
#endif /* __SEGMENTATE_H__ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment