Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

Topic: Matlab-histogram and read pic
Replies: 4   Last Post: Aug 6, 2013 11:57 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
asif khan

Posts: 16
Registered: 6/24/13
Re: Matlab-histogram and read pic
Posted: Aug 6, 2013 7:03 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Tuesday, August 6, 2013 1:04:15 PM UTC+5:30, Sajedeh Morabbi wrote:
> Hello all
>
> I have a sample question
>
>
>
> For ex you read a pic with imread after that imread return its output to the
>
> Img_Data variable then you use this code
>
> Img_Data=Img_Data(:,:,1);
>
>
>
> What's the meaning of (:,:,1) and can help me about ':' what's the meaning of ':'?
>
>
>
> About get RGB histogram plz get some tips to me with sample code.
>
>
>
> Thanks all


(:,:,1) means...
first semicolon(:) means all rows.
second semicolon (:) means all columns.
and 1 means first plane, ie, out of RGB, R.



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.