Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: Expecting an image instead of image...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96786] Re: Expecting an image instead of image...
  • From: "alexxx.magni at gmail.com" <alexxx.magni at gmail.com>
  • Date: Wed, 25 Feb 2009 04:01:22 -0500 (EST)
  • References: <gnm1k4$hcm$1@smc.vnet.net> <go0j26$mun$1@smc.vnet.net>

I swear that I wasnt working in the doc center! (bad habit, I think...)
yet by replicating everything in a new notebook worked OK, so I had to
make some mistake...
didnt know about the different environments though - good to know!

Thank you


alessandro


On 24 Feb, 11:44, "Sjoerd C. de Vries" <sjoerd.c.devr... at gmail.com>
wrote:
> 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
> message.
>
> Cheers -- Sjoerd
>
> On Feb 20, 12:45 pm, "alexxx.ma... at gmail.com" <alexxx.ma... at gmail.com>
> wrote:
>
> > 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: Re: question related to (-1)^(1/3)
  • Next by Date: Series of Percentage Changes
  • Previous by thread: Re: Expecting an image instead of image...
  • Next by thread: Dynamic Module with Trigger