extract edges from this image whitout lose the color of edges ?
extract edges from this image whitout lose the color of edges ?
How i could extract edge from this images without lose the color of edges
Please help me with this
Please help me with this
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: extract edges from this image whitout lose the color of edges ?
Your image is black and white. What color do you want. If black use -morphology edgein diamond:1. If white use -morphology edgeout diamond:1
Re: extract edges from this image whitout lose the color of edges ?
its not black and whit has various colors
Re: extract edges from this image whitout lose the color of edges ?
#340002
#340001
#340003
#340004
#340001
#340003
#340004
Re: extract edges from this image whitout lose the color of edges ?
I need all edges with this four color
Re: extract edges from this image whitout lose the color of edges ?
i dont know how I use lat filter but I obtain black and white
Re: extract edges from this image whitout lose the color of edges ?
seems like the same color but are differents
#340002
#340001
#340003
#340004
#340002
#340001
#340003
#340004
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: extract edges from this image whitout lose the color of edges ?
Use your edge image (black and white) as a mask to color the lines by -compose multiply with your original image
try
try
Code: Select all
convert ZrFne.png \
\( -clone 0 -morphology edge diamond:1 -threshold 0 \) \
-compose multiply -composite result.png
Re: extract edges from this image whitout lose the color of edges ?
how i could use the mask Im trying but i dont know how
I use this
I use this
Code: Select all
convert ZrFne.png -mask result.png -fuzz 70% -transparent black +mask zzlibre
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: extract edges from this image whitout lose the color of edges ?
What mask? Why are you using -mask? What is it you want to do? Please explain in more detail.
See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at viewtopic.php?f=1&t=9620 regarding asking intelligent questions.
See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at viewtopic.php?f=1&t=9620 regarding asking intelligent questions.
Re: extract edges from this image whitout lose the color of edges ?
this image have a four colors (ITS NOT BLACK AND WHITE )
Re: extract edges from this image whitout lose the color of edges ?
Please sorry for not explain well
Re: extract edges from this image whitout lose the color of edges ?
I see and another post that mask is not useful for extract edges
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: extract edges from this image whitout lose the color of edges ?
I still do not know what you want for a result, nor why you are trying to use result.png from my command as the image with -mask. -mask is not the same as using a mask in composite. The image you just provided is now different from the original image you posted. I am very confused about what image you want to start and what you want to have as a result.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: extract edges from this image whitout lose the color of edges ?
Is this what you want?
or
or
Code: Select all
convert ZrFne.png -morphology edgeout diamond:1 result.png
Code: Select all
convert ZrFne.png -morphology edgeout diamond:1 -fill white -opaque black result2.png
Code: Select all
convert ZrFne.png \
\( -clone 0 -morphology edgeout diamond:1 -threshold 0 \) \
-compose multiply -composite -fill white -opaque black result3.png