Editing User:Level zero/GSOC13/api

From BRL-CAD

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 8: Line 8:
 
*''img_out'' is the output image.
 
*''img_out'' is the output image.
  
     int
+
     void
 
     icv_rect(const icv_image_t *img,
 
     icv_rect(const icv_image_t *img,
 
             const icv_point_t *area,
 
             const icv_point_t *area,
Line 22: Line 22:
 
*''img_out'' is the output image.
 
*''img_out'' is the output image.
  
     int
+
     void
 
     icv_crop(const icv_image_t *img,
 
     icv_crop(const icv_image_t *img,
 
             const icv_point_t *p1,
 
             const icv_point_t *p1,
Line 42: Line 42:
  
  
     int
+
     void
 
     icv_airth2(const icv_image_t* img1,
 
     icv_airth2(const icv_image_t* img1,
 
               const icv_image_t* img2,
 
               const icv_image_t* img2,
Line 56: Line 56:
 
*''img_out'' is the output image.
 
*''img_out'' is the output image.
  
     int
+
     void
 
     icv_airth1(icv_image_t* img,
 
     icv_airth1(icv_image_t* img,
 
               const icv_operation_t *oper[],   
 
               const icv_operation_t *oper[],   
Line 67: Line 67:
 
*''img_out'' is the output image.
 
*''img_out'' is the output image.
  
     int
+
     void
 
     icv_saturate(const icv_image_t *img,
 
     icv_saturate(const icv_image_t *img,
 
                 const double saturation,
 
                 const double saturation,
Line 80: Line 80:
 
*''img_out'' is the output image.
 
*''img_out'' is the output image.
  
     int
+
     void
 
     icv_filter(const icv_image_t *img,
 
     icv_filter(const icv_image_t *img,
 
               const icv_kernel_type_t kernel;
 
               const icv_kernel_type_t kernel;
Line 94: Line 94:
 
*For three channel image this is called with all the three output pointers, for bw image this is called with pointers only for first and others are left as NULL
 
*For three channel image this is called with all the three output pointers, for bw image this is called with pointers only for first and others are left as NULL
  
     int
+
     void
 
     icv_hist(const icv_image_t *img,
 
     icv_hist(const icv_image_t *img,
 
             const int bin,
 
             const int bin,
Line 106: Line 106:
 
*Calculates histogram equalization of the image
 
*Calculates histogram equalization of the image
  
     int
+
     void icv_histeq(const icv_image_t *img,
    icv_histeq(const icv_image_t *img,
 
 
                     icv_imgage_file_t *img_out);
 
                     icv_imgage_file_t *img_out);
  
Line 117: Line 116:
 
* ''method'' is the prescribed method     
 
* ''method'' is the prescribed method     
  
     int   
+
     void icv_scale(const icv_image_t *img,
    icv_scale(const icv_image_t *img,
 
 
                   const icv_size_t *outsize,
 
                   const icv_size_t *outsize,
 
                   const icv_scale_method_t method,
 
                   const icv_scale_method_t method,
Line 129: Line 127:
 
* ''method'' is the prescribed method.
 
* ''method'' is the prescribed method.
  
     int
+
     void icv_shrink(const icv_image_t *img,
    icv_shrink(const icv_image_t *img,
 
 
                     icv_image_t *img_out,
 
                     icv_image_t *img_out,
 
                     const int factor,
 
                     const int factor,
Line 144: Line 141:
 
* finds the image statistics  
 
* finds the image statistics  
  
     int
+
     void icv_stat(const icv_image_t *img,
    icv_stat(const icv_image_t *img,
 
 
                   icv_stat_t *stat1,  
 
                   icv_stat_t *stat1,  
 
                   icv_stat_t *stat2,   
 
                   icv_stat_t *stat2,   
Line 152: Line 148:
 
'''for pixcolors'''
 
'''for pixcolors'''
  
     int
+
     void icv_colors(icv_image_t *img)  
    icv_colors(icv_image_t *img)  
 
 
     /* Prints all the colors */     
 
     /* Prints all the colors */     
 
      
 
      
Line 165: Line 160:
 
* ''img_out'' is the output image
 
* ''img_out'' is the output image
  
     int
+
     void icv_threshold(const icv_image_t *img,
    icv_threshold(const icv_image_t *img,
 
 
                       icv_image_t *img_out,
 
                       icv_image_t *img_out,
 
                       const unsigned char *val,
 
                       const unsigned char *val,
Line 173: Line 167:
 
'''for pixclump'''
 
'''for pixclump'''
  
     int
+
     void icv_clump()
    icv_clump()
 
 
/* Need Suggestions */
 
/* Need Suggestions */
 
      
 
      
Line 183: Line 176:
 
*Interpolates the image two twice its resolution
 
*Interpolates the image two twice its resolution
  
     int
+
     void icv_interep2x(const icv_image_t *img,
    icv_interep2x(const icv_image_t *img,
 
 
                       icv_image_t *img_out);     
 
                       icv_image_t *img_out);     
  
Line 192: Line 184:
 
*Decimates the image
 
*Decimates the image
  
     int
+
     void icv_halve(const icv_image_t *img,
    icv_halve(const icv_image_t *img,
 
 
                   icv_image_t *img_out);
 
                   icv_image_t *img_out);
  

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)