【The content of the invention】
It is an object of the invention to provide a kind of brightness adjusting method of image.
The brightness control system of the image of the present invention is to be achieved through the following technical solutions:One kind is used in magnetic resonance system
Image brightness control system, it includes:
Module is rebuild, the signal for merging receiving coil is rebuild to obtain original image;
Searching modul, for searching the brightness range [Smin, Smax] of original image;
Setting module, for setting brightness limit value F, wherein F < 2N, and F takes positive integer, N is the digit of image;
Computing module, for calculating luminance factor α, α=F/ (Smax-Smin);
Conversion module, for utilizing formula Id=α * Ir, original image is changed into DICOM images, wherein, Id is
The brightness of DICOM images, Ir are the brightness of original image.
In a preferred embodiment, the original image brightness minimum value Smin is 0.
In a preferred embodiment, the digit N of described image is 12.
In a preferred embodiment, described image brightness limit value F default value is 4095.
In a preferred embodiment, the brightness storage of array of the original image, the brightness model of the original image
Enclose by traveling through the array, by comparing what is obtained two-by-two.
The brightness adjusting method of the image of the present invention is to be achieved through the following technical solutions:One kind is used in magnetic resonance system
Image brightness adjusting method, it includes:
The signal for merging receiving coil is rebuild to obtain original image;
Search the brightness range [Smin, Smax] of original image;
Set brightness limit value F, wherein F < 2N, and F takes positive integer, N is the digit of image;
Calculate luminance factor α, α=F/ (Smax-Smin);
Using formula Id=α * Ir, original image is changed into DICOM images, wherein, Id is the brightness of DICOM images,
Ir is the brightness of original image.
In a preferred embodiment, the original image brightness minimum value Smin is 0.
In a preferred embodiment, the digit N of described image is 12.
In a preferred embodiment, described image brightness limit value F default value is 4095.
In a preferred embodiment, the brightness storage of array of the original image, by traveling through the array, passing through
Compare to obtain the brightness range of the original image two-by-two.
Compared with prior art, it is of the invention by calculating luminance factor automatically, it is ensured that to overflow in picture carrier portion
Go out, while the maximum gray scale order range of magnetic resonance DICOM images can also be utilized to greatest extent.
【Embodiment】
It refer to shown in Fig. 1, Fig. 1 illustrates the critical piece of the magnetic resonance system 10 comprising the present invention, and the system is logical
Cross operator's console 12 to be controlled, console 12 includes keyboard and/or other input equipments 13, control panel 14 and shown
Display screen 16.Console 12 is connected by connection member 18 with an independent computer system 20, and computer system 20 can make operation
Member can control the generation and display of image on display screen 16.The computer system 20 includes being communicated with each other by backboard 20a
Some modules, these modules include image processor module 22, CPU modules 24 and memory modules 26, and memory modules 26 can
Be known to industry be used for storage image data group frame buffer.Computer system 20 is connected with hard disk 28 and magnetic disc 30, is deposited
View data and program are stored up, and is connected by high speed serialization connection 34 with an autonomous control system 32.
Control system 32 includes the one group of module to be interconnected by a backboard 32a, and the module includes CPU moulds
Group 36, the impulse generator module 38 being connected by being connected in series (serial link) 40 with console 12.Control system 32 is logical
Cross the instruction for the scanning sequence (scan sequence) that needs of the reception of serial connection 40 from operator perform.Pulse generation
The runtime component of device module 38, performs the scanning sequence specified, output data, such as:The meter of the radio-frequency pulse of radio-frequency transmissions
When, intensity, shape, the timing of radio frequency reception and the length of data acquisition window.Impulse generator module 38 is connected to a series of
Gradient amplifier system 42, for controlling the duration and shape of caused gradient pulse in (indicate) scanning process.Pulse
Generator module 38 can receive patient information from physiological acquisition controller 44, and the physiological acquisition controller 44 is by being connected to
Some different sensor collection signals of patient, such as ECG signal is obtained by the electrode with patient.Arteries and veins
Rush generator module 38 and be ultimately connected to scan room interface circuit 46, scan room interface circuit 46 receive with the state of an illness and magnetic resonance into
The signal as caused by system related sensor.By scan room interface circuit 46, patient positioning system 48 receives instruction, mobile
Patient is scanned to specified location.
Gradient waveform caused by impulse generator module 38 is applied to the gradient amplifier system 42 with Gx, Gy, Gz,
Each gradient amplifier excites a corresponding gradient coil in gradient coil set 50, produces for generating additional space coding letter
Number magnetic field gradient.Gradient coil set 50 is a part for magnetic assembly 52, and magnetic assembly 52 also includes polarized magnets 54 and body is penetrated
Frequency coil 56.Pulse caused by transceiver module 58 in control system 32 is amplified by radio frequency amplifier 60, passes through transmission/reception
Switch 62 is coupled with radio-frequency coil 56.The signal that the atomic nucleus being excited in patient body is sent is perceived by radio-frequency coil 56
Arrive, preamplifier 64 is then transferred to by transmission/reception switch 62, the magnetic resonance signal of amplification passes through transceiver module 58
Acceptance division be demodulated, filter, digitized processing.Transmission/reception switch 62 can be by the signal of impulse generator module 38
Control, so as to be electrically connected with radio frequency amplifier 60 and radio-frequency coil 56 in the transmission mode, in the receiving mode, before electric connection
Put amplifier 64 and radio-frequency coil 56.Transmission/reception switch 62 can send out single radio-frequency coil (such as surface coils)
Used under the pattern penetrated and received.
The magnetic resonance signal that radio-frequency coil 56 is collected is digitized processing by transceiver module 58, is then communicated to control
Storage module 66 in system 32 processed.After the one group of original k- spatial data of acquisition of module 66 is stored, the end of scan.Original
K- spatial datas are rearranged into the corresponding individually k- space data sets of reconstructed image, each k- spaces with each
Data group is input into array processor 68, combines magnetic resonance signal after carrying out image reconstruction, forms one group of view data, image
Data are transferred to computer system 20 by serial connection 34, and are stored in storage device such as hard disk 28.Sent out with console 12
The instruction gone out is corresponding, and described image data can store for a long time, such as is stored on magnetic disc 30, or by image at
Reason device 22 is further processed and is sent to console 12, and is shown on display screen 16.
Fig. 2 be the present invention it is a kind of be used for magnetic resonance system in image brightness control system, it include reconstruction module,
Searching modul, setting module, computing module and conversion module.
Module is rebuild, the signal for merging receiving coil is rebuild to obtain original image.
Wherein, it is image processing module 22 described above to rebuild module.The original image is a serial image,
One serial image refers to obtain the image of DICOM images after same luminance factor is converted.
Searching modul, for searching the brightness range [Smin, Smax] of original image.
Wherein, the function of searching modul is completed by CPU modules 24 described above.In internal memory, the brightness of image
Value is typically exactly to be stored with array.The brightness range of original image is calculated by traveling through whole array, comparing two-by-two
[Smin, Smax].
Setting module, for setting brightness limit value F, wherein F < 2N, and F takes positive integer, N is the digit of image.
Wherein, setting module can input the brightness by the keyboard on console 12 and/or other input equipments 13 and limit
Value F.When display screen 16 is touch-screen, brightness limit value F can also be set by display screen.
Computing module, for calculating luminance factor α, α=F/ (Smax-Smin).
Wherein, computing module is a module in CPU modules 24.
Conversion module, for utilizing formula Id=α * Ir, original image is changed into DICOM images, wherein, Id is
The brightness of DICOM images, Ir are the brightness of original image.It is arranged such, by calculating luminance factor automatically, it is ensured that image
Luminance signals portion overflows, while can also utilize the maximum gray scale order range of magnetic resonance DICOM images to greatest extent.
Wherein, conversion module is a module in computer system 20.
In the present embodiment, Smin=0, N=12, F value can be set according to the preference of user, wherein, F values
Default value takes 4095.
Fig. 3 is a kind of brightness adjusting method of image being used in magnetic resonance system of the present invention, and it includes:
The signal for merging receiving coil is rebuild to obtain original image.
Search the brightness range [Smin, Smax] of original image.
Set brightness limit value F, wherein F < 2N, and F takes positive integer, N is the digit of image.
Calculate luminance factor α, α=F/ (Smax-Smin).
Using formula Id=α * Ir, original image is changed into DICOM images, wherein, Id is the brightness of DICOM images,
Ir is the brightness of original image.
One embodiment of the present invention is the foregoing is only, is not all of or unique embodiment, this area is common
Technical staff is the present invention by reading description of the invention any equivalent change for taking technical solution of the present invention
Claim covered.