1、(fal CSA INTERNATIONAL - -National Standard of Canada CAN/CSA-ISOREC 12087-2-00 (ISO/IEC 12087-2:1994) International Standard ISO/IEC 12087-2:1994 (first edition, 1994-08-01), including Technical Corrigendum 1 has been adopted without modification as CSA Standard CAN/CSA-ISO/IEC 12087-2-00, which ha
2、s been approved as a National Standard of Canada by the Standards Council of Canada. ISBN 1-55324-001-4 March 2000 Information technology - Computer graphics and image processing - Image Processing and Interchange UPI) Functional specification -Part 2: Programmers imaging kernel system application p
3、rogram interface Technologies de Iinformation - Infographie et traitement de Iimage -Traitement de Iimage et echange (IPI) - Specification fonctionnelle -Partie 2: Interface de programme dapplication PIKS Reference number ISO/lEe 12087-2:1994(E) The Canadian Standards Association, which operates und
4、er the name CSA International (CSA), under whose auspices this National Standard has been produced, was chartered in 1919 and accredited by the Standards Council of Canada to the National Standards system in 1973. It is a not-for-profit, nonstatutory, voluntary membership association engaged in stan
5、dards development and certification activities. CSA standards reflect a national consensus of producers and users - including manufacturers, consumers, retailers, unions and professional organizations, and governmental agencies. The standards are used widely by industry and commerce and often adopte
6、d by municipal, provincial, and federal governments in their regulations, particularly in the fields of health, safety, building and construction, and the environment. Individuals, companies, and associations across Canada indicate their support for CSAs standards development by volunteering their t
7、ime and skills to CSA Committee work and supporting the Associations objectives through sustaining memberships. The more than 7000 committee volunteers and the 2000 sustaining memberships together form CSAs total membership from which its Directors are chosen. Sustaining memberships represent a majo
8、r source of income for CSAs standards development activities. The Association offers certification and testing services in support of and as an extension to its standards development activities. To ensure the integrity of its certification process, the Association regularly and continually audits an
9、d inspects products that bear the CSA Mark. In addition to its head office and laboratory complex in Toronto, CSA has regional branch offices in major centres across Canada and inspection and testing agencies in eight countries. Since 1919, the Association has developed the necessary expertise to me
10、et its corporate mission: CSA is an independent service organization whose mission is to provide an open and effective forum for activities facilitating the exchange of goods and services through the use of standards, certification and related services to meet national and international needs. For f
11、uther information on CSA services, write to CSA International 178 Rexdale Boulevard Toronto, Ontario, M9W 1 R3 Canada cia) CSA INTERNATIONAL -The Standards Council of Canada is the coordinating body of the National Standards system, a federation of independent, autonomous organizations working towar
12、ds the further development and improvement of voluntary standardization in the national interest. The principal objects of the Council are to foster and promote voluntary standardization as a means of advancing the national economy, benefiting the health, safety, and welfare of the public, assisting
13、 and protecting the consumer, facilitating domestic and international trade, and furthering international cooperation in the field of standards. A National Standard of Canada is a standard which has been approved by the Standards Council of Canada and one which reflects a reasonable agreement among
14、the views of a number of capable individuals whose collective interests provide to the greatest practicable extent a balance of representation of producers, users, consumers, and others with relevant interests, as may be appropriate to the subject in hand. It normally is a standard which is capable
15、of making a significant and timely contribution to the national interest. Approval of a standard as a National Standard of Canada indicates that a standard conforms to the criteria and procedures established by the Standards Council of Canada. Approval does not refer to the technical content of the
16、standard; this remains the continuing responsibility of the accredited standards-development organization. Those who have a need to apply standards are encouraged to use National Standards of Canada whenever practicable. These standards are subject to periodic review; therefore, users are cautioned
17、to obtain the latest edition from the organization preparing the standard. The responsibility for approving National Standards of Canada rests with the Standards Council of Canada 45 OConnor Street, Suite 1200 Ottawa, Ontario, K1 P 6N7 Canada Although the intended primary application of this Standar
18、d is stated in its Scope, it is important to note that it remains the responsibility of the users to judge its sUitability for their particular purpose. CAN/CSA-ISO/IEC 12087-2-00 Information technology - Computer graphics and image processing -Image Processing and Interchange (lPf) - Functional spe
19、cification -Part 2: Programmers imaging kernel system application program interface CAN/CSA-ISO/IEC 12087-2-00 Infonnation technology - Contputer graphics and intage processing -Intage Processing and Interchange (IPI) - Functional specification Part 2: Prograntnters i-rnaging kernel system applicati
20、on progrant interface CSAPreface Standards development within the Information Technology sector is harmonized with international standards development. Through the CSA Technical Committee on Information Technology (TClT), Canadians serve as the Canadian Advisory Committee (CAC) on ISO/IEC Joint Tech
21、nical Committee 1 on Information Technology (ISO/IEC JTC1) for the Standards Council of Canada (SCC), the ISO member body for Canada and sponsor of the Canadian National Committee of the lEe. Also, as a member of the International Telecommunication Union (ITU), Canada participates in the Internation
22、al Telegraph and Telephone Consultative Committee (lTU-T). This International Standard was reviewed by the CSA TCiT under the jurisdiction of the Strategic Steering Committee on Information Technology and deemed acceptable for use in Canada. (A committee membership list is available on request from
23、the CSA Project Manager.) From time to time, ISO/IEC may publish addenda, corrigenda, etc. The CSA TCiT will review these documents for approval and publication. For a listing, refer to the CSA Information Products catalogue or CSA Info Update or contact a CSA Sales representative. This Standard has
24、 been formally approved, without modification, by these Committees and has been approved as a National Standard of Canada by the Standards Council of Canada. March 2000 CSA International- 2000 All rights reserved. No part of this publication may be reproduced in any form whatsoever without the prior
25、 permission of the publisher. ISO/IEC material is reprinted with permission. Inquiries regarding this National Standard of Canada should be addressed to CSA International, 178 Rexdale Boulevard, Toronto, Ontario, M9W 1 R3. March 2000 CSA/l Technical Corrigendum 1:2003 toNational Standard of CanadaCA
26、N/CSA-ISO/IEC 12087-2-00Technical Corrigendum 1:1997 to International Standard ISO/IEC 12087-2:1994 has been adopted withoutmodification as Technical Corrigendum 1:2003 to CAN/CSA-ISO/IEC 12087-2-00. This Technical Corrigendumwas reviewed by the CSA Technical Committee on Information Technology (TCI
27、T) under the jurisdiction of theStrategic Steering Committee on Information Technology and deemed acceptable for use in Canada. July 2003ISOIIEC 12087-2:1994/Cor.l:1997(E) ISOIIEC Page 99 Update the allocate_compositejdentifierJist error codes: delete 12 and 14. Page 104 Update the allocate_histogra
28、m error codes: delete 12 and 14. Page 108 Update the allocate_image error codes: add 4, 16, 22, 42, 61 (for profiles rocessor and morphic.JrocessorJoi error codes: add 15, 16, 18,19,23,24 and 26; delete 11, 13,25,41 and 43. Page 600 Update the morphology and morphology_roi error codes: add 12, 14, 1
29、5, 16, 18, 19,24 and 26; delete 11,13,25,41 and 43. Page 609 Update the neighbour_count error codes: add 15,16 and 18. Page 613 Update the noise_combination error codes: add 15 and 18. Page 617 Update the open_close and open_close_roi error codes: add 15, 16, 18 and 19; delete 25, 41, 45 and 101. Pa
30、ge 620 Update the open.Jiks error codes: add 62. 16 ISO/lEe ISOIIEC 12087-2:1994/Cor.l:1997(E) Page 622 Update the outlier_removal error codes: add 15, 16 and 18. Page 624 Update the output_object error codes: add 11, 13, 15, 16 and 62; delete 25, 26 and 46. Page 628 Update the paintyixels error cod
31、es: add 15, 16 and 18. Page 632 Update the perimeter_code _generator error codes: add 15; delete 12, 14, 24 and 44. Page 636 Update the polar_to_cartesian error codes: add 15 and 45. Page 638 Update the power_law_scaling error codes: add 15. Page 640 Update the pseudocolour error codes: add 15, 16,
32、18 and 52; delete 28 and 172. Page 644 Update the putyixel and putyixelJoi error codes: add 12 and 14; delete 11, 13 and 43. Page 645 In Parameters, replace the jo and ko entries with: jo ko first index offset second index offset Add the following remark section: Remark: SP SP III in If the array sp
33、atially extends over the J-K plane of the source image, the pixel values of the non-coincident region are not recorded in the source image. Page 646 Update the putyixel_ array and putyixel_ array Joi error codes: delete 11, 12, 13, 14, 22, 42 and 43. Page 647 Replace the Name section with: putyixetr
34、ecord putyixelJecord _roi 17 ISO/IEC 12087-2:1994/Cor.l:1997(E) ISO/lEe Page 648 Update the put-pixel_record and put-pixel_record_roi error codes: delete II, 12, 13, 14,22,42 and 43. Page 652 Update the rescale and rescale_roi error codes: add 15, 16,22,24 and 42; delete 1, 11 and 13. Page 655 Updat
35、e the resize and resize_roi error codes: add 15, 16,22,24 and 42; delete 11 and 13. Page 661 Update the roi_coordinate error codes: add 2 and 16; delete 44. Page 664 Add the following remark. 6. The index_manipulate tuple contains parameters of the CS data type. Page 666 Update the roi_elliptical er
36、ror codes: add 16,22 and 42; delete 44. Page 667 Replace remark 4 with: 4. The rai_size tuple contains parameters of the ND data type. Page 668 Add the following remark. 6. The index_manipulate tuple contains parameters of the CS data type. Update the roi-polygon error codes: add 2 and 16; delete 44
37、. Page 670 In Nomenclature, make the following substitutions: From: To: je js je :js ke ks ke ks Ie Is Ie Is mems mems ne ns ne ns Replace remark 3 as follows: 3. The rai_size, startyasitian and endyasitian tuples contain parameters of the ND data type. 18 ISO/lEe ISOIIEC 12087-2:1994/Cor.l:1997(E)
38、Add the following remark. 5. The index_manipulate tuple contains parameters of the CS data type. Page 672 Update the roi_rectangular error codes: add 16,22 and 42; delete 44. Page 674 In remark 2, add the following to the beginning of the sentence: “In the 2D case, rotation . “. Page 675 In the defi
39、nition:, switch signs before all SIN functions, i.e. -SIN instead of SIN and SIN instead of -SIN. Page 676 Update the rotate and rotate_roi error codes: add 12, 14, 15 and 16; delete 25, 41 and 45. Page 678 Update the rubber_band_scaling error codes: add 15 and 43. Page 682 Update the sequence_avera
40、ge error codes: add 1 and 3; delete 21. Page 685 Update the sequence_karhunen_loeve error codes: add 15,16 and 18. Page 690 Update the sequence_running_measures error codes: add 12, 15, 16 and 23; delete 21,25 and 173. Page 697 In the definition, replace the first sentence with: This mechanism perfo
41、rms the following functions only for attributes that are NULL: Update the setjmage_attributes error codes: add 4,5,12, 14, 16,22,42 and 101. Page 70 Update the setjndex _assignment error codes: delete 12, 14, 24 and 44. Page 708 Update the shape _ metrics error codes: add 15; delete 12, 14, 24 and 4
42、4. Page 712 Update the spatial_moments_invariant error codes: add 15; delete 12 1424 and 44. 19 ISOIIEC 12087-2:1994/Cor.l:1997(E) Page 716 Update the spatial_moments_scaled error codes: add 15; delete 12, 14,24 and 44. Page 719 Update the split_image error codes: add 15, 18 and 23. Page 722 In the
43、definition, replace: jd:j: MIN Js -1,JH kd: k : MIN Ks -1, KM with: jd:j: MIN JD -I,jd + JM -I kd:k:MINKD -1,kd+kM -I Update the subsample and subsample Joi error codes: add 15 and 16; delete 25, 41 and 45. Page 723 Update the synchronize error codes: delete 302. Page 727 Update the template_match e
44、rror codes: add 15, 16 and 18; delete 12, 14,24 and 43. Page 731 Update the thresholc;lerror codes: add 15 and 18 error codes: delete 43. Page 735 Update the transform_cosine error codes: add 15 and 18. Page 740 Update the transform Jourier error codes: add 15 and 18. Page 743 Update the transform_h
45、adamard error codes: add 15 and 18. Page 747 Update the transform_hartley error codes: add 15 and 18. 20 ISO/lEe ISO/IEe ISOIIEC 12087-2:1994/Cor.1:1997(E) Page 751 Update the translate andtranslateJoi error codes: add 12, 14, 15, 16, 18, 19, 22,24 and 42; delete 11, 13,25,41 and 45. Page 754 Update
46、 the unary jnteger error codes: add 15 and 18. Page 758 Update the unary Jeal error codes: add 15 and 18. Page 759 In Parameters, replace the wI, w2 and bf parameter entries with the following: wI w2 bf Page 761 first weight factor second weight factor BIAS factor RP RP RP Update the unsharp_mask er
47、ror codes: add 15, 16 and 18. Page 764 Update the value_bounds error codes: add 15, 18 and 43. Page 769 In in In In Parameters, substitute the conditional entry in the parameter listing with: branch return logical flag for branch control logical flag for return control BP BP In the definition, repla
48、ce the first sentence of the third paragraph with: in in The conditional branch and return flags control the reaction to the conditional tests. Page 781 In Objects:, replace the DST data type entry with: DST data type SD,RD Page 782 Replace the equation for DO, k,l, m,n,) with the following: D U,k,l
49、,m,n) = S U,k,l,m,n) - A U,k,l,m,n) .(g)( v) + (p) (a) + (I - p) A U,k,l,m,n) (g)V(j. k.l,m,n) + v 21 ISOIIEC 12087-2:1994/Cor.l:1997(E) ISO/lEe Page 783 Update the walIis_statistical_ differencing error codes: add 15, 16 and 18. Page 788 Update the warp_controlp0int and warp_control“point_roi error codes: add 15 and 16; delete 11, 12, 13, 14,22, 28,41,42 and 45. Page 790 Update the warpJut and warp_IutJoi error codes: add 15 and 16; delete 11, 13,25,28,41,45 and 48. Page 793 Update the warp“polynomial