From: gavishna shah on 10 Jun 2010 18:06 Walter Roberson <roberson(a)hushmail.com> wrote in message <hurmul$341$1(a)canopus.cc.umanitoba.ca>... > gavishna shah wrote: > > "gavishna shah" <gavishna(a)yahoo.co.in> wrote in message > > <hurj40$p1v$1(a)fred.mathworks.com>... > > >> 2. i want to convert it into an array of pixels(16 bits) so that i can > >> convert it into binary 1's and 0's fo further manipulation. A two > >> dimension array wud be preferred as in C wherein first dimension > >> contains each element of the array and second dimension specifies the > >> length which in this case is 16 bits. > > > Thank you. But it would be better if you can provide an example to show > > actually how i wud convert the image into an array of binary numbers > > after imread operation. > > Better? In what sense?? > > You indicate you are new to Matlab; you have to start learning how to read the > documentation and putting things together for yourself. If we show you all the > details, what you will learn is how to mooch off of other people rather than > how to help yourself. > > Read through the documentation for the four commands I listed. One of them > converts to binary. What kind of input does that command need? Does another of > the commands allow you to convert from what you have already to what you need > in order to convert to binary? If so, then experiment with putting the two > commands together. Thanx(a)Walter for the encouragement..
|
Pages: 1 Prev: binary image features Next: How to extract pixel values of a colored image into an arrayand |