📄 select.m
字号:
% Adam Kukucka% Zach Clay% Marcelo Molina % CSE 486 Project 3function [ cmin, cmax, rmin, rmax ] = select( I )%UNTITLED1 Summary of this function goes here% Detailed explanation goes here% for array... x is cols, y is rowsimage(I);k = waitforbuttonpress;point1 = get(gca,'CurrentPoint'); %mouse pressedrectregion = rbbox; point2 = get(gca,'CurrentPoint');point1 = point1(1,1:2); % extract col/row min and maxspoint2 = point2(1,1:2);lowerleft = min(point1, point2);upperright = max(point1, point2);cmin = round(lowerleft(1));cmax = round(upperright(1));rmin = round(lowerleft(2));rmax = round(upperright(2));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -