1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Contour image in MATLAB

  1. May 3, 2008 #1
    I'm not sure why its doing this, but I am following the example in MATLAB help for Create contour plot of image data, which is

    I = imread('circuit.tif');

    But I am using a jpg image in place of the 'circuit.tif' (just a simple black image with white dots), and I am getting the follwoing error:

    ??? Function IMCONTOUR expected its first input, I, to be two-dimensional.

    Error in ==> imcontour>ParseInputs at 112
    iptcheckinput(a,{'uint8','int16','uint16','double','logical','single'}, ...

    Error in ==> imcontour at 44
    [x,y,a,extra_args] = ParseInputs(varargin{:});

    What does this mean?
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you help with the solution or looking for help too?
Draft saved Draft deleted

Similar Discussions: Contour image in MATLAB
  1. Matlab contour plot (Replies: 2)