MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Expecting an image instead of image...

  • To: mathgroup at
  • Subject: [mg96756] Re: Expecting an image instead of image...
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at>
  • Date: Tue, 24 Feb 2009 05:44:29 -0500 (EST)
  • References: <gnm1k4$hcm$>

This is probably because you were working in the documentation centre.
It seems that the doc text contains separate environments (indicated
by dotted lines) which don't share variable values. The variable a
that you assigned is in one part and the MorphologicalComponents[a]
part in the other. If I try it like this I get a similar error

Cheers -- Sjoerd

On Feb 20, 12:45 pm, " at" < at>
> how I love these error messages, so clear...
> I know it's more wysiwyg to copy&paste image icons on command lines,
> but I'm more used to do it the old way, also to remember where the
> image comes from...
> but I'm getting this funny message:
> a = Import["k0004b.tif"]
> <<image is displayed>>
> MorphologicalComponents[a]
> MorphologicalComponents::imginv:
> Expecting an image or graphics instead of Image[{{91,85...
> do you know what's happening here?
> alessandro

  • Prev by Date: Re: Re: question related to (-1)^(1/3)
  • Next by Date: Re: Abstract Symbolic Matrix operations in Mathematica
  • Previous by thread: Expecting an image instead of image...
  • Next by thread: Re: Expecting an image instead of image...