亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? processregion.m

?? 基于MATLAB的人臉檢測程序
?? M
字號:
%                                 processregion.m
%
%                     By: Henry Chang and Ulises Robles

% ---------------------------------------------------------------------
% Given a image with only one region on it, determine if this region
% suggests a face or not. If so, we return a rectangle coordinate that
% will be drawn to indicate a detected face. 
% Arguments: 
%    imsourcegray: the original image in grayscale.
%    bwsegment: the black and white image with the desired region on it
%    numholes: the number of black areas inside the region
%    frontalmodel: the grayscale image of our frontal face model
%
% ----------------------------------------------------------------------


function [RectCoord, imsourcegray] = processregion(imsourcegray, bwsegment, numholes, ...
				     frontalmodel)

  RectCoord = -1;
  % Get the size of the image
  [m n] = size(bwsegment);
   
  % Get the center of mass (energy) of the image
  [cx,cy]=center(bwsegment);
  
  % Fill the holes in the binary image
  bwnohole=bwfill(bwsegment,'holes');
  
  % To get just the probable face from the image
  justface = uint8(double(bwnohole) .* double(imsourcegray));
  
  % Get the angle of rotation
  angle = orient(bwsegment,cx,cy);
  
  % This is to compute the width and height of the region
  bw = imrotate(bwsegment, angle, 'bilinear');
  bw = bwfill(bw,'holes');
  [l,r,u,d] = recsize(bw);
  wx = (r - l +1);  % width
  ly = (d - u + 1); % height
  
  % Get the ration between the height (ly) and width(wx) of the region
  wratio = ly/wx   
 
  % To be used if we find regions that are very tall
  % Adjust the ratio by reducing the height of the region
    if (wratio > 1.6) 

      ly = floor(1.5 * wx);    % approx. computation of the new height
      
      % This is to eliminate the parts of the image that are cut 
      % after computing the new height of the region
      [l,r,u,d] = recsize(bwnohole);
      start = floor((u+ly)*cos(-angle*pi/180));
      for i=start:m,
         for j=1:n,  
           bwsegment(i,j) = 0;
         end
      end
      
      % Compute the coordinates of the center of the new region
      [cx,cy]=center(bwsegment);
      
      % Get the new ratio
      wratio = ly/wx;   
    end;
   
  
 % We will determine the cross-correlation value between the image region
 % that might indicate a face and the face model if the number of holes
 % is greater than one. The ratio > 0.8 condition avoids the problem of
 % dealing with regions that are too wide.
  
  if (numholes >=1  &  wratio >= 0.8) 
    [ccorr,mfit, RectCoord] = faceInfo(justface,frontalmodel,ly,wx, cx,cy, angle);
   else ccorr = 0;
  end;
   
  
 % ****************************************************************** 
 % Do the following only if we claim that we have found a face.
 % *****************************************************************

 % If we have holes, and the result of the cross-correlation above 1.6,
 % this is a face region.
 
 if (ccorr > 0.6 & numholes >= 1)  
   
   % Get an image with a black whole in the region where the face model
   % is. (Get the quantized version of the face model)
   mfitbw = (mfit >=1);
  
   % Flip the values of the image, so we can have white areas. This
   % areas will be multiplied by the original image. The remainding 
   % black "hole" is to be added by the face model.
   invbw = xor(mfitbw,ones(size(mfitbw)));
   
   % Multiply the above image by the original one
   source_with_hole = uint8(double(invbw) .* double(imsourcegray));
    
   % Add the rotated model face.
   
   % This image contains the original image part that is not the face
   % and the model face added.
   final_image = uint8(double(source_with_hole) + double(mfit));
   
   figure;
   imshow(final_image);
  
   imsourcegray = final_image;
 end;
 
 
 

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩一区二区三区四区五区六区 | 国产精品伦一区| 91亚洲午夜精品久久久久久| 午夜精品久久久久久久久久久 | 国产精品毛片大码女人| 欧美日韩一区二区三区在线看| 国内精品免费**视频| 亚洲一区二区三区三| 国产亚洲成av人在线观看导航| 欧美视频精品在线| 丁香啪啪综合成人亚洲小说| 日本不卡视频一二三区| 亚洲卡通欧美制服中文| 337p粉嫩大胆噜噜噜噜噜91av| 欧美色中文字幕| av午夜精品一区二区三区| 国内国产精品久久| 免费成人你懂的| 香蕉久久夜色精品国产使用方法 | 国精产品一区一区三区mba视频 | 18成人在线观看| 精品国偷自产国产一区| 欧美日韩国产成人在线91| 99久久er热在这里只有精品66| 久久国产综合精品| 亚洲成人激情社区| 亚洲一级二级三级| 亚洲欧美色图小说| 中文字幕亚洲精品在线观看| 国产亚洲制服色| 精品少妇一区二区三区日产乱码 | 亚洲精品久久嫩草网站秘色| 中文字幕欧美国产| 久久久久久免费| 精品久久免费看| 欧美一区二区三区免费大片| 欧美日韩视频在线第一区| 91久久国产最好的精华液| 不卡免费追剧大全电视剧网站| 国产高清久久久久| 成人永久aaa| 成人夜色视频网站在线观看| 国产精品羞羞答答xxdd| 国产高清亚洲一区| 风间由美一区二区av101| 国产成人午夜精品影院观看视频 | 亚洲综合偷拍欧美一区色| 日韩理论片网站| 亚洲日本在线天堂| 亚洲夂夂婷婷色拍ww47| 亚洲午夜精品一区二区三区他趣| 亚洲综合一区二区精品导航| 一区二区三区在线视频免费观看| 一区二区三区在线免费视频| 亚洲综合免费观看高清完整版在线| 一区二区三区欧美| 亚洲va在线va天堂| 麻豆专区一区二区三区四区五区| 九一久久久久久| 国产精品中文字幕欧美| 成人性生交大片| 色婷婷亚洲精品| 欧美精品丝袜中出| 久久色.com| 午夜电影一区二区三区| 美女视频免费一区| 国产福利一区二区三区视频 | 在线播放国产精品二区一二区四区| 精品视频999| 欧美成人猛片aaaaaaa| 久久蜜桃一区二区| 亚洲欧美在线aaa| 午夜激情一区二区三区| 国产乱对白刺激视频不卡| 成人毛片在线观看| 欧美日韩国产系列| 精品国产一区a| 亚洲女与黑人做爰| 日韩成人一区二区| 国产成人精品影院| 欧美视频在线观看一区二区| 欧美zozozo| 日韩毛片一二三区| 久久99热狠狠色一区二区| av中文字幕在线不卡| 欧美喷潮久久久xxxxx| 久久久美女毛片| 亚洲综合免费观看高清完整版 | 欧美极品美女视频| 亚洲图片有声小说| 国产精品资源网| 欧美日韩在线三级| 国产亚洲精品福利| 五月天激情综合网| www.欧美.com| 日韩欧美一级在线播放| 亚洲美女免费视频| 国内成人精品2018免费看| 久久精品一区二区三区av| 亚洲日本青草视频在线怡红院| 青青草国产成人99久久| 91丨九色丨尤物| 久久久蜜臀国产一区二区| 亚洲电影中文字幕在线观看| 风间由美一区二区三区在线观看 | 精品写真视频在线观看| 日本精品视频一区二区三区| 国产无遮挡一区二区三区毛片日本| 亚洲一区二区三区国产| 国产成人免费在线| 日韩欧美电影在线| 亚洲国产日韩a在线播放性色| 成人综合婷婷国产精品久久| 日韩精品一区二区在线观看| 亚洲妇熟xx妇色黄| 色综合视频在线观看| 国产欧美一区二区精品婷婷 | 日韩一级免费观看| 尤物av一区二区| 99久久99精品久久久久久| 久久精品一区二区三区四区| 蜜桃av一区二区三区电影| 欧美性欧美巨大黑白大战| 中文字幕一区二区三区乱码在线 | 欧美挠脚心视频网站| 亚洲精品日日夜夜| www.亚洲精品| 国产欧美精品国产国产专区 | 国产成人免费高清| 26uuu欧美| 精品写真视频在线观看| 日韩视频一区二区| 日韩精品欧美成人高清一区二区| 欧美视频一区二区三区四区 | 欧美在线一二三| 亚洲精选视频在线| 一本到不卡免费一区二区| 亚洲欧洲国产日韩| 一本色道**综合亚洲精品蜜桃冫| 国产精品成人免费| 91丨九色丨尤物| 亚洲午夜日本在线观看| 欧美亚洲动漫精品| 亚洲一区二区三区在线| 欧美精品久久天天躁| 婷婷成人激情在线网| 欧美一级日韩一级| 精品亚洲国内自在自线福利| 337p粉嫩大胆色噜噜噜噜亚洲| 国产剧情在线观看一区二区| 国产情人综合久久777777| 成人黄色国产精品网站大全在线免费观看| 国产欧美日韩综合精品一区二区| 国产成人一区二区精品非洲| 自拍偷在线精品自拍偷无码专区| 97se狠狠狠综合亚洲狠狠| 一区二区三区欧美久久| 在线电影院国产精品| 久久精品国产澳门| 国产日韩欧美电影| 91美女在线视频| 亚洲成人你懂的| 欧美电影免费观看完整版| 国产精品系列在线观看| 中文字幕中文字幕中文字幕亚洲无线 | 正在播放亚洲一区| 韩国av一区二区三区四区| 国产精品素人视频| 在线看不卡av| 久久精品国产久精国产| 国产精品国产三级国产普通话三级| 日本久久精品电影| 奇米精品一区二区三区在线观看| 久久欧美一区二区| 91黄视频在线观看| 久久精品国产色蜜蜜麻豆| 亚洲欧洲性图库| 欧美一区二区三区喷汁尤物| 国产凹凸在线观看一区二区| 一区二区三区高清不卡| 日韩一区和二区| 91在线无精精品入口| 青娱乐精品视频| 亚洲欧洲日韩av| 日韩一区二区三免费高清| 99久久婷婷国产精品综合| 三级一区在线视频先锋 | 欧美va亚洲va国产综合| www.性欧美| 久久99国产精品久久99| 亚洲女同一区二区| 欧美电视剧在线看免费| 成人久久18免费网站麻豆| 日韩av一区二区在线影视| 日韩一区在线播放| 精品国产91乱码一区二区三区 | 精品视频一区二区不卡| 国产91在线观看丝袜| 日本不卡一区二区三区| 亚洲视频在线一区观看|