![]() |
Microscopy Image Browser 2.91
MIB
|
CLIPEDGE Clip an edge with a rectangular box. More...
Functions | |
function edge2 = | clipEdge (edge, box) |
CLIPEDGE Clip an edge with a rectangular box. | |
CLIPEDGE Clip an edge with a rectangular box.
function edge2 = clipEdge | ( | edge, | |
box ) |
CLIPEDGE Clip an edge with a rectangular box.
EDGE2 = clipEdge(EDGE, BOX); EDGE: [x1 y1 x2 y2], BOX : [xmin xmax ymin ymax], or [xmin xmax ; ymin ymax].
If clipping is null, return [0 0 0 0];
if EDGE is a N-by-4 array, return an N-by-4 array, corresponding to each clipped edge.
References max.