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 1: | Line 1: | ||
=API CALLS= | =API CALLS= | ||
==Cropping(Group1)== | ==Cropping(Group1)== | ||
− | + | *for bwrect, pixrect | |
− | + | void | |
− | * | + | icv_rect(icv_image_file_t *img, |
− | * | + | icv_image_file_t *img_out, |
− | * | + | icv_point_t *area, |
− | * | + | icv_point_t *orig); |
− | + | *for bwcrop | |
− | + | void | |
− | + | icv_crop(icv_image_file_t *img, | |
− | + | icv_image_file_t *img_out, | |
− | + | icv_size_t *outsize, | |
− | + | icv_point_t *p1, | |
− | + | icv_point_t *p2, | |
− | + | icv_point_t *p3, | |
− | + | icv_point_t *p4); | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Operations (Group2)== | ==Operations (Group2)== | ||
+ | *for bwdiff, pixdiff | ||
+ | void | ||
+ | icv_oper2(icv_image_file_t* img1, | ||
+ | icv_image_file_t* img2, | ||
+ | icv_image_file_t *img_out, | ||
+ | icv_operation *opr) | ||
− | + | *for bwmod | |
− | + | void | |
− | + | icv_oper1(icv_image_file* img, | |
− | + | icv_image_file_t *img_out, | |
− | + | icv_operation_t *oper[], | |
− | + | int numop); | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | *for Pixsaturate | |
− | + | void | |
− | + | icv_saturate(icv_image_file_t *img, | |
− | + | icv_image_file_t *img_out, | |
− | + | double saturation); | |
− | |||
− | |||
− | icv_saturate( | ||
− | |||
− | |||
==Filters (Group3)== | ==Filters (Group3)== | ||
− | + | *for bwfilter, pixfilter, pix3filter, pixfade | |
− | + | void | |
− | + | icv_filter(icv_image_file_t *img, | |
− | + | icv_image_file_t *img_out, | |
− | + | int kernel); | |
− | |||
− | |||
− | |||
− | icv_filter( | ||
− | |||
− | |||
==Histogram (Group4)== | ==Histogram (Group4)== | ||
− | + | *for bwhist, pixhist | |
− | + | void | |
− | + | icv_hist(icv_image_file_t *img, | |
− | + | long *bin1, | |
− | + | long *bin2, | |
− | + | long *bin3); | |
− | |||
− | |||
− | |||
− | icv_hist( | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | *for bwhisteq | |
− | icv_histeq( | + | void icv_histeq(icv_image_file_t *img, |
− | icv_imgage_file_t * | + | icv_imgage_file_t *out); |
==Scale (Group5)== | ==Scale (Group5)== | ||
− | + | *for bwscale, pixscale | |
− | + | void icv_histeq(icv_image_file_t *img, | |
− | + | icv_image_file_t *img_out, | |
− | + | icv_size_t *size, | |
− | + | int method); | |
− | + | *for bwshrink, pixshrink | |
− | + | void icv_shrink(icv_image_file_t *img, | |
− | + | icv_image_file_t* img_out, | |
− | + | icv_size_t *size, | |
− | + | int factor, | |
− | + | int method); | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | icv_shrink( | ||
− | |||
− | |||
− | |||
==Stats (Group6)== | ==Stats (Group6)== | ||
− | + | *for imgdims, pixcount | |
Not useful | Not useful | ||
− | + | *for pixstat, bwstat | |
− | + | void icv_stat(icv_image_file_t *img, | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | icv_stat( | ||
icv_stat_t *stat1, | icv_stat_t *stat1, | ||
icv_stat_t *stat2, | icv_stat_t *stat2, | ||
icv_stat_t *stat3); | icv_stat_t *stat3); | ||
− | + | *for pixcolors | |
− | + | void icv_colors(icv_image_file_t *img) | |
− | |||
− | icv_colors( | ||
/* Prints all the colors */ | /* Prints all the colors */ | ||
==Threshold (Group7)== | ==Threshold (Group7)== | ||
− | + | *for bwthresh | |
− | + | void icv_threshold(icv_image_file_t *img, | |
− | + | icv_image_file_t *img_out, | |
− | + | unsigned char *val, | |
− | + | int num_thresh); | |
− | + | *for pixclump | |
− | + | void icv_clump() | |
− | |||
− | icv_threshold( | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | icv_clump() | ||
/* Need Suggestions */ | /* Need Suggestions */ | ||
− | == Interpolate (Group8) == | + | ==Interpolate(Group8)== |
− | + | *for pixinterep2x | |
− | + | void icv_interep2x(icv_image_file_t *img, | |
− | + | icv_image_file_t *img_out); | |
− | + | *for pixhalve | |
− | + | void icv_halve(icv_image_file_t *img, | |
− | + | icv_image_file_t *img_out | |
− | icv_interep2x( | + | int autosize ); |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | icv_halve( | ||
− | |||
=Structure= | =Structure= |