<<-- PlateCC.cm>> <<-- Mik Lamming - May 2, 1985 4:27:26 pm PDT>> <<-- PlateCC >> <<>> <<-- this next kludge just gathers up the arguments>> _ &arg0 _ 1 _ &cmd _ List.Assoc[$CommanderHandle, ProcessProps.GetPropList[]] _ &args _ List.Assoc[$CommandFileArguments, &cmd.propertyList] _ &arg1 _ IF &args.argc > 1 THEN &args[&arg0+1] ELSE NIL _ &arg2 _ IF &args.argc > 2 THEN &args[&arg0+2] ELSE NIL <<-- read in all the trc information>> _ &r2d _ CCImpl.ReadTRC["/Cyan/Imaging/ColorCorrector/plateParams/RefToDens1.3.trc"] _ &cOut _ CCImpl.ReadTRC["/Cyan/Imaging/ColorCorrector/plateParams/Platemaker-red.trc"] _ &mOut _ CCImpl.ReadTRC["/Cyan/Imaging/ColorCorrector/plateParams/Platemaker-grn.trc"] _ &yOut _ CCImpl.ReadTRC["/Cyan/Imaging/ColorCorrector/plateParams/Platemaker-blu.trc"] _ &kOut _ CCImpl.ReadTRC["/Cyan/Imaging/ColorCorrector/plateParams/Platemaker-black.trc"] <<_ &kOut _ NIL>> <<_ &ucrOut _ CCImpl.ReadTRC["/Cyan/Imaging/ColorCorrector/versatecParams/Platemaker-UCR.trc"]>> _ &ucrOut _ NIL _ &kpOut _ CCImpl.ReadTRC["/Cyan/Imaging/ColorCorrector/plateParams/Platemaker-kp.trc"] <<_ &kpOut _ NIL>> <<-- read in the color correction matrix>> _ &m _ CCImpl.ReadMatrix["/Cyan/Imaging/ColorCorrector/versatecParams/Identity.matrix"] <<-- apply above paramters to the files>> <<_ CCImpl.ApplyMatrix[&arg1, &arg2, &m, &r2d, &r2d, &r2d, &cOut, &mOut, &yOut, &kOut, &ucrOut, &kpOut, Color4]>> _ CCImpl.ApplyMatrix[&arg1, &arg2, &m, &r2d, &r2d, &r2d, &yOut, &yOut, &yOut, &kOut, &ucrOut, &kpOut, Color4]