Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Fast Display Method of Grayscale Image

A grayscale image and display method technology, applied in the field of medical grayscale image processing, can solve problems such as difficult to achieve

Active Publication Date: 2020-09-29
彭志勇
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] And because when displaying grayscale images (such as medical imaging DICOM images, etc.), some textual information needs to be displayed around the image, such as the information of the image, the information of the person to whom the image belongs, etc., and usually the user also needs to display on the image Perform operations such as sketching, but these operations are very difficult to implement in the WebGL programming interface

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be described in further detail below, so that those skilled in the art can implement it with reference to the description.

[0023] An embodiment of the present invention provides a method for quickly displaying a grayscale image. The method includes: in the area where the grayscale image needs to be displayed in the browser webpage, an upper canvas object located on the top and a lower canvas object located below are created with exactly the same size. object, and the upper layer canvas object and the lower layer canvas object are placed overlappingly, during the specific operation process, the priority of the canvas object display is controlled by the z-index attribute; the upper layer canvas object uses a 2d programming interface to respond to the user mouse operation, output text and graphics, the graphics can be straight lines, circles, etc., and the background color of the upper canvas object is set to be transparent; the lower canvas obj...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a quick display method of a grayscale image. The method comprises the steps that an upper-layer canvas object and a lower-layer canvas object which are completely the same in size and located on the upper portion and the lower portion respectively are established in an area, wherein a gray image needs to be displayed, in a browser webpage, and the upper-layer canvas object and the lower-layer canvas object are placed in an overlapped mode, the upper-layer canvas object uses a 2d programming interface and is used for responding to mouse operation of a user and outputtingcharacters and graphs, the background color of the upper-layer canvas object is set to be transparent, the lower-layer canvas object uses a WebGL programming interface to calculate and adjust the window width / window position of the grayscale image, and rotates, scales and inverts the grayscale image so as to facilitate display of the grayscale image. According to the method, layered display and updating of the grayscale image are realized, the processing performance of the grayscale image is greatly improved, and meanwhile, the display speed of the grayscale image is also improved.

Description

technical field [0001] The invention relates to the field of medical grayscale image processing. More specifically, the present invention relates to a fast display method for grayscale images. Background technique [0002] When displaying an image on a browser, since the browser can only directly display an image with 8 bits per channel, the Image object and canvas object in the HTML DOM also convert the image into an 8-bit per channel display when processing and displaying the image. [0003] However, when displaying medical grayscale images, it is often necessary to apply Modality LUT (window width / window level adjustment), rotation / anti-whitening, etc. to the image before displaying it to the user; especially for 9-16-bit grayscale images, then It must be converted to an 8-bit image after the window width / window level adjustment operation and then displayed. However, when displaying a grayscale image in a browser, the commonly used window width and level adjustment calc...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/957
CPCG06F16/9574G06F16/9577
Inventor 彭志勇
Owner 彭志勇
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products