Code covered by the BSD License
-
myLabel(varargin)
myLabel - image sequencies labeling tool
-
Action
p = round(get(handles.Image_Axes,'CurrentPoint'));
-
Button_Released
stat('Button_Released')
-
Mouse_Moved
cursor.prev_x = cursor.x;
-
Update_Labels_Layer
-
change_label(old_label,new_la...
-
check_boundaries(x1, y1, x2, ...
check boundaries
-
cut_object(im,bbox,object_id,...
-
cut_slices(im, mask, object_i...
figure(2)
-
stat(s)
-
View all files
from
myLabel 0.04
by Nikolay Chumerin
Image labeling tool for Matlab.
|
| Mouse_Moved |
function Mouse_Moved
global cursor myhandles
p = round(get(myhandles.Image_Axes,'CurrentPoint'));
% cursor.prev_x = cursor.x;
% cursor.prev_y = cursor.y;
cursor.x = p(1);
cursor.y = p(3);
set(myhandles.brush,'Position',[cursor.x-cursor.size-.5 cursor.y-cursor.size-.5 2*cursor.size+1 2*cursor.size+1]);
if cursor.mb_pressed,
Action
end
|
|
Contact us at files@mathworks.com