apply curv to image
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: apply curv to image
Something like that? But did you try it? If it works, great.
Re: apply curv to image
yes sir i try it works great. . agree .. but i need to apply pattern separately. . i can not apply same pattern to all mask files at the same time. . .
thats why i apply pattern to mask files. .. separately. . and then combine it. . sir please tell me solutions. . because if use
"convert 2.png 3.png 4.png -background none -flatten -brightness-contrast -20,20 \
\( brown_checks.jpg +duplicate -append +duplicate +append -scale 50% \) \
\( -clone 0 \) \
\( -clone 1 -clone 0 -virtual-pixel transparent -compose displace -set option:compose:args 15x15 -composite \) \
-delete 0,1 -compose multiply -composite result234b.png"
this then i get "displace -set option:compose:args 15x15" result on the same i/p files. but white lines are coming while combine. .
and if i use
convert 2.png ( -clone 0 -level 50%,100% -alpha off pattern.jpg -virtual-pixel transparent -compose multiply -composite ) -compose SrcIn -composite result.png
then white line does not come ( antialising) does not appear but there is no "displace -set option:compose:args 15x15" which i want over there. .
please help. . i am very close to result . . .
thats why i apply pattern to mask files. .. separately. . and then combine it. . sir please tell me solutions. . because if use
"convert 2.png 3.png 4.png -background none -flatten -brightness-contrast -20,20 \
\( brown_checks.jpg +duplicate -append +duplicate +append -scale 50% \) \
\( -clone 0 \) \
\( -clone 1 -clone 0 -virtual-pixel transparent -compose displace -set option:compose:args 15x15 -composite \) \
-delete 0,1 -compose multiply -composite result234b.png"
this then i get "displace -set option:compose:args 15x15" result on the same i/p files. but white lines are coming while combine. .
and if i use
convert 2.png ( -clone 0 -level 50%,100% -alpha off pattern.jpg -virtual-pixel transparent -compose multiply -composite ) -compose SrcIn -composite result.png
then white line does not come ( antialising) does not appear but there is no "displace -set option:compose:args 15x15" which i want over there. .
please help. . i am very close to result . . .
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: apply curv to image
I have no simple solution. The only thing I can think of is to combine the images. The processed it 3 times with different displace values for each part as desired. Then use the alpha channels of the separate parts extended to the full image size to merge the 3 processed results together.
Re: apply curv to image
"The processed it 3 times with different displace values for each part as desired. Then use the alpha channels of the separate parts extended to the full image size to merge the 3 processed results together."
sir can show me that by example. . ( by commands so i will try it. . )
even it takes time to run command or even its lengthy. . i will do it. sir. .
plz. .
sir can show me that by example. . ( by commands so i will try it. . )
even it takes time to run command or even its lengthy. . i will do it. sir. .
plz. .
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: apply curv to image
Why don't you try it first and then show me your commands, if it fails. Then I can try to point out the problems. Also point me to your images.
Re: apply curv to image
i made some changes sir that i done
1) scale pattern then
2) displace pattern then
3) run my command "convert 2.png ( -clone 0 -auto-level -alpha off displaced_pattern.png -virtual-pixel transparent -compose multiply -composite ) -compose SrcIn -composite 2_rst.png "
right sir ?
so i thing so my problem is solved now the time. . sir. .
thanks for the help. . very much thanks again .. i will come back to you for cylinder issue thats only remain. .
1) scale pattern then
2) displace pattern then
3) run my command "convert 2.png ( -clone 0 -auto-level -alpha off displaced_pattern.png -virtual-pixel transparent -compose multiply -composite ) -compose SrcIn -composite 2_rst.png "
right sir ?
so i thing so my problem is solved now the time. . sir. .
thanks for the help. . very much thanks again .. i will come back to you for cylinder issue thats only remain. .