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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? deinterlacing.m

?? 去隔行處理的matlab源程序
?? M
?? 第 1 頁 / 共 3 頁
字號:
function varargout = Deinterlacing(varargin)

% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...
    'gui_Singleton',  gui_Singleton, ...
    'gui_OpeningFcn', @Deinterlacing_OpeningFcn, ...
    'gui_OutputFcn',  @Deinterlacing_OutputFcn, ...
    'gui_LayoutFcn',  [] , ...
    'gui_Callback',   []);
if nargin && ischar(varargin{1})
    gui_State.gui_Callback = str2func(varargin{1});
end

if nargout
    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
    gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT

% --- Executes just before Deinterlacing is made visible.
function Deinterlacing_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% varargin   command line arguments to Deinterlacing (see VARARGIN)
%plot(mov,mov)
% Choose default command line output for Deinterlacing
handles.output = hObject;
handles.pop = 0;
handles.x = 1;
handles.y = 1;
handles.w = 1;
handles.h = 1;

% Update handles structure
guidata(hObject, handles);

% UIWAIT makes Deinterlacing wait for user response (see UIRESUME)
% uiwait(handles.figure1);


% --- Outputs from this function are returned to the command line.
function varargout = Deinterlacing_OutputFcn(hObject, eventdata, handles)
% varargout  cell array for returning output args (see VARARGOUT);
% hObject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Get default command line output from handles structure
varargout{1} = handles.output;



% --- Executes on slider movement.
function slider1_Callback(hObject, eventdata, handles)
% hObject    handle to slider1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'Value') returns position of slider
%        get(hObject,'Min') and get(hObject,'Max') to determine range of slider
sv = get(handles.slider1,'Value');
handles.n=round(sv*max(size(handles.mov)));
if handles.n ==0, handles.n=1,end
set(handles.Frame_NO,'String',handles.n);
axes(handles.axes1);
[I,Map] = frame2im(handles.mov(1,handles.n));
image(I)
axes(handles.axes1)
rectangle('Position',[handles.x,handles.y,handles.w,handles.h],'Curvature',[0.2,0.2],'EdgeColor','r')
guidata(hObject, handles);

% --- Executes during object creation, after setting all properties.
function slider1_CreateFcn(hObject, eventdata, handles)
% hObject    handle to slider1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: slider controls usually have a light gray background.
if isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor',[.9 .9 .9]);
end




% --- Executes during object creation, after setting all properties.
function edit4_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit4 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end



function edit5_Callback(hObject, eventdata, handles)
% hObject    handle to edit5 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: get(hObject,'String') returns contents of edit5 as text
%        str2double(get(hObject,'String')) returns contents of edit5 as a double

% --- Executes on selection change in popupmenu1.
function popupmenu1_Callback(hObject, eventdata, handles)
% hObject    handle to popupmenu1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
%        contents{get(hObject,'Value')} returns selected item from popupmenu1
val = get(handles.popupmenu1,'Value');
switch val
    case 1
        handles.pop = 1;
    case {2,3}
        handles.pop = 2;
        disp('In the second image select an area that cover your previous selected area of first image')
        disp('----------------------------------------------------------------------------------------')
        set(Deinterlacing,'Pointer','fullcrosshair')
        k = waitforbuttonpress;
        point1 = get(gca,'CurrentPoint');    % button down detected
        finalRect = rbbox;                   % return figure units
        point2 = get(gca,'CurrentPoint');    % button up detected
        point1 = point1(1,1:2);              % extract x and y
        point2 = point2(1,1:2);
        p1 = min(point1,point2);             % calculate locations
        offset = abs(point1-point2);         % and dimensions
        set(Deinterlacing,'Pointer','arrow')
        x1 = fix(p1(1));
        y1 = fix(p1(2));
        x2 = fix(offset(1))+x1;
        y2 = fix(offset(2))+y1;
        [I,Map] = frame2im(handles.mov(1,1));
        s = size(I)
        if y2>s(1), y2=s(1), end;
        if x2>s(2), x2=s(2), end;

        axes(handles.axes1)
        rectangle('Position',[x1,y1,x2-x1,y2-y1],'Curvature',[0.2,0.2],'EdgeColor','r')
        handles.x11 = x1;
        handles.y11 = y1;
        handles.x21 = x2;
        handles.y21 = y2;

        guidata(hObject, handles);

        %     case 3
        %         handles.pop = 3;
        %         k = waitforbuttonpress;
        %         point1 = get(gca,'CurrentPoint');    % button down detected
        %         finalRect = rbbox;                   % return figure units
        %         point2 = get(gca,'CurrentPoint');    % button up detected
        %         point1 = point1(1,1:2);              % extract x and y
        %         point2 = point2(1,1:2);
        %         p1 = min(point1,point2);             % calculate locations
        %         offset = abs(point1-point2);         % and dimensions
        %         x1 = fix(p1(1));
        %         y1 = fix(p1(2));
        %         x2 = fix(offset(1))+x1;
        %         y2 = fix(offset(2))+y1;
        %         [I,Map] = frame2im(handles.mov(1,1));
        %         s = size(I)
        %         if y2>s(1), y2=s(1), end;
        %         if x2>s(2), x2=s(2), end;
        %
        %         axes(handles.axes1)
        %         rectangle('Position',[x1,y1,x2-x1,y2-y1],'Curvature',[0.2,0.2],'EdgeColor','r')
        %         handles.x11 = x1;
        %         handles.y11 = y1;
        %         handles.x21 = x2;
        %         handles.y21 = y2;
        %
        %         guidata(hObject, handles);
        %
    case 4
        handles.pop = 4;
        set(Deinterlacing,'Pointer','fullcrosshair')
        k = waitforbuttonpress;
        point1 = get(gca,'CurrentPoint');    % button down detected
        finalRect = rbbox;                   % return figure units
        point2 = get(gca,'CurrentPoint');    % button up detected
        point1 = point1(1,1:2);              % extract x and y
        point2 = point2(1,1:2);
        p1 = min(point1,point2);             % calculate locations
        offset = abs(point1-point2);         % and dimensions
        set(Deinterlacing,'Pointer','arrow')
        x1 = fix(p1(1));
        y1 = fix(p1(2));
        x2 = fix(offset(1))+x1;
        y2 = fix(offset(2))+y1;
        [I,Map] = frame2im(handles.mov(1,1));
        s = size(I)
        if y2>s(1), y2=s(1), end;
        if x2>s(2), x2=s(2), end;

        axes(handles.axes1)
        rectangle('Position',[x1,y1,x2-x1,y2-y1],'Curvature',[0.2,0.2],'EdgeColor','r')
        handles.x11 = x1;
        handles.y11 = y1;
        handles.x21 = x2;
        handles.y21 = y2;
        %***********************
        k = waitforbuttonpress;
        point1 = get(gca,'CurrentPoint');    % button down detected
        finalRect = rbbox;                   % return figure units
        point2 = get(gca,'CurrentPoint');    % button up detected
        point1 = point1(1,1:2);              % extract x and y
        point2 = point2(1,1:2);
        p1 = min(point1,point2);             % calculate locations
        offset = abs(point1-point2);         % and dimensions
        x1 = fix(p1(1));
        y1 = fix(p1(2));
        x2 = fix(offset(1))+x1;
        y2 = fix(offset(2))+y1;
        [I,Map] = frame2im(handles.mov(1,1));
        s = size(I)
        if y2>s(1), y2=s(1), end;
        if x2>s(2), x2=s(2), end;

        axes(handles.axes1)
        rectangle('Position',[x1,y1,x2-x1,y2-y1],'Curvature',[0.2,0.2],'EdgeColor','r')
        handles.x12 = x1;
        handles.y12 = y1;
        handles.x22 = x2;
        handles.y22 = y2;
        %**************************
        k = waitforbuttonpress;
        point1 = get(gca,'CurrentPoint');    % button down detected
        finalRect = rbbox;                   % return figure units
        point2 = get(gca,'CurrentPoint');    % button up detected
        point1 = point1(1,1:2);              % extract x and y
        point2 = point2(1,1:2);
        p1 = min(point1,point2);             % calculate locations
        offset = abs(point1-point2);         % and dimensions
        x1 = fix(p1(1));
        y1 = fix(p1(2));
        x2 = fix(offset(1))+x1;
        y2 = fix(offset(2))+y1;
        [I,Map] = frame2im(handles.mov(1,1));
        s = size(I)
        if y2>s(1), y2=s(1), end;
        if x2>s(2), x2=s(2), end;

        axes(handles.axes1)
        rectangle('Position',[x1,y1,x2-x1,y2-y1],'Curvature',[0.2,0.2],'EdgeColor','r')
        handles.x13 = x1;
        handles.y13 = y1;
        handles.x23 = x2;
        handles.y23 = y2;
        guidata(hObject, handles);


end
clc
popup = handles.pop
guidata(hObject, handles);

% --- Executes during object creation, after setting all properties.
function popupmenu1_CreateFcn(hObject, eventdata, handles)
% hObject    handle to popupmenu1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    empty - handles not created until after all CreateFcns called

% Hint: popupmenu controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
    set(hObject,'BackgroundColor','white');
end


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
九色porny丨国产精品| 国产女人aaa级久久久级| av一本久道久久综合久久鬼色| 免费观看日韩电影| 美洲天堂一区二卡三卡四卡视频| 亚洲国产成人va在线观看天堂| 亚洲精品视频自拍| 一区二区三区在线影院| 又紧又大又爽精品一区二区| 一区二区三区中文字幕电影| 亚洲国产成人高清精品| 丝袜诱惑制服诱惑色一区在线观看| 亚洲一区二区三区爽爽爽爽爽| 亚洲最大色网站| 日韩av一二三| 国产麻豆精品久久一二三| 国产一区二区三区久久久| 国产91高潮流白浆在线麻豆| 成人福利视频网站| 欧洲在线/亚洲| 欧美一区二区三区性视频| 亚洲精品在线免费播放| 国产精品国产三级国产有无不卡 | 亚洲色欲色欲www| 伊人性伊人情综合网| 肉色丝袜一区二区| 国产美女久久久久| 97久久超碰国产精品电影| 欧美日韩中文一区| 日韩一级免费一区| 国产精品人成在线观看免费| 亚洲高清在线精品| 精品一区二区精品| 97精品国产露脸对白| 欧美一区二区三区精品| 国产色婷婷亚洲99精品小说| 国产精品久久久一本精品| 亚洲国产日韩a在线播放性色| 日本视频中文字幕一区二区三区 | 国产精品美女一区二区三区 | 久久精品在线免费观看| 亚洲视频狠狠干| 久久99热99| 色国产综合视频| 国产清纯白嫩初高生在线观看91| 香蕉久久一区二区不卡无毒影院 | 欧美日韩免费观看一区二区三区| 精品人在线二区三区| 亚洲精品乱码久久久久| 国产九九视频一区二区三区| 欧美体内she精高潮| 国产精品传媒入口麻豆| 国产麻豆日韩欧美久久| 欧美一区二区私人影院日本| 亚洲久草在线视频| 国产大陆亚洲精品国产| 欧美岛国在线观看| 亚洲国产cao| 欧美视频你懂的| 亚洲精品久久嫩草网站秘色| 粗大黑人巨茎大战欧美成人| 欧美va在线播放| 日韩一区精品字幕| 欧美另类videos死尸| 亚洲美腿欧美偷拍| 欧美国产综合一区二区| 久久精品国产精品亚洲综合| 欧美日韩第一区日日骚| 有坂深雪av一区二区精品| 91啪在线观看| 亚洲男人天堂av| 一本久道久久综合中文字幕| 日韩理论片一区二区| 成人动漫在线一区| 中文字幕中文字幕一区二区| 国产传媒日韩欧美成人| 国产欧美一区二区三区在线看蜜臀 | 粗大黑人巨茎大战欧美成人| 久久久久久久久久久黄色| 国产精品自产自拍| 国产蜜臀97一区二区三区| 国产露脸91国语对白| 久久一区二区三区四区| 国产不卡视频一区| 国产精品国产三级国产三级人妇 | 国产亚洲综合在线| 丁香桃色午夜亚洲一区二区三区| 国产欧美va欧美不卡在线| 风间由美一区二区三区在线观看| 久久精品亚洲精品国产欧美kt∨| 成人午夜精品一区二区三区| 国产精品久久久久久久久免费相片| 成人久久18免费网站麻豆 | 日韩欧美亚洲一区二区| 国内精品自线一区二区三区视频| 久久久久久久久久久久久久久99 | 91国偷自产一区二区开放时间 | 久久亚洲免费视频| 福利电影一区二区| 一区二区三区高清在线| 欧美一区二区三区四区在线观看| 国产做a爰片久久毛片| 国产欧美一区二区三区鸳鸯浴| 99精品视频一区二区| 日韩在线a电影| 国产精品欧美一级免费| 欧美日韩免费一区二区三区| 国产在线精品视频| 亚洲一区二区三区四区在线免费观看 | 欧美日韩一区二区三区四区五区 | 日韩欧美一区二区视频| 国产高清精品久久久久| 午夜精品久久久久久久99樱桃| 精品国产百合女同互慰| 在线视频一区二区免费| 国产精一区二区三区| 亚洲国产aⅴ天堂久久| 国产亚洲人成网站| 欧美日本精品一区二区三区| 成人小视频在线观看| 婷婷亚洲久悠悠色悠在线播放| 国产欧美一区二区三区鸳鸯浴| 欧美嫩在线观看| 91玉足脚交白嫩脚丫在线播放| 九九热在线视频观看这里只有精品| 国产精品国产精品国产专区不片 | 99re成人精品视频| 激情都市一区二区| 三级一区在线视频先锋| 一区二区三区四区在线| 久久精品视频网| 日韩欧美一级二级三级| 欧美日韩精品二区第二页| 成人白浆超碰人人人人| 国产一区二区三区不卡在线观看| 亚洲成人自拍网| 亚洲综合在线视频| 综合久久一区二区三区| 国产欧美精品一区二区三区四区| 欧美一级搡bbbb搡bbbb| 欧美日韩一区二区三区在线| 91久久精品一区二区| 99在线热播精品免费| 粉嫩av亚洲一区二区图片| 国产一区二区三区不卡在线观看| 久久福利视频一区二区| 日韩二区三区四区| 五月婷婷欧美视频| 婷婷综合久久一区二区三区| 亚洲第一福利视频在线| 洋洋av久久久久久久一区| 一区二区三区欧美日韩| 亚洲精品国产一区二区三区四区在线| 国产精品女人毛片| 国产精品家庭影院| 亚洲欧美偷拍三级| 亚洲激情六月丁香| 亚洲国产三级在线| 免费一级片91| 久久精品国产一区二区| 狠狠狠色丁香婷婷综合激情| 国产麻豆精品视频| 成人爽a毛片一区二区免费| 成人免费视频国产在线观看| 国产一区二区免费看| 国产成人亚洲精品狼色在线| 成人免费毛片a| 日本国产一区二区| 91精品国产综合久久久蜜臀图片| 欧美自拍偷拍午夜视频| 7799精品视频| 精品久久国产老人久久综合| 久久综合色播五月| 国产三级三级三级精品8ⅰ区| 中文字幕不卡三区| ...av二区三区久久精品| 一区二区三区不卡视频| 亚洲午夜在线视频| 日韩电影在线观看网站| 久久国产精品72免费观看| 国产成人亚洲综合a∨婷婷| 一本大道久久a久久综合| 欧美在线不卡视频| 欧美精品1区2区3区| 国产无人区一区二区三区| 一区二区久久久| 国产在线不卡一区| 色美美综合视频| 欧美精品一区二区久久婷婷| 亚洲日本在线天堂| 亚洲欧美日韩国产综合在线| 国产在线一区二区| 成人午夜在线播放| 欧美性大战xxxxx久久久| 精品久久久久久无| 亚洲视频电影在线| 韩国一区二区三区| 欧美美女一区二区| 国产精品久久久久久亚洲伦| 美女国产一区二区三区|