CN103481695A - Method for printing medical black-white and colorful mixed image - Google Patents

Method for printing medical black-white and colorful mixed image Download PDF

Info

Publication number
CN103481695A
CN103481695A CN201310478769.XA CN201310478769A CN103481695A CN 103481695 A CN103481695 A CN 103481695A CN 201310478769 A CN201310478769 A CN 201310478769A CN 103481695 A CN103481695 A CN 103481695A
Authority
CN
China
Prior art keywords
image
black
white
printing
subblock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310478769.XA
Other languages
Chinese (zh)
Other versions
CN103481695B (en
Inventor
徐刚
徐鑫
郑少逵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Juding Medical Co Ltd
Original Assignee
Shenzhen Huge Ancient Cooking Vessel Medical Devices Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Huge Ancient Cooking Vessel Medical Devices Co Ltd filed Critical Shenzhen Huge Ancient Cooking Vessel Medical Devices Co Ltd
Priority to CN201310478769.XA priority Critical patent/CN103481695B/en
Publication of CN103481695A publication Critical patent/CN103481695A/en
Application granted granted Critical
Publication of CN103481695B publication Critical patent/CN103481695B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for printing a medical black-white and colorful mixed image. The method comprises the following steps: S1, setting the ink jetting channels of an ink jet printer to be a plurality of black ink channels and a plurality of colorful ink channels, putting black ink into the black ink channels, and putting colorful ink into the colorful ink channels; S2, receiving printing image data through using a DICOM (Digital Imaging and Communications in Medicine) printing protocol or printer communication protocol; S3, carrying out grid division treatment on the received printing image data so as to form a plurality of image sub-blocks, wherein each image sub-block comprises at least one independent or complete image; S4, carrying out black-white and color judgment on each image sub-block; S5, carrying out color separation on the black-white image sub-block through a black-white color separation algorithm, and carrying out color separation on the colorful image sub-block through using a colorful color separation algorithm; S6, outputting the image data after the color separation treatment to the printer or a printer head through using a communication protocol. Due to adoption of the printing method, the image can meet the high standard of medical images, and the printing cost is also saved.

Description

A kind of Method of printing of medical black and white color mix image
Technical field
The present invention relates to the medical image printing technical field, specifically, relate to a kind of Method of printing of medical black and white color mix image.
Background technology
Along with the development that modern medical service level and medical imaging are learned, image check equipment as CT MR DSA not only can export black white image, can also export coloured image by post processing.In order to guarantee the output quality of black white image, hospital adopts special-purpose black and white film printer to export black white image, exports coloured image by a color printer more in addition, process is loaded down with trivial details like this, be unfavorable for that the doctor reads sheet, and will at least print two media, cost is high.
Summary of the invention
Main purpose of the present invention is, for above-mentioned deficiency of the prior art, provides a kind of Method of printing of medical black and white color mix image.
For achieving the above object, the present invention by the following technical solutions.
At first the present invention provides the Method of printing of the medical black and white color mix of the first image, and it comprises the following steps:
S1: the inkjet channel of setting ink-jet printer is some black ink passages and some color inks passages, the black ink passage black ink of packing into, the color inks passage color ink of packing into;
S2: by DICOM print protocol or printer communication agreement, receive print image data;
S3: the described print image data received is carried out to the lattice processing, form a plurality of image subblocks, each described image subblock comprises at least one pair independently or complete image;
S4: each described image subblock is carried out to the colored judgement of black and white;
S5: adopt the black and white algorithm of color separation to carry out color separation processing to the black white image sub-block, to the coloured image sub-block, adopt the color separation algorithm to carry out color separation processing;
S6: export the view data after color separation processing to printer or printhead by communication protocol.
Below above technical scheme is further elaborated:
Further, the described print image data in described step S2 comprises: by any one or several in a plurality of independently image subblock data of DICOM print protocol transmission, the view data integrated of transmitting by the DICOM print protocol and the view data integrated by the printer communication protocol transmission.
Further, when described print image data is a plurality of independently image subblock data of transmitting by the DICOM print protocol,
Described step S3 is specially: follow the DICOM print protocol described a plurality of independently image subblocks are positioned to processing;
Described step S4 is specially: read the image category in the file header of described image subblock, described image category comprises black white image and coloured image.
Further, when described print image data is the view data integrated of transmitting by the DICOM print protocol,
Described step S3 is specially: to described integrated image carry out the lattice processing, form a plurality of described image subblocks;
Described step S4 is specially: detect the image category of each described image subblock of judgement, described image category comprises black white image and coloured image.
Further, when described print image data for by the printer communication protocol transmission integrated be integrated image the time,
Described step S3 is specially: the described image be integrated of having integrated is carried out to the lattice processing, form a plurality of described image subblocks;
Described step S4 is specially: detect the image category of the described image subblock of judgement, described image category comprises black white image and coloured image.
Further, in described step S4, described detection judges that the mode of the image category of each described image subblock is: the image category according to the value judgement image subblock of the color channel of image subblock pixel judges that this image subblock is black white image if in image subblock, the value of all color channels of each pixel is all identical; If have the value of all color channels of a pixel entirely not identical in image subblock, judge that this image subblock is coloured image.
Further, in described step S1, described black ink passage at least comprises two groups, and described color inks passage at least comprises three groups.
Further, the form of the described print image data in described step S2 comprises but is not defined as DICOM form, BMP form, jpeg format, tiff format, PCX form, PSD form and CDR form.
Further, described printer communication agreement is the communication protocol that printer carries.
The invention has the beneficial effects as follows: the Method of printing of medical black and white color mix image of the present invention first receives by DICOM print protocol or printer communication agreement the print image data that comprises the three types described in embodiment, again each image subblock of described print image data carried out to the colored judgement of black and white, to the black white image sub-block, adopt the black and white algorithm of color separation to carry out color separation processing, after adopting the color separation algorithm to carry out color separation processing to the coloured image sub-block, can print out the image that the black and white colour mixes mutually.And in the color separation processing process, add at least two group black ink after adopting the black and white algorithm of color separation to calculate to the black white image sub-block and carry out color separation processing, add at least three group color ink after adopting the color separation algorithm to calculate to the coloured image sub-block and carry out color separation processing, this color separation processing mode had both guaranteed high optical density (OD) and the high-contrast of black white image, guarantee again the gorgeous degree of coloured image, met the high standard of medical image fully.This Method of printing of the present invention not only process is simple, easy to operate, is beneficial to the doctor and reads sheet, has avoided again the waste of the black and white colour cost that printing film causes respectively.
The accompanying drawing explanation
Fig. 1 is the flow chart of the Method of printing of medical black and white color mix image in the embodiment of the present invention;
The realization of the object of the invention, functional characteristics and advantage, in connection with embodiment, are described further with reference to accompanying drawing.
The specific embodiment
Describe technical scheme of the present invention in detail below with reference to drawings and the specific embodiments, so as clearer, understand invention essence of the present invention intuitively.
Shown in Fig. 1, the Method of printing of the medical black and white color mix image of the present embodiment comprises the following steps:
S1: the inkjet channel of setting ink-jet printer is some black ink passages and some color inks passages, the black ink passage black ink of packing into, the color inks passage color ink of packing into;
S2: by DICOM print protocol or printer communication agreement, receive print image data;
S3: the described print image data received is carried out to the lattice processing, form a plurality of image subblocks, each described image subblock comprises at least one pair independently or complete image;
S4: each described image subblock is carried out to the colored judgement of black and white; Described image subblock is divided into to black white image sub-block and coloured image sub-block.
S5: adopt the black and white algorithm of color separation to carry out color separation processing to the black white image sub-block, to the coloured image sub-block, adopt the color separation algorithm to carry out color separation processing;
S6: export the view data after color separation processing to printer or printhead by communication protocol.
It should be noted that: described printer communication agreement is the communication protocol that printer carries.
In described step S1, described black ink passage at least comprises two groups, and described color inks passage at least comprises three groups.So that in the color separation processing process of step S5, add at least two group black ink after adopting the black and white algorithm of color separation to calculate to the black white image sub-block and carry out color separation processing, add at least three group color ink after adopting the color separation algorithm to calculate to the coloured image sub-block and carry out color separation processing, this color separation processing mode had both guaranteed high optical density (OD) and the high-contrast of black white image, guarantee again the gorgeous degree of coloured image, met the high standard of medical image fully.
Described print image data in described step S2 comprises: by any one or several in a plurality of independently image subblock data of DICOM print protocol transmission, the view data integrated of transmitting by the DICOM print protocol and the view data integrated by the printer communication protocol transmission.
The form of above-mentioned print image data comprises but is not defined as DICOM form, BMP form, jpeg format, tiff format, PCX form, PSD form and CDR form.
Thereby, the first situation: when described print image data is a plurality of independently image subblock data of transmitting by the DICOM print protocol, described step S3 is specially: follow the DICOM print protocol described a plurality of independently image subblocks are positioned to processing, so that image subblock is pressed the pre-defined rule location; Described step S4 is specially: directly read the image category in the file header of described image subblock, common described image category comprises black white image and coloured image.
The second situation: when described print image data is the view data integrated of transmitting by the DICOM print protocol, in this view data integrated, usually include many secondary independently or complete image, so now, described step S3 is specially: to described integrated image carry out the lattice processing according to image information, form a plurality of described image subblocks; Described step S4 is specially: detect the image category of each described image subblock of judgement, common described image category comprises black white image and coloured image.
The third situation: when described print image data for by the printer communication protocol transmission integrated be integrated image the time, in this view data integrated, usually include many secondary independently or complete image, so now, described step S3 is specially: the described image be integrated of having integrated is carried out to the lattice processing, form a plurality of described image subblocks; Described step S4 is specially: detect the image category of the described image subblock of judgement, common described image category comprises black white image and coloured image.
Wherein, in the described step S4 of above-mentioned the second situation and the third situation, described detection judges that the mode of the image category of each described image subblock is generally: the image category according to the value judgement image subblock of the color channel of image subblock pixel judges that this image subblock is black white image if in image subblock, the value of all color channels of each pixel is all identical; If have the value of all color channels of a pixel entirely not identical in image subblock, judge that this image subblock is coloured image.
Enter step S5 after completing steps S1, S2, S3 and S4: printer adds at least two group black ink after can adopting the black and white algorithm of color separation to calculate to above-mentioned black white image sub-block and carries out color separation processing, add at least three group color ink after adopting the color separation algorithm to calculate to the coloured image sub-block and carry out color separation processing, and its processing mode can be to process line by line, can be also that pointwise is processed.For the method for color separation processing, because be known prior art, at this, specifically do not describe in detail, for example, can be with reference to the technical scheme of the patent No. 200810227256.0, patent name " a kind of color separation processing method and device of image file ".
Finally carry out step S6: export the view data after color separation processing to printer or printhead by communication protocol.Specifically, can export by the communication protocol of printer printer to and print, also can export printhead prints to by the communication protocol of printhead.
Above six steps can complete the Method of printing of the medical black and white color mix image of the present embodiment.
In sum, the Method of printing of medical black and white color mix image of the present invention first receives by DICOM print protocol or printer communication agreement the print image data that comprises the three types described in embodiment, again each image subblock of described print image data carried out to the colored judgement of black and white, to the black white image sub-block, adopt the black and white algorithm of color separation to carry out color separation processing, after adopting the color separation algorithm to carry out color separation processing to the coloured image sub-block, can print out the image that the black and white colour mixes mutually.And in the color separation processing process, add at least two group black ink after adopting the black and white algorithm of color separation to calculate to the black white image sub-block and carry out color separation processing, add at least three group color ink after adopting the color separation algorithm to calculate to the coloured image sub-block and carry out color separation processing, this color separation processing mode had both guaranteed high optical density (OD) and the high-contrast of black white image, guarantee again the gorgeous degree of coloured image, met the high standard of medical image fully.This Method of printing of the present invention not only process is simple, easy to operate, is beneficial to the doctor and reads sheet, has avoided again the waste of the black and white colour cost that printing film causes respectively.
The foregoing is only the preferred embodiments of the present invention; not thereby limit its scope of the claims; every equivalent structure or conversion of equivalent flow process that utilizes specification of the present invention and accompanying drawing content to do; directly or indirectly be used in other relevant technical fields, all in like manner be included in scope of patent protection of the present invention.

Claims (9)

1. the Method of printing of a medical black and white color mix image, it is characterized in that: it comprises the following steps:
S1: the inkjet channel of setting ink-jet printer is some black ink passages and some color inks passages, the black ink passage black ink of packing into, the color inks passage color ink of packing into;
S2: by DICOM print protocol or printer communication agreement, receive print image data;
S3: the described print image data received is carried out to the lattice processing, form a plurality of image subblocks, each described image subblock comprises at least one pair independently or complete image;
S4: each described image subblock is carried out to the colored judgement of black and white;
S5: adopt the black and white algorithm of color separation to carry out color separation processing to the black white image sub-block, to the coloured image sub-block, adopt the color separation algorithm to carry out color separation processing;
S6: export the view data after color separation processing to printer or printhead by communication protocol.
2. the Method of printing of medical black and white color mix image according to claim 1, it is characterized in that: the described print image data in described step S2 comprises: any one or several in a plurality of independently image subblock data by the transmission of DICOM print protocol, the view data integrated by the transmission of DICOM print protocol and the view data integrated by the printer communication protocol transmission.
3. the Method of printing of medical black and white color mix image according to claim 2 is characterized in that: when described print image data during for a plurality of independently image subblock data by the transmission of DICOM print protocol,
Described step S3 is specially: follow the DICOM print protocol described a plurality of independently image subblocks are positioned to processing;
Described step S4 is specially: read the image category in the file header of described image subblock, described image category comprises black white image and coloured image.
4. the Method of printing of medical black and white color mix image according to claim 2 is characterized in that: when described print image data during for the view data integrated by the transmission of DICOM print protocol,
Described step S3 is specially: to described integrated image carry out the lattice processing, form a plurality of described image subblocks;
Described step S4 is specially: detect the image category of each described image subblock of judgement, described image category comprises black white image and coloured image.
5. the Method of printing of medical black and white color mix image according to claim 2 is characterized in that: when described print image data for by the printer communication protocol transmission integrated be integrated image the time,
Described step S3 is specially: the described image be integrated of having integrated is carried out to the lattice processing, form a plurality of described image subblocks;
Described step S4 is specially: detect the image category of the described image subblock of judgement, described image category comprises black white image and coloured image.
6. according to the Method of printing of the described medical black and white color mix image of claim 4 or 5, it is characterized in that: in described step S4, described detection judges that the mode of the image category of each described image subblock is: the image category according to the value judgement image subblock of the color channel of image subblock pixel judges that this image subblock is black white image if in image subblock, the value of all color channels of each pixel is all identical; If have the value of all color channels of a pixel entirely not identical in image subblock, judge that this image subblock is coloured image.
7. the Method of printing of medical black and white color mix image according to claim 1, it is characterized in that: in described step S1, described black ink passage at least comprises two groups, and described color inks passage at least comprises three groups.
8. the Method of printing of medical black and white color mix image according to claim 1, it is characterized in that: the form of the described print image data in described step S2 comprises but is not defined as DICOM form, BMP form, jpeg format, tiff format, PCX form, PSD form and CDR form.
9. the Method of printing of medical black and white color mix image according to claim 1, it is characterized in that: described printer communication agreement is the communication protocol that printer carries.
CN201310478769.XA 2013-10-14 2013-10-14 Method for printing medical black-white and colorful mixed image Active CN103481695B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310478769.XA CN103481695B (en) 2013-10-14 2013-10-14 Method for printing medical black-white and colorful mixed image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310478769.XA CN103481695B (en) 2013-10-14 2013-10-14 Method for printing medical black-white and colorful mixed image

Publications (2)

Publication Number Publication Date
CN103481695A true CN103481695A (en) 2014-01-01
CN103481695B CN103481695B (en) 2015-05-27

Family

ID=49822434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310478769.XA Active CN103481695B (en) 2013-10-14 2013-10-14 Method for printing medical black-white and colorful mixed image

Country Status (1)

Country Link
CN (1) CN103481695B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823646A (en) * 2014-02-18 2014-05-28 深圳市巨鼎医疗设备有限公司 Marked ink-jet printing method on basis of cloud printing
CN103963492A (en) * 2014-05-21 2014-08-06 深圳市巨鼎医疗设备有限公司 Medical film printing quality detection method
CN105034619A (en) * 2015-07-10 2015-11-11 刘权 Control device and method
CN110065310A (en) * 2019-05-16 2019-07-30 南京绿旗喷墨技术有限公司 A kind of medical imaging print output system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1113184A (en) * 1993-10-29 1995-12-13 惠普公司 Mixed resolution printing for color and monochrome printers
CN1475860A (en) * 2002-04-23 2004-02-18 ��Τ����˹ Colour dichromic method and its printed product
US20080151335A1 (en) * 2006-12-22 2008-06-26 Canon Kabushiki Kaisha Image output apparatus, image output method,computer program and recording medium
CN201481439U (en) * 2009-06-30 2010-05-26 陈艳冬 Medical images printing system
WO2012048382A1 (en) * 2010-10-15 2012-04-19 Silverbrook Research Pty Ltd Multiple monochromatic print cartridge printing system and print alignment method
CN103042852A (en) * 2012-12-31 2013-04-17 苏州工业园区欣飞数码科技有限公司 Multifunctional plotting and printing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1113184A (en) * 1993-10-29 1995-12-13 惠普公司 Mixed resolution printing for color and monochrome printers
CN1475860A (en) * 2002-04-23 2004-02-18 ��Τ����˹ Colour dichromic method and its printed product
US20080151335A1 (en) * 2006-12-22 2008-06-26 Canon Kabushiki Kaisha Image output apparatus, image output method,computer program and recording medium
CN201481439U (en) * 2009-06-30 2010-05-26 陈艳冬 Medical images printing system
WO2012048382A1 (en) * 2010-10-15 2012-04-19 Silverbrook Research Pty Ltd Multiple monochromatic print cartridge printing system and print alignment method
CN103042852A (en) * 2012-12-31 2013-04-17 苏州工业园区欣飞数码科技有限公司 Multifunctional plotting and printing method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823646A (en) * 2014-02-18 2014-05-28 深圳市巨鼎医疗设备有限公司 Marked ink-jet printing method on basis of cloud printing
CN103823646B (en) * 2014-02-18 2017-08-04 深圳市巨鼎医疗设备有限公司 A kind of method of the inkjet printing of the band sign printed based on cloud
CN103963492A (en) * 2014-05-21 2014-08-06 深圳市巨鼎医疗设备有限公司 Medical film printing quality detection method
CN105034619A (en) * 2015-07-10 2015-11-11 刘权 Control device and method
CN110065310A (en) * 2019-05-16 2019-07-30 南京绿旗喷墨技术有限公司 A kind of medical imaging print output system
CN110065310B (en) * 2019-05-16 2020-10-30 南京绿旗喷墨技术有限公司 Medical image printout system

Also Published As

Publication number Publication date
CN103481695B (en) 2015-05-27

Similar Documents

Publication Publication Date Title
CN103481695B (en) Method for printing medical black-white and colorful mixed image
CN101491075B (en) Image processing device, and image processing method
WO2007095051A8 (en) Self-calibrating printer and printer calibration method
JP6662024B2 (en) Printing apparatus, control method thereof, and computer program
US20130194589A1 (en) Image data processing apparatuses, boundary detection devices, boundary detection methods, and computer-readable storage media for detecting boundaries in an image
CN104512120A (en) Print processing method, device and printer
JP5473257B2 (en) Inkjet recording apparatus and inkjet recording method
EP2192521A3 (en) Method and system for securing communications in a metering device
CN102848739A (en) Monitor printing method and system
CN103481683A (en) Method for supporting output film and report based on single printer
EP3026881B1 (en) Image processing apparatus and image processing method
CN100581215C (en) Color correction method and device of digital printing system
CN101927605B (en) Method for maintaining ink jet head
CN103182863A (en) Distributed ink jetting digital printing method and system of supporting variable data
CN105034619A (en) Control device and method
KR100540072B1 (en) Image recording apparatus
CN103488445B (en) A kind of method that same inspection image exports with report binding
CN100581831C (en) Color printing method
CN103809926B (en) The method of the inkjet printing that a kind of band indicates
CN104943371A (en) Printer, terminal device, and method for obtaining information
BR112020001142A2 (en) apparatus and method for producing a digital printed image
JP5740182B2 (en) Printing device
EP4328798A1 (en) Composite two-dimensional code, printed material, information processing system, and program
JP3996980B2 (en) Image processing device
CN113427889B (en) Printing color correction method, device and system for offset lithography

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 518000 Wensheng center, Wenjin square, East Wenjin Road, Luohu District, Shenzhen, Guangdong, 2001

Patentee after: Shenzhen juding Medical Co.,Ltd.

Address before: 518000 Wensheng center, Wenjin square, East Wenjin Road, Luohu District, Shenzhen, Guangdong, 2001

Patentee before: SHENZHEN JUDING MEDICAL DEVICE Co.,Ltd.

CP01 Change in the name or title of a patent holder