coordinates of all the pixels of binary image

Status
Not open for further replies.

shefsharma

Newbie level 3
Joined
Apr 23, 2011
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,296
i've a binary image and i want to know the coordinates of all the pixels.
've tries bwlabel,regionprops,bwboundaries ,[x, y]= find(bw)etc
but not getting any results.
kindly help.
 

I assume those are commands that do the same as 'GePixelValue' or 'GetPixelColor' or 'GetPixelRGB', etc.

* Did you open more than one window? Are you reading pixels in the active window?

* Is your code compatible with the screen bit depth you're handling (colors or B&W)?

* Are you storing values in compatible variables? Byte, integer, word, long integer, etc.?

* Does your program assign black to be 1 or -1? True or NOT(0)? Because NOT(0) is -1.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…