Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

image_collection.h

Go to the documentation of this file.
00001 /* ---------------------------------------------------------------------------
00002     Phission :
00003         Realtime Vision Processing System
00004 
00005     Copyright (C) 2003 Philip D.S. Thoren (pthoren@cs.uml.edu)
00006     University of Massachusetts at Lowell,
00007     Laboratory for Artificial Intelligence and Robotics
00008 
00009     This file is part of Phission.
00010 
00011     Phission is free software; you can redistribute it and/or modify
00012     it under the terms of the GNU General Public License as published by
00013     the Free Software Foundation; either version 2 of the License, or
00014     (at your option) any later version.
00015 
00016     Phission is distributed in the hope that it will be useful,
00017     but WITHOUT ANY WARRANTY; without even the implied warranty of
00018     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019     GNU General Public License for more details.
00020 
00021     You should have received a copy of the GNU General Public License
00022     along with Phission; if not, write to the Free Software
00023     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00024 
00025  ---------------------------------------------------------------------------*/
00026 #ifndef IMAGE_COLLECTION_H
00027 #define IMAGE_COLLECTION_H
00028 
00029 #ifdef __cplusplus
00030 extern "C" {
00031 #endif
00032 
00033 #include <stdint.h>
00034 
00035 typedef struct image_data_set_t        *image_data_set;
00036 typedef struct image_data_collection_t *image_data_collection;
00037 
00038 /* idc - image data collection */
00039 int idc_new         ( image_data_collection    *data );
00040 int idc_readfile    ( const char               *filename, 
00041                       image_data_collection     data );
00042 int idc_print       ( image_data_collection     data );
00043 int idc_crop_resize ( image_data_collection     data );
00044 int idc_free        ( image_data_collection    *data );
00045 
00046 const char     *idc_get_dir     ( image_data_collection data );
00047 /* width height */
00048 uint32_t        idc_get_width   ( image_data_collection data );
00049 uint32_t        idc_get_height  ( image_data_collection data );
00050 
00051 uint32_t        idc_get_nsets   ( image_data_collection data );
00052 image_data_set  idc_get_set     ( image_data_collection data,
00053                                   uint32_t index );
00054 uint32_t        idc_get_ntags   ( image_data_collection data );
00055 char          **idc_get_tags    ( image_data_collection data ); 
00056 
00057 /* ids - image data set */
00058 const char *ids_get_filedir     ( image_data_set data_set );
00059 const char *ids_get_fileprefix  ( image_data_set data_set );
00060 const char *ids_get_filetype    ( image_data_set data_set );
00061 int         ids_get_filename    ( image_data_set data_set,
00062                                   uint32_t       fileid,
00063                                   char         **filename );
00064 uint32_t    ids_get_nfiles      ( image_data_set data_set );
00065 uint32_t    ids_get_width       ( image_data_set data_set );
00066 uint32_t    ids_get_height      ( image_data_set data_set );
00067 float       ids_get_ratio       ( image_data_set data_set );
00068 uint32_t    ids_get_ntags       ( image_data_set data_set );
00069 char      **ids_get_tags        ( image_data_set data_set );
00070 uint32_t   *ids_get_tag_ids     ( image_data_set data_set );
00071 
00072 int         ids_get_crop_coords ( image_data_set data_set,
00073                                   uint32_t *x1,
00074                                   uint32_t *y1,
00075                                   uint32_t *x2,
00076                                   uint32_t *y2 );
00077 int         ids_get_hsv_adjust  ( image_data_set data_set,
00078                                   int32_t *h,
00079                                   int32_t *s,
00080                                   int32_t *v );
00081 
00082 
00083 #ifdef __cplusplus
00084 }
00085 #endif
00086 
00087 #endif /* #ifndef IMAGE_COLLECTION_H */




Copyright (C) 2002 - 2007 Philip D.S. Thoren ( pthoren@users.sourceforge.net )
University Of Massachusetts at Lowell
Robotics Lab
SourceForge.net Logo

Generated on Sat Jun 16 02:44:06 2007 for phission by  doxygen 1.4.4