See the imread help
CB
hello everyone
i have an image which contains 1's and 0's. i want to identify them somehow and then write them to an array. I figure out that it must have something to do with edge detection and bwmorph operations, but i am lost. Have you got any idea, how to do this? it 's the first time i 'm using matlab...
See the imread help
CB
i used this example
Example 2 - Analyzing Images :: Getting Started (Image Processing Toolbox™)
until the use of the function "bwconncomp" with connectivity parameter 8.
The result is a variable cc with NumObjects 27, which is the amount of all the numbers, both 0's and 1's.
Am I on the right way?
My problem is now how do i distinguish which objects is 0 and which is 1, and then count em, and then write the result to a text file.
<sorry for being a newbie but ive never used matlab before>
Hi again, i need a little help,
using the regionprops function i was able to get a lot of data for my numbers<"grains!;p">.
Using BoundingBox measurement, i have the topleft corner coordinates of each "number".
How can i compare these values so i can put the "numbers" in order?
I need this is so i can make an array of the characters and then put it into a text file.
(because after i used bwconncomp, the "numbers" are not in the right order.)
when we have used bwconncomp, we generate a list of items inside our image,
how can we arrange that list so the items are from top to bottom and left to right, something like reading?
ive used the regionprops function and probably it has something to do with the extrema option but i still cant figure it out, could you plz tell me?