I have some images which have below like wave shaped line,
I'm very new to image magick . I want to clear only these line, not any other pixel around it. these line is 2 pixel width at most.
Remove wave shaped line
Re: Remove wave shaped line
You will need to give more information for instance is the wave always the same and in the same place?
It would be useful to supply at least one image to test as well a your Imagemagick version and your preferred software language.
You will not get any useful replies without the above.
It would be useful to supply at least one image to test as well a your Imagemagick version and your preferred software language.
You will not get any useful replies without the above.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Remove wave shaped line
I think you need to provide a more realistic example. Is there any background besides white? What is your IM version and platform? What do you mean by "clear" --- make them transparent or replace the black with some image texture?
Please read viewtopic.php?f=1&t=9620
Please read viewtopic.php?f=1&t=9620
Re: Remove wave shaped line
ImageMagick version is 6.9.0-0-Q16, for Windows.
The wave always not the same, its shape may change. Here is a real image which I wannna clear,
Many many thanks for ur quick reply. The line may be replace with white, no problem.
The wave always not the same, its shape may change. Here is a real image which I wannna clear,
Many many thanks for ur quick reply. The line may be replace with white, no problem.
Re: Remove wave shaped line
Nope, its not always in the same place but its width may be same, at most 2 pixel.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Remove wave shaped line
Sorry, I do not know how to remove it under those conditions.
Re: Remove wave shaped line
Thank u sir for your attention. Can you give me any algorithmic suggestion to do this?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Remove wave shaped line
I have no idea how to approach this, because there seems no way to identify the line and distinguish it from the characters that it overlaps, especially since it overlaps.ayanu wrote:Thank u sir for your attention. Can you give me any algorithmic suggestion to do this?
Is the wave shaped line, the same shape and length in all the images you have?
Re: Remove wave shaped line
I'm afraid its negetive!! Anyway, again thanks for your response.