Page 3 of 3

Re: apply curv to image

Posted: 2016-05-08T12:54:04-07:00
by fmw42
Something like that? But did you try it? If it works, great.

Re: apply curv to image

Posted: 2016-05-08T20:13:05-07:00
by vinod
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 . . .

Re: apply curv to image

Posted: 2016-05-08T23:31:52-07:00
by fmw42
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

Posted: 2016-05-08T23:48:36-07:00
by vinod
"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. .

Re: apply curv to image

Posted: 2016-05-09T00:30:18-07:00
by fmw42
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

Posted: 2016-05-09T08:43:35-07:00
by vinod
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. .