Click here to Skip to main content
15,443,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i am working on image processing project in that how can i display image by using only connected pixel.means only white pixel are present when i combine both images.
image1-<a href=""&"></a>
image2-<a href=""&"></a>
expected image=<a href=""&"></a>
when i connect two images at that time only connected white pixel are present in final image.(i.e unconnected white pixel are removed) how can i do that?
Updated 3-Dec-13 20:34pm
Sergey Alexandrovich Kryukov 4-Dec-13 2:55am     CRLF
Not clear at all. Could you click "Improve question" and explain it in detail? —SA
baliram9595 4-Dec-13 3:25am    
i want to delete other than rod parts.means i want to display only roads from that image my logic is i am divide image into two parts .reading last row of first image and first row of second image when i comparing two rows pixel if white pixel matching or identical we can find connected pixel to white due to that getting hole image in that only road is present and delete other white pixel who are not connected
Sergey Alexandrovich Kryukov 4-Dec-13 3:40am     CRLF
I still cannot understand your explanation... —SA
baliram9595 4-Dec-13 4:02am    
simply suggest me how can i getting connected pixel. suppose i give white pixel then want to find all white pixel with connected to first white pixel.
baliram9595 4-Dec-13 8:22am    
do u understand what i trying to do??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900