Being new to mono imaging, I was having trouble getting the blend of L and RGB images right until I watched Adam's presentation on LRGB Blending - now I'm getting much better results. Adam used ArcSin stretch in order to preserve the colour in the RGB image prior to blending with the Luminance image. I've been using GHS to stretch my images (again, learning a lot from Adam's tutorials) as I feel it gives finer control over the stretching process. I wonder how GHS may best be used in relation to LRGB combinations - can it be used alone, or can Arcsinstretch be used in conjunction with it.
Frank
Comments
Cheers,
Scott
template <class P>
static void ApplyBackgroundNeutralization( GenericImage<P>& image, const DVector& backgroundReference )
{
StandardStatus status;
StatusMonitor monitor;
monitor.SetCallback( &status );
monitor.Initialize( "Applying background neutralization", image.NumberOfPixels() );
for ( typename GenericImage<P>::pixel_iterator i( image ); i; ++i, ++monitor )
for ( int c = 0; c < 3; ++c )
{
double v; P::FromSample( v, i[c] );
i[c] = P::ToSample( v - backgroundReference[c] );
}
image.Normalize();
}