Ask Your Question
0

how to fill large area while thresholding

asked 2018-07-02 00:46:11 -0600

gowsith123 gravatar image

updated 2018-07-02 01:01:56 -0600

LBerger gravatar image

C:\fakepath\lumen-intima1.jpg

I want the image to be

C:\fakepath\lumen-intima1.jpg

how to obtain this?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-07-02 03:53:30 -0600

LBerger gravatar image

You can use opening with a rectangle kernel of size 3 and iterate (4 for posted image)

First image original

Second image result

third image difference between original and result : some pixels are lost

image description

edit flag offensive delete link more

Comments

Thank you for your reply but how to do using python coding

gowsith123 gravatar imagegowsith123 ( 2018-07-02 05:25:12 -0600 )edit
LBerger gravatar imageLBerger ( 2018-07-02 06:06:14 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-07-02 00:46:11 -0600

Seen: 137 times

Last updated: Jul 02 '18