CN103481695B - Method for printing medical black-white and colorful mixed image - Google Patents
Method for printing medical black-white and colorful mixed image Download PDFInfo
- Publication number
- CN103481695B CN103481695B CN201310478769.XA CN201310478769A CN103481695B CN 103481695 B CN103481695 B CN 103481695B CN 201310478769 A CN201310478769 A CN 201310478769A CN 103481695 B CN103481695 B CN 103481695B
- Authority
- CN
- China
- Prior art keywords
- image
- black
- white
- color
- printing
- 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.)
- Active
Links
Landscapes
- Color Image Communication Systems (AREA)
- Measuring And Recording Apparatus For Diagnosis (AREA)
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
Technical field
The present invention relates to 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 of modern medical service level and medical imaging, modality as CT MR DSA not only can export black white image, coloured image can also be exported by post processing.In order to ensure the output quality of black white image, hospital adopts special black and white film printer to export black white image, exports coloured image more in addition by a color printer, such process is loaded down with trivial details, be unfavorable for doctor's diagosis, and at least will 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.
The present invention provide firstly the Method of printing of the first medical black and white color mix 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, and black ink passage loads black ink, and color inks passage loads color ink;
S2: receive print image data by DICOM print protocol;
S3: the described print image data received is carried out lattice process, forms multiple image subblock, each described image subblock comprises at least one pair independently or complete image;
S4: black and white colour is carried out to image subblock described in each and judges;
S5: adopt black and white algorithm of color separation to carry out color separation processing to black white image sub-block, adopts color separation algorithm to carry out color separation processing to coloured image sub-block;
S6: export the view data after color separation processing to printer by communication protocol.
Further, the described print image data in described step S2 is: the view data integrated transmitted by DICOM print protocol.
Further, when described print image data is the view data integrated transmitted by DICOM print protocol,
Described step S3 is specially: to described integrated image carry out lattice process, form multiple described image subblock;
Described step S4 is specially: detect the image category judging image subblock described in each, 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 image subblock described in each is: the image category judging image subblock according to the value of the color channel of image subblock pixel, if the value of all color channels of each pixel is all identical in image subblock, judges that this image subblock is black white image; If there is the value of all color channels of a pixel entirely not identical in image subblock, then 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 DICOM form, BMP form, jpeg format, tiff format, PCX form, PSD form or CDR form.
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 comprising the three types described in embodiment, carry out black and white colour to each image subblock of described print image data again to judge, black and white algorithm of color separation is adopted to carry out color separation processing to black white image sub-block, after adopting color separation algorithm to carry out color separation processing to coloured image sub-block, the image that black and white colour mixes mutually can be printed out.And in color separation processing process, add at least two group black ink after adopting black and white algorithm of color separation to calculate to black white image sub-block and carry out color separation processing, add at least three group color ink after adopting color separation algorithm to calculate to coloured image sub-block and carry out color separation processing, this color separation processing mode both ensure that high optical density (OD) and the high-contrast of black white image, in turn ensure that the gorgeous degree of coloured image, meet the high standard of medical image completely.This Method of printing of the present invention not only process is simple, easy to operate, is beneficial to doctor's diagosis, turn avoid the cost waste that the colored printing film respectively of black and white causes.
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 will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Detailed description of the invention
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.
With reference to 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, and black ink passage loads black ink, and color inks passage loads color ink;
S2: receive print image data by DICOM print protocol or printer communication agreement;
S3: the described print image data received is carried out lattice process, forms multiple image subblock, each described image subblock comprises at least one pair independently or complete image;
S4: black and white colour is carried out to image subblock described in each and judges; So that described image subblock is divided into black white image sub-block and coloured image sub-block.
S5: adopt black and white algorithm of color separation to carry out color separation processing to black white image sub-block, adopts color separation algorithm to carry out color separation processing to coloured image sub-block;
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.To make in the color separation processing process of step S5, add at least two group black ink after adopting black and white algorithm of color separation to calculate to black white image sub-block and carry out color separation processing, add at least three group color ink after adopting color separation algorithm to calculate to coloured image sub-block and carry out color separation processing, this color separation processing mode both ensure that high optical density (OD) and the high-contrast of black white image, in turn ensure that the gorgeous degree of coloured image, meet the high standard of medical image completely.
Described print image data in described step S2 comprises: the multiple independently image subblock data transmitted by DICOM print protocol, the view data integrated transmitted by DICOM print protocol and by the view data integrated of printer communication protocol transmission any one or several.
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.
Thus, the first situation: when described print image data is the multiple independently image subblock data transmitted by DICOM print protocol, described step S3 is specially: follow DICOM print protocol and described multiple independently image subblock is positioned process, locate to make image subblock by pre-defined rule; Described step S4 is specially: directly read the image category in the file header of described image subblock, usual described image category comprises black white image and coloured image.
The second situation: when described print image data is the view data integrated transmitted by DICOM print protocol, usually include in this view data integrated many secondary independently or complete image, so now, described step S3 is specially: to described integrated image carry out lattice process according to image information, form multiple described image subblock; Described step S4 is specially: detect the image category judging image subblock described in each, usual described image category comprises black white image and coloured image.
The third situation: when described print image data be by printer communication protocol transmission integrated be integrated image time, usually include in this view data integrated many secondary independently or complete image, so now, described step S3 is specially: carry out lattice process to the described image be integrated integrated, form multiple described image subblock; Described step S4 is specially: detect the image category judging described image subblock, usual described image category comprises black white image and coloured image.
Wherein, in the described step S4 of above-mentioned the second situation with the third situation, described detection judges that the mode of the image category of image subblock described in each is generally: the image category judging image subblock according to the value of the color channel of image subblock pixel, if the value of all color channels of each pixel is all identical in image subblock, judges that this image subblock is black white image; If there is the value of all color channels of a pixel entirely not identical in image subblock, then judge that this image subblock is coloured image.
Step S5 is entered: printer adds at least two group black ink after black and white algorithm of color separation being adopted to calculate to above-mentioned black white image sub-block and carries out color separation processing after completing steps S1, S2, S3 and S4, add at least three group color ink after adopting color separation algorithm to calculate to coloured image sub-block and carry out color separation processing, and its processing mode can be process line by line, it also can be pointwise process.For the method for color separation processing because be known prior art, specifically do not describe in detail at this, such as, can refer to the technical scheme of the patent No. 200810227256.0, patent name " a kind of color separation processing method of image file and device ".
Finally carry out step S6: export the view data after color separation processing to printer or printhead by communication protocol.Specifically, printer can be exported to by the communication protocol of printer 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 comprising the three types described in embodiment, carry out black and white colour to each image subblock of described print image data again to judge, black and white algorithm of color separation is adopted to carry out color separation processing to black white image sub-block, after adopting color separation algorithm to carry out color separation processing to coloured image sub-block, the image that black and white colour mixes mutually can be printed out.And in color separation processing process, add at least two group black ink after adopting black and white algorithm of color separation to calculate to black white image sub-block and carry out color separation processing, add at least three group color ink after adopting color separation algorithm to calculate to coloured image sub-block and carry out color separation processing, this color separation processing mode both ensure that high optical density (OD) and the high-contrast of black white image, in turn ensure that the gorgeous degree of coloured image, meet the high standard of medical image completely.This Method of printing of the present invention not only process is simple, easy to operate, is beneficial to doctor's diagosis, turn avoid the cost waste that the colored printing film respectively of black and white causes.
The foregoing is only the preferred embodiments of the present invention; not thereby its scope of the claims is limited; every utilize description of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; directly or indirectly be used in the technical field that other are relevant, be all in like manner included in scope of patent protection of the present invention.
Claims (6)
1. a Method of printing for medical black and white color mix image, 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, and black ink passage loads black ink, and color inks passage loads color ink;
S2: receive print image data by DICOM print protocol;
S3: the described print image data received is carried out lattice process, forms multiple image subblock, each described image subblock comprises at least one pair independently or complete image;
S4: black and white colour is carried out to image subblock described in each and judges;
S5: adopt black and white algorithm of color separation to carry out color separation processing to black white image sub-block, adopts color separation algorithm to carry out color separation processing to coloured image sub-block;
S6: export the view data after color separation processing to printer by communication protocol.
2. the Method of printing of medical black and white color mix image according to claim 1, be is characterized in that: the described print image data in described step S2 is: the view data integrated transmitted by DICOM print protocol.
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 is the view data integrated transmitted by DICOM print protocol,
Described step S3 is specially: carry out lattice process to the described image integrated, and forms multiple described image subblock;
Described step S4 is specially: detect the image category judging image subblock described in each, 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 3, it is characterized in that: in described step S4, described detection judges that the mode of the image category of image subblock described in each is: the image category judging image subblock according to the value of the color channel of image subblock pixel, if the value of all color channels of each pixel is all identical in image subblock, judges that this image subblock is black white image; If there is the value of all color channels of a pixel entirely not identical in image subblock, then judge that this image subblock is coloured image.
5. 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.
6. the Method of printing of medical black and white color mix image according to claim 1, is characterized in that: the form of the described print image data in described step S2 comprises DICOM form, BMP form, jpeg format, tiff format, PCX form, PSD form or CDR form.
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 CN103481695A (en) | 2014-01-01 |
CN103481695B true 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) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN110065310B (en) * | 2019-05-16 | 2020-10-30 | 南京绿旗喷墨技术有限公司 | Medical image printout system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5949453A (en) * | 1993-10-29 | 1999-09-07 | Hewlett-Packard Company | Mixed resolution printing for color and monochrome printers |
US7256910B2 (en) * | 2002-04-23 | 2007-08-14 | Weyerhaeuser Company | Color separation method and printed product of the method |
JP4823052B2 (en) * | 2006-12-22 | 2011-11-24 | キヤノン株式会社 | Image output method and image output apparatus |
CN201481439U (en) * | 2009-06-30 | 2010-05-26 | 陈艳冬 | Medical images printing system |
JP5871335B2 (en) * | 2010-10-15 | 2016-03-01 | メムジェット テクノロジー リミテッド | Multi-stage single color print cartridge type printing system and printing alignment method |
CN103042852A (en) * | 2012-12-31 | 2013-04-17 | 苏州工业园区欣飞数码科技有限公司 | Multifunctional plotting and printing method |
-
2013
- 2013-10-14 CN CN201310478769.XA patent/CN103481695B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN103481695A (en) | 2014-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103481695B (en) | Method for printing medical black-white and colorful mixed image | |
WO2007095051A8 (en) | Self-calibrating printer and printer calibration method | |
US8477367B2 (en) | System and method for selectively printing color content of a page with a reduced color gamut and billing based on printed content | |
US8786903B2 (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 | |
CN103856686A (en) | Image processing device, image forming apparatus, and image processing method | |
JP5473257B2 (en) | Inkjet recording apparatus and inkjet recording method | |
CN102848739B (en) | Monitor printing method and system | |
CN103481683B (en) | The method of film and report is exported based on separate unit printer support | |
CN103182852A (en) | Ink supplement method and ink supplement device of digital ink jet printing equipment | |
CN100581215C (en) | Color correction method and device of digital printing system | |
EP3026881B1 (en) | Image processing apparatus and image processing method | |
CN101927605B (en) | Method for maintaining ink jet head | |
JP2011148234A (en) | Image printing method and image printer | |
KR20060051730A (en) | Data embedding scheme for duplex color laser printer | |
US8922839B2 (en) | Information processing apparatus and information processing method | |
CN105034619A (en) | Control device and method | |
CN100581831C (en) | Color printing method | |
CN101185321B (en) | Image data generation device and method, and thermal transfer/recording device | |
US20140153008A1 (en) | A method, an apparatus and a printing equipment for printing documents | |
US20200023649A1 (en) | Image forming system, density adjusting method, and recording medium | |
BR112020001142A2 (en) | apparatus and method for producing a digital printed image | |
JP2006231823A (en) | Reduction of bronzing generated in monochrome image | |
CN104943371A (en) | Printer, terminal device, and method for obtaining information | |
KR20040016392A (en) | Image recording apparatus |
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 | ||
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. |