原帖由 juliyo 于 2008-4-16 20:29 发表
为什么imcontour在matlab中无法调用?请高手指教!
>> help imcontour
IMCONTOUR Create contour plot of image data.
IMCONTOUR(I) draws a contour plot of the intensity image I,
automatically setting up the axes so their orientation and aspect
ratio match the image.
IMCONTOUR(I,N) draws a contour plot of the intensity image I,
automatically setting up the axes so their orientation and
aspect ratio match the image. N is the number of equally
spaced contour levels in the plot; if you omit the argument,
the number of levels and the values of the levels are chosen
automatically.
IMCONTOUR(I,V) draws a contour plot of I with contour lines
at the data values specified in vector V. The number of
contour levels is equal to length(V).
IMCONTOUR(X,Y,...) uses the vectors X and Y to specify the x-
and y-axis limits.
IMCONTOUR(...,LINESPEC) draws the contours using the line
type and color specified by LINESPEC. Marker symbols are
ignored.
[C,H] = IMCONTOUR(...) returns the contour matrix C and a vector of
handles to the objects in the plot. (The objects are actually patches, and
the lines are the edges of the patches.) You can use the CLABEL function
with the contour matrix C to add contour labels to the plot.
Class Support
-------------
The input image can be uint8, uint16, int16, double, single, or logical.
Example
-------
I = imread('circuit.tif');
imcontour(I,3)
See also clabel, contour.
建议清楚描述你的问题 |