Search found 4 matches

by omilu
2012-09-28T16:09:20-07:00
Forum: Users
Topic: apply normalization to a masked image but stretch all
Replies: 9
Views: 10714

Re: apply normalization to a masked image but stretch all

fred, thanks for the script sample, i had one that did somthing similar but was twice as long and convoluted.

Anthony, thankyou for the tip, it works!. I can mask the high signal areas and use -contrast-stretch, -autolevel etc... and imagemagick now computes the new black point/white point as if ...
by omilu
2012-09-24T15:18:03-07:00
Forum: Users
Topic: apply normalization to a masked image but stretch all
Replies: 9
Views: 10714

Re: apply normalization to a masked image but stretch all

I apologize, I misstated the behavior of image magick in my original question but the intent of the question still stands.
Here is what I observe with links to sample image.

When I mask the high signal areas and perform normalization
-convert orig.png -clip-mask firemask.png -normalize withmask.png ...
by omilu
2012-09-24T07:53:17-07:00
Forum: Users
Topic: apply normalization to a masked image but stretch all
Replies: 9
Views: 10714

Re: apply normalization to a masked image but stretch all

Thanks guys.

I don't understand you're suggestions, can you give an example. If I invert the mask, won't it end up just masking the opposite part of the image.

I am trying to contrast stretch an image that has a few areas that are much higher signal values, if I normalize the entire image, than ...
by omilu
2012-09-23T09:28:36-07:00
Forum: Users
Topic: apply normalization to a masked image but stretch all
Replies: 9
Views: 10714

apply normalization to a masked image but stretch all

Is there a way to apply -normalization or -contrast-stretch to a masked image, so that the black point/white point computation ignores the masked part of the image, and the resulting black point white point stretch is applied to the whole image

When i try

convert fire.png -clip-mask maskfire.png ...