The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: image show
Replies: 2   Last Post: Apr 28, 2010 1:13 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
uny gg

Posts: 45
Registered: 8/4/09
image show
Posted: Apr 28, 2010 12:15 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I did image clustering.. within image itself.

I applied the following procedure until Step 4 in my images.

Using this " imshow(pixel_labels,[]), title('image labeled by cluster index');" command,
I can see the bw image based on its clustered index. For example K = 3, there will be three index values. If K=6, there will be six index values.

My question is that is there any way to see this image as a color picture.
I mean if K=3, currently, it shows that K=1, almost black, if K=2 then grey, if K=3 then white.. something like this.

But is it possible to show for example, when K=1, red, if k=2, blue, if K=3 green, etc..

So, I would like to see as a color clustered index image instead of bw image.
I tried to do it by changing the value in [].. but, it doesn't work for me.
Anybody knows this?


Date Subject Author
Read image show
uny gg
Read Re: image show
uny gg
Read Re: image show
alistair templeton

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.