View Single Post
Old 16th September 2010, 23:03   #5  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
@ Emulgator

Thankyou for your reply.
Found the script that had that levels thing in it, InPaintFunc by Reuf Toc.


Code:
BlendedMask = Masque.DirtyBlur().levels(0,1,75,0,255)
BlendedMask = BlendedMask.mask(BlendedMask)
RepairMask  = BlendedMask.levels(0,1,255,0,pp)
RepairEdge  = Masque.DirtyBlur().levels(0,1,255,0,900) <<<<<<<<<<<<<<<
RepairEdge  = RepairEdge.DirtyBlur().levels(0,1,75,0,pp)
It was 900 not 9000, but still somewhat higher than 255. Yeh, according to the
graffer, he could have got the same effect with approx levels(0,1.0,80,0,255),
Sorry if I was unclear, but not asking about 16/32 etc bit per channel, but only
in limiting the slider values, the graf will still saturate at 255, but as above, Reuf
Toc chose an alternative means to the same end. I have seen other scripts
where author chose to use values way outside 0-255 range, thats why I was
asking. Think I'll consider larger bits per channel, when levels does.

Thanks for your answer, I think I'll go back to a single tick box with slider limits
of +-999 or +-1000, maybe, with a limit of +-10000, the slightest movement of
a sliders has the grafs jumping all over the place, just not very ergonomic, thats
why I was a little hesitant to have that large a range.

Also, can you tell me if this would be of some assistance (dont bother if not),
the little red rings in the levels graffer were left over from previous functionality,
before I added the gamma slider (I had been using to estimate offset and gain,
where inputs could be significantly outside 0-255 range). Would re-introducing
readout of offset and gain be of general interest, at all, and perhaps, indications
of eg:
Y Where X = 0 : Y Where X = 255
X Where Y = 0 : X Where Y = 255

Of course I would probably have to disable readout if Gamma or Coring were selected.
I left in the red rings to emphasise what coring did.
Anyway, if that is of some use in your opinion, let us know, otherwise dont bother.

Ta for the link, always looking for that type stuff.

Thanx
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote