Search found 3 matches

by obir
2011-10-22T01:56:10-07:00
Forum: Users
Topic: contrast-stretch without blackpoint
Replies: 5
Views: 9667

Re: contrast-stretch without blackpoint

The other difference is how 'zero' is handled I just compared -contrast-stretch 0,1 and -linear-stretch 0,1 and you're right, -linear-stretch 0,1 makes no change to the blackpoint where -contrast-stretch 0,1 does. I must have overlooked this when searching through the list of operators. Thanks for ...
by obir
2011-10-21T12:44:45-07:00
Forum: Users
Topic: contrast-stretch without blackpoint
Replies: 5
Views: 9667

Re: contrast-stretch without blackpoint

Thanks, i've tried it, it works very well, exactly what i needed..! Although I'm still trying to understand why it works.. :) Intuitively i would have expected: get the minimum value in the image, and then use: convert image -level minimum,100% result Trying to wrap my head around this.. Thanks ...
by obir
2011-10-21T06:47:00-07:00
Forum: Users
Topic: contrast-stretch without blackpoint
Replies: 5
Views: 9667

contrast-stretch without blackpoint

Hi all, I'm trying to implement a contrast-stretch that stretches the whitepoint of an image to 100% but leaves the blackpoint alone. For instance if the darkest point in an image is 30% white and the lightest point is 85% white, i want it to stretch from 30% to 100% (but not from 0% to 100%). So ...