Hi Claudiu,

lcms2 is a V4 engine, and since the Lab encoding of V2 and V4 is different,
when reading a V2 profile some adjust should be made. This is what V4ToV2 
and V2ToV4 does. 

Otherwise those are internal functions and you should not use them directly.
The internal optimizer of lcms2 would remove those stages if the pipelines
are combined by a color transform. Take a look on _cmsOptimizePipeline if 
wish so.

Is there any reason to bypass the transform logic and deal directly
with the pipelines ?

Regards
Marti


Original Message:
-----------------
From: Claudiu Cebuc cce...@gmail.com
Date: Wed, 26 Oct 2011 12:03:57 +0300
To: lcms-user@lists.sourceforge.net
Subject: [Lcms-user] Lab V2ToV4 and V4ToV2 matrixes


Hi,


I have noticed that the _cmsReadInputLUT() appends the Lab  V2ToV4 matrix as
the last stage of the retrieved A2Bx pipeline and _cmsReadOutputLUT()
inserts the reverse Lab V4ToV2 matrix as the first stage of the retrieved
B2Ax pipeline.


Therefore, by calling these functions:

A2BxPipeline  = _cmsReadInputLUT(…)

B2AxPipeline = _cmsReadOutputLUT(…)


the resulted pipelines’ stages  look like:

A2BxPipeline =  {InputCurve, A2BxCLUT, OutputCurve, V2ToV4}

B2AxPipeline =  { V4ToV2, InputCurve, B2AxCLUT, OutputCurve}


Q1) So, can you please tell why are the V2ToV4 and V4ToV2 matrixes used ?


Q2) Would it be ok for me to remove these matrixes (as I need to process the
A2BxPipeline resulted Lab values),  and combine the resulted A2Bx and B2Ax
pipelines in order to realize a transform’s pipeline ?


Thank you,

Claudiu.


--------------------------------------------------------------------
mail2web.com – What can On Demand Business Solutions do for you?
http://link.mail2web.com/Business/SharePoint



------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to