conference

http://www.icsps.org/date.htm

http://iceesp.ieee-conference.org/submission.html

 

http://iceesp.ieee-conference.org/index.htm

 


int current_center_x,current_center_y;
int sz;
int get_value_slope_one(int p_x,int p_y){
 int filling_x = current_center_x  + p_x;
 int filling_y = current_center_y + p_y;
 
 color.rgb;
 counts;
 for (int i=-sz;i<= sz; i++)
  for (int j=-sz;j<= sz; j++){
   int total.rgb;
   if  (TIMAGE(*filling)(current_center_x+i,current_center_y+j)==false) continue;
   for (int k=0;k<best_sample;k++){
    int sub_x = best_center[k].x+i;
    int sub_y = best_center[k].y+j;
    int val.r = TIMAGE(*image)(best_center[k].x+p_x,best_center[k].y+p_y).r - TIMAGE(*image)(best_center[k].x+i,best_center[k].y+j).r;
    g.. b..
     int val.r = val.r * best_sample_alpha[k];
     int val.g ... b ..
     total.r += val.r;......
   } 
   color.r+= TIMAGE(*image)(current_center_x+i,current_center_x+j).r + total.r;
   counts++;
  }
 color.r = color.r/counts;
 .....
 // filling
}

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章