freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

最新畢業(yè)論文基于matlab的人臉識別系統(tǒng)設(shè)計與仿真含matlab源程序-資料下載頁

2025-06-22 07:52本頁面
  

【正文】 end end end K = K + 1。 end end [r c] = size(train_hist_img)。sum = 0。for i=1:1:c K = 1。 for j=1:1:r if( (mod(j,bin_num)) == 0 ) sum = sum + train_hist_img(j,i)。 train_processed_bin(K,i) = sum/bin_num。 K = K + 1。 sum = 0。 else sum = sum + train_hist_img(j,i)。 end end train_processed_bin(K,i) = sum/bin_num。end display (39。Training Done39。)save 39。train39。 train_processed_bin。 %% Executes on button press in Testing_button. function Testing_button_Callback(hObject, eventdata, handles)global train_img max_hist_level bin_num form_bin_num。global train_processed_bin。global filename pathname I load 39。train39。test_hist_img(max_hist_level) = 0。test_processed_bin(form_bin_num) = 0。 [rows cols] = size(I)。 for i=1:1:rows for j=1:1:cols if( I(i,j) == 0 ) test_hist_img(max_hist_level) = test_hist_img(max_hist_level) + 1。 else test_hist_img(I(i,j)) = test_hist_img(I(i,j)) + 1。 end end end [r c] = size(test_hist_img)。 sum = 0。 K = 1。 for j=1:1:c if( (mod(j,bin_num)) == 0 ) sum = sum + test_hist_img(j)。 test_processed_bin(K) = sum/bin_num。 K = K + 1。 sum = 0。 else sum = sum + test_hist_img(j)。 end end test_processed_bin(K) = sum/bin_num。 sum = 0。K = 1。 for y=1:1:train_img for z=1:1:form_bin_num sum = sum + abs( test_processed_bin(z) train_processed_bin(z,y) )。 end img_bin_hist_sum(K,1) = sum。 sum = 0。 K = K + 1。 end [temp M] = min(img_bin_hist_sum)。 M = ceil(M/5)。 getString_start=strfind(pathname,39。S39。)。 getString_start=getString_start(end)+1。 getString_end=strfind(pathname,39。\39。)。 getString_end=getString_end(end)1。 subjectindex=str2num(pathname(getString_start:getString_end))。 if (subjectindex == M) axes () %image no: 5 is shown for visualization purpose imshow(imread(STRCAT(39。ORL\S39。,num2str(M),39。\39。))) msgbox ( 39。Correctly Recognized39。)。 else display ([ 39。Error== Testing Image of Subject 39。 num2str(subjectindex) 39。 matches with the image of subject 39。 num2str(M)]) axes () %image no: 5 is shown for visualization purpose imshow(imread(STRCAT(39。ORL\S39。,num2str(M),39。\39。))) msgbox ( 39。Incorrectly Recognized39。)。 end display(39。Testing Done39。)%function box_Callback(hObject, eventdata, handles)function box_CreateF(hObject, eventdata, handles)if ispc amp。amp。 isequal(get(hObject,39。BackgroundColor39。), get(0,39。defaultUicontrolBackgroundColor39。)) set(hObject,39。BackgroundColor39。,39。white39。)。end%% Executes on button press in Input_Image_button.function Input_Image_button_Callback(hObject, eventdata, handles)% hObject handle to Input_Image_button (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)global filename pathname I[filename, pathname] = uigetfile(39。*.bmp39。, 39。Test Image39。)。axes()imgpath=STRCAT(pathname,filename)。 I = imread(imgpath)。imshow(I) %% Executes during object creation, after setting all properties.function axes3_CreateF(hObject, eventdata, handles)42
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1