[Gimp-user] 16 bit Handling

2010-11-04 Thread TomBrooklyn
OK.  Thanks.  And thanks for your efforts. 

-- 
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Removal of yellow and green eyes

2010-11-04 Thread Torsten Neuer
Am 04.11.2010 03:41, schrieb Akkana Peck:
> Per Tunedal writes:
>> I would be happy if there was two more filters:
>>
>> remove green eyes and remove yellow eyes.
>>
>> Or maybe a filter with an option to chose which colour to remove.
> 
> I've wanted that too. You can do it the old way (the way we used
> before the red-eye filter was added in GIMP 2.4): select the pupil,
> perhaps with the ellipse selection tool, then use something like
> the Hue-Saturation tool to desaturate and darken.
> 
> But it doesn't work as well on animal eyes as on human, because
> animal pupils are often much larger and is very light, and it's
> hard to make it turn black. Sometimes I have to paint in some black.
> Also, the animal pupil colors tend to be a lot less saturated than
> human redeye, so it might be harder to write a tool to select it
> in an automated way.
> 
> Anybody have a reliable way to deal with animal greeneye?
> Please share techniques!

You could also use the following:

(a) The Colour-Match plug-in (select eye region, select colour to
substitute within the region and the colour you want it to change into)

(b) The User-Filter plug-in (you can adopt the formula for the red-eye
reduction for other colours - especially green should be fairly easy).
The formula is not as accurate as the native red-eye reduction since
User-Filter does not use floating point values, but it still works
pretty well - in fact, I think it is an old formula of the native plug-in.
I don't have a working example of green-eye reduction (lacking some
proper animal pictures) but you can still play around with the formula
for red-eyes (ctl(0) being the slider which controls the sensitivity for
colour removal):
R=(r/5>=g-ctl(0))&&(r/5>=b/2-ctl(0))?g+b/2:r
G=g
B=b
A=a



  Torsten



signature.asc
Description: OpenPGP digital signature
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] scaling image in centimeters

2010-11-04 Thread Stefano Rovetta
> I must admit I'm kind of newbie in image editing... I was trying to 
> resize a photo to 5x7 cm, using the scale image dialog, using 
> centimeters...  however the resulting image is smaller, and also the 
> grid, when set to cm, (using 100% zoom) uses something that's smaller 
> than a centimeter...  what am I doing wrong?

Ciao, Lorenzo
Here is a colleague speaking (DISI, Genova), so I feel obliged to reply,
even if only to review things that have already been said - although
spread across several replies.

You have two different issues here, either of which is not really
as much an issue, but rather a point to be clarified.

They are (A) output size and (B) image resolution.

Output size (such as viewing on screen or printing) depends on the number
of pixels. Usually setting 100% on screen you have one-to-one
correspondence between image pixels and LCD pixels. So the displayed image
depends on the pixel pitch (= size) of your screen, or the pixel pitch
of your printer, when printing.

To calibrate the screen size, I place an A4 sheet on a Word (really
an Openoffice Writer) blank document, and play with the zoom factor
until the short side of the blank doc is reasonably identical in size
to the real sheet, which is 21cm. Then I use that zoom factor across
all programs where I need it.

And that's one story.

A somewhat different story is when you resize an image. Or rather - when
software does that for you.

Resizing an image means resampling it for output, so that it has fewer
or (by interpolation) more pixels.

Resizing on the screen is explicit: you set the zoom level, the software
does the math. Resizing for print, instead, is at least in part implicit.

There is an image property which is called resolution (may be different
in vertical and horizontal). Resolution is expressed as pixels per unit
length (e.g., pixels per inch -ppi- or pixels per cm). This is used
to decide the final printing size of your image.

Width  = Horz.Resolution x NumpixelsX
Height = Vert.Resolution x NumpixelsY

When printing, the image will then be RESAMPLED (this may not be clear
a-priori) to fit this size with the output device resolution.
Of course you can usually change that by setting an output zoom level,
or even by directly setting the desired size (both available in Gimp).
This setting is much more important than what you see on-screen.

To sum up, when working for the web, resolution is useless, because
you don't think in terms of physical size. Instead, when printing,
it is important to set the image resolution, which is NOT the number
of pixels as commonly (mis)interpreted, but the conversion factor
used to translate pixel counts into physical sizes.

In Gimp, resolution is set either when creating an image (under
"Advanced", not visible initially, defaults to 72 ppi) or afterward
by navigating to "Image -> Print size...".

Ciao
--Stefano Rovetta


  
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user