1、Designation: E 1708 95 (Reapproved 2007)Standard Practice forElectronic Interchange of Color and Appearance Data1This standard is issued under the fixed designation E 1708; the number immediately following the designation indicates the year oforiginal adoption or, in the case of revision, the year o
2、f last revision. A number in parentheses indicates the year of last reapproval. Asuperscript epsilon (e) indicates an editorial change since the last revision or reapproval.1. Scope1.1 This practice covers procedures to be used in theelectronic exchange of color and appearance data betweenusers, by
3、either modem or the physical transfer of electronicmedia. It is intended for use by manufacturers of color-measuring instruments and developers of software so that anyinstrument may acquire data for its use that may have beenmeasured on an instrument of another manufacturer, at anotherplace, or at a
4、nother time.1.2 This standard does not purport to address all of thesafety concerns, if any, associated with its use. It is theresponsibility of the user of this standard to establish appro-priate safety and health practices and determine the applica-bility of regulatory limitations prior to use.2.
5、Referenced Documents2.1 ASTM Standards:2E 284 Terminology of Appearance2.2 ANSI Standard:CGATS.5 Graphic TechnologySpectral Measurement andColorimetric Computation for Graphic Arts Images33. Terminology3.1 DefinitionsDefinitions of terms in Terminology E 284are applicable to this practice.3.2 Defini
6、tions of Terms Specific to This Standard:3.2.1 data value identifier, na keyword that identifies thecontents of a data field and, by definition, signals the data typeof the field as string, integer, or floating point.3.2.2 keyword, nin electronic interchange, an alphanu-meric designator that defines
7、 the nature or number of followingdata fields.3.2.2.1 DiscussionThe word is used in its ordinary dic-tionary sense in Section 7.3.2.3 white space, na valid character representation thatdoes not generate a printable character in a file.3.2.3.1 DiscussionValidASCII white space characters arespace (dec
8、imal 32), carriage return (decimal 13), form feed(decimal 12), vertical tab (decimal 11), newline (decimal 10),and horizontal tab (decimal 9).4. Summary of Practice4.1 Users of this practice are given a mandatory list ofkeywords. The user fills out the list with the data valuesassociated with each k
9、eyword. The user may then select froman optional list of keywords. The user then associates withthese keywords the data values required to be transmitted.4.2 The keywords are used at the receiving end of thetransmission to decode the format and number of data valuespresent in the transmission.5. Sig
10、nificance and Use5.1 This practice should be used by manufacturers ofcolor-measuring instruments and developers of software whenthe transmission of color and appearance data is desiredbetween instruments or computers.5.2 The method of transmission may be via direct connec-tion, modem, or the transfe
11、r of electronic media, for example,by floppy disk transfer.5.3 The practice lends itself to the transmission of either asingle record of data or multiple record files.5.4 Examples of files generated in this practice are con-tained in Fig. X1.1 and Fig. X2.1 of the appendixes.6. Procedure6.1 Prepare
12、a file using ASCII code that consists of themandatory keyword list followed by the associated data values.Each keyword and each data value is delimited by white space.The record may be organized into logical units associated witheach keyword by using the carriage return character for thewhite space
13、delimiter at the end of the data values associatedwith any keyword.6.1.1 Every keyword in the record must be followed by atleast one character of white space as a delimiter. Do notprecede keywords on a line by other than white space. The1This practice is under the jurisdiction of ASTM Committee E12
14、on Color andAppearance and is the direct responsibility of Subcommittee E12.04 on Color andAppearance Analysis.Current edition approved Aug. 1, 2007. Published August 2007. Originallyapproved in 1995. Last previous edition approved in 2001 as E 1708 - 95 (2001).2For referenced ASTM standards, visit
15、the ASTM website, www.astm.org, orcontact ASTM Customer Service at serviceastm.org. For Annual Book of ASTMStandards volume information, refer to the standards Document Summary page onthe ASTM website.3Available from NPES, TheAssociation for Suppliers of Printing and PublishingTechnologies, 1899 Pre
16、ston White Drive, Reston, VA 22091-4367.1Copyright ASTM International, 100 Barr Harbor Drive, PO Box C700, West Conshohocken, PA 19428-2959, United States.exception to this recommendation, which is made to assisthuman readability, is the use of keywords as data valueidentifiers, which are listed in
17、order on one line, if possible, sothat they may be interpreted by the human reader as columnheadings.6.1.2 The specification of data value identifiers is entirelyoptional regarding the choice and number of identifiers. Datavalue identifiers are placed between the BEGIN_ DATA_FOR-MAT keyword and the
18、END_DATA_ FORMAT keyword.Each data value identifier must be separated by at least onecharacter of white space.6.2 Mandatory KeywordsThe following keywords aremandatory in a record:6.2.1 E1708YYThe first seven characters in the file mustbe this keyword, where the digits YY are numeric for the yearof
19、revision of this practice that was used to formulate therecord.6.2.2 ORIGINATORThe alphanumeric data value associ-ated with this keyword is the specific system, organization, orindividual originating the record.6.2.3 DESCRIPTORThe alphanumeric data value associ-ated with this keyword contains a desc
20、ription of the purpose orcontent of the record.6.2.4 CREATEDThe alphanumeric data value associatedwith this keyword contains the date on which the record wascreated or the data measured.6.2.5 NUMBER_OF_FIELDSThe integer data value as-sociated with this keyword contains the number of data formatident
21、ifiers prescribed in the data format definition that follows.6.2.6 BEGIN_DATA_FORMATNo data value is associ-ated with this keyword. The keyword identifies the beginningof the list of data value identifiers.6.2.7 END_DATA_FORMATNo data value is associatedwith this keyword. The keyword identifies the
22、end of the list ofdata value identifiers.6.2.8 NUMBER_OF_SETSThe integer data value asso-ciated with this keyword denotes the number of data sets withthe format described by the list of data value identifiers.6.2.9 BEGIN_DATANo data value is associated with thiskeyword. The keyword marks the beginni
23、ng of the data valuelist defined by the data value identifier list and the NUMBER-_OF_SETS of data keyword.6.2.10 END_DATANo data value is associated with thiskeyword. The keyword marks the end of the data list.6.3 Data Value IdentifiersThe following default datavalue identifiers are recognized by a
24、utomated readers. The listcontains the data value identifier, followed by its data type, andfinally a description of the contents of the data field associatedwith the descriptor. The alphanumeric data type is indicated byCS. The integer data type is indicated by I. The floating pointdata type is ind
25、icated by F.6.3.1 SPECIMEN_ID, CSThis identifies the specimenthat the data represent.NOTE 1This keyword represents an occurrence of the incompatibilityof ASTM keywords with keywords defined by CGATS.5. That standarduses SAMPLE_ID for this keyword. The term “sample” refers to a parttaken to represent
26、 the whole. A specimen is an individual, or instance,taken from the sample that represents the whole.6.3.2 STRING, CSThis indicates that the field containsany alphanumeric value it may be necessary to transmit. Thiskeyword is used to identify label information, lot numberinformation, or other string
27、 values associated with the record.6.3.3 SPECTRAL_NM, IThis identifies the wavelength,in nm, of an associated data value.6.3.4 SPECTRAL_PC, FThis indicates that the associ-ated data value is in units of percent reflectance or percenttransmittance.6.3.5 SPECTRAL_RT, FThis indicates that the associate
28、ddata value is a spectral reflectance factor or spectral transmit-tance factor.NOTE 2This keyword represents an occurrence of the incompatibilityof ASTM keywords with keywords defined by CGATS.5. That standarduses SPECTRAL_FR for reflectance and transmittance factors. The term“F(R)” is accepted rout
29、inely as representing Kubelka-Munk K/S in theEuropean color community and in the analytical chemistry communityworldwide. The keyword SPECTRAL_FR is thus adopted by ASTM torefer to that parameter (see 6.5.5.5).6.3.6 SPECTRAL_RM, FThis indicates that the associ-ated value is a spectroradiometric quan
30、tity.6.3.7 XYZ_X, FThis indicates that the associated datavalue is a CIE X tristimulus value.6.3.8 XYZ_Y, FThis is a CIE Y tristimulus value.6.3.9 XYZ_Z, FThis is a CIE Z tristimulus value.6.3.10 XYY_CAPY, FThis is a CIE Y tristimulus value.This keyword is used as an alternative to XYZ_Y when thedat
31、a are furnished in chromaticity coordinates and luminanceformat.6.3.11 XYY_X, FThis is a CIE x chromaticity coordinate.6.3.12 XYY_Y, FThis is a CIE y chromaticity coordinate.6.3.13 LAB_L, FThis is a CIE 1976 metric lightnessvalue, L*.6.3.14 LAB_A, FThis is a CIE 1976 redness-greennessvalue, a*.6.3.1
32、5 LAB_B, FThis is a CIE 1976 yellowness-bluenessvalue, b*.6.3.16 LAB_U, FThis is a CIE 1976 redness-greennessvalue, u*.6.3.17 LAB_V, FThis is a CIE 1976 yellowness-bluenessvalue, v*.6.3.18 LAB_C, FThis is a CIE 1976 metric chroma value,C*.6.3.19 LAB_H, FThis is a CIE 1976 a, b hue angle, hab.6.3.20
33、LAB_DE, FThis is a CIE 1976 metric colordifference value, DE*ab.6.4 Data ValuesData values must be formatted to corre-spond to the type of data called for by the keyword definition.6.4.1 Alphanumeric data must be enclosed by the character“double-quote” (decimal 34) at beginning and ending. Thedouble
34、-quote character embedded in a string is designated bytwo double-quotes (“”) in a row, as is required by C languagesyntax. In this syntax, one double-quote is an element of thedata, and the other is an indicator to the automated reader thatthe occurrence of the character double-quote does not termi-
35、nate the string in which the double-quote is embedded.E 1708 95 (2007)26.4.2 It is not mandatory that the data value associated withthe keyword SPECIMEN_ID be enclosed by double-quotesunless the specimen data value contains white space.6.4.3 The integer data type is formed by combinations of thechar
36、acters 0 through 9 inclusive, without decimal point oralphanumeric characters.6.4.4 The floating point data type should contain a decimalpoint. A decimal point will be assumed at the end of thenumber represented if a floating point number fails to containan explicit decimal point.6.4.5 Data values m
37、ust be followed by at least one characterof white space.6.4.6 In order to enhance human readability, data valuesmay be placed on one line in order to form a table with the datavalue identifiers as implied headings.6.4.7 The carriage-return or newline should break the datastream into similarly format
38、ted logical segments in order toenhance human readability.6.5 Optional Keywords and Data Format IdentifiersThefollowing keywords are optional for use.6.5.1 # (decimal 35)This character is used as the com-ment designator. It indicates to the automated reader that allcharacters between it and the end
39、of the line should be ignored.Its effect is terminated by a carriage-return or newline.6.5.2 KEYWORDThe use of this word as a keyworddesignates that the associated data value is to be treated as auser-defined keyword, or data value identifier, for the rest ofthe file. The definition is not effective
40、 until encountered in thefile and is operative until the end of the file.6.5.2.1 The data value associated with this keyword willitself become a defined keyword for the remainder of the file.Keywords must all be capital letters without white space.Consequently, the data values associated with this k
41、eywordmust be so capitalized.6.5.2.2 The data value associated with this keyword mustdeclare the data type to be associated with its data from amongthe list for alphanumeric (CS), integer (I), or floating-point (F).These type declarations must be the terminal characters of thekeyword.6.5.3 The follo
42、wing optional keywords are defined furtherin CGATS.5. All of these keywords are data type CS.MANUFACTURER PROD_DATE SERIALMATERIAL INSTRUMENTATION MEASUREMENT_SOURCEPRINT_CONDITIONS6.5.4 The following data value identifiers are further definedin CGATS.5 and are optional for use. All are data type F.
43、CMYK_C D_RED RGB_R STDEV_X STDEV_ACMYK_M D_GREEN RGB_G STDEV_Y STDEV_BCMYK_Y D_BLUE RGB_B STDEV_Z STDEV_DECMYK_K D_VIS STDEV_L6.5.5 The following data value identifiers are extensionsbeyond the scope of CGATS.5 and are optional for use.6.5.5.1 DDMMYY, CSDate in day, month, year format.6.5.5.2 MMDDYY
44、, CSDate in month, day, year format.6.5.5.3 DTSC, CSDate time stamp for the latest calibra-tion. The date is in DDMMYY format, followed by the time in24 h four-digit format.6.5.5.4 DTSR, CSDate time stamp for reading. The dateand time are formatted as in 6.5.5.3.6.5.5.5 SPECTRAL_FR, FKubelka-Munk K/
45、S values forsingle-constant colorant formulation.6.5.5.6 SPECTRAL_KA, FKubelka-Munk absorptioncoefficients K for two-constant colorant formulation, or Beer-Lambert Law absorbance values A for use in transmissionspectrophotometry.6.5.5.7 SPECTRAL_SC, FKubelka-Munk scattering co-efficients for a two-c
46、onstant colorant formulation.6.5.5.8 LAB_LUV, FA CIE 1976 metric color differencevalue, DE*uv.6.5.5.9 LAB_CMC, FA CMC-formula color differencevalue.7. Keywords7.1 data interchange; data transmission; spectral data inter-change; spectral data transmissionE 1708 95 (2007)3APPENDIXES(Nonmandatory Infor
47、mation)X1. EXAMPLE OF A SINGLE-RECORD FILEX1.1 An example of a single-record file, which transfers aset of tristimulus weighting factors, is shown in Fig. X1.1.FIG. X1.1 Single-Record FileE 1708 95 (2007)4X2. EXAMPLE OF A FILE CONTAINING TWO RECORDSX2.1 An example of a file containing two records, w
48、hichtransfer spectral reflectance data associated with two measure-ments, is shown in Fig. X2.1.FIG. X2.1 File Containing Two RecordsE 1708 95 (2007)5ASTM International takes no position respecting the validity of any patent rights asserted in connection with any item mentionedin this standard. User
49、s of this standard are expressly advised that determination of the validity of any such patent rights, and the riskof infringement of such rights, are entirely their own responsibility.This standard is subject to revision at any time by the responsible technical committee and must be reviewed every five years andif not revised, either reapproved or withdrawn. Your comments are invited either for revision of this standard or for additional standardsand should be addressed to ASTM International Headquarters. Your comments will r