[summary of the invention]
The object of the present invention is to provide a kind of new method of utilizing data processing terminal control digit microscope output image, technical matters to be solved is to make data processing terminal may command digit microscope increase the transmission frame number of the vedio data of selected zonule, thereby improves the video fluency of this zonule.
The object of the invention to solve the technical problems realizes by the following technical solutions.According to a kind of method of utilizing data processing terminal control digit microscope output image that invention proposes, comprising: step S100: digit microscope obtains the vedio data of whole visibility regions, and this vedio data is transferred to data processing terminal; Step S101: data processing terminal detects whether to get access to the information of new region-of-interest, as does not get access to region-of-interest information and carry out step S102, as gets access to region-of-interest information and carry out step S103; Step S102: the vedio data of whole visibility regions that data processing terminal will receive is handled the back and is shown by display, and continues execution in step S100; Step S103: data processing terminal with the last frame image data storage of current whole visibility regions of obtaining to storage unit; Step S104: data processing terminal generates and can all determine the coordinate of region-of-interest position in the visibility region according to the information of region-of-interest, and will comprise that the steering order of this coordinate data is sent to digit microscope; Step S105: digit microscope is distinguished region-of-interest and non-region-of-interest according to the coordinate control chart image-position sensor that is comprised in the steering order, make imageing sensor take distinguishing image acquisition mode, and only export the vedio data of region-of-interest to data processing terminal region-of-interest and non-region-of-interest; Step S106: data processing terminal shows the image of whole visibility regions of the video image of region-of-interest and current storage respectively, and before the video image of region-of-interest being shown in the image of whole visibility regions of current storage.
The object of the invention to solve the technical problems also can be applied to the following technical measures to achieve further.
The aforesaid method of utilizing data processing terminal control digit microscope output image, it also is included in the step S108 that carries out behind the described step S106: detected the information that whether gets access to new region-of-interest by data processing terminal, as do not get access to new region-of-interest information and carry out step S105, as get access to new region-of-interest information and carry out step S104.
The aforesaid method of utilizing data processing terminal control digit microscope output image, whether it also is included in the step S107 that carries out behind the described step S106: detected to get access to by data processing terminal and finish the instruction of the video image of transmission region-of-interest separately, as get access to this and instruct then execution in step S100, as do not get access to this and instruct then execution in step S108 or step S105.
Before the described method of utilizing data processing terminal control digit microscope output image, described step S106 also comprises: data processing terminal is presented at the video image of region-of-interest according to coordinate on the relevant position of image of whole visibility regions.
The aforesaid method of utilizing data processing terminal control digit microscope output image, it also comprises: data processing terminal will be the coordinate with respect to Zone Full according to the coordinate conversion that whole visibility regions generate, promptly be converted to the coordinate of the photosensitive array of imageing sensor, and the coordinate of the photosensitive array of this imageing sensor is sent to digit microscope, digit microscope utilizes the coordinate of the photosensitive array of this imageing sensor to distinguish region-of-interest and non-region-of-interest.
The aforesaid method of utilizing data processing terminal control digit microscope output image, it also comprises: each manufacturer of storage in data processing terminal, the black surround width of the imageing sensor of model, data processing terminal obtains the manufacturer of digit microscope after electrically connecting with digit microscope, model, manufacturer according to digit microscope, model is transferred corresponding black surround width, the coordinate conversion that will generate according to whole visibility regions according to the black surround width of transferring is the coordinate of the photosensitive array of imageing sensor, and the coordinate that is comprised in the steering order is the coordinate for the photosensitive array of this imageing sensor.
The aforesaid method of utilizing data processing terminal control digit microscope output image, the method that described data processing terminal obtains region-of-interest information comprises: what data processing terminal received user's input comprises the region-of-interest information instruction, and obtains region-of-interest information according to this instruction.
The aforesaid method of utilizing data processing terminal control digit microscope output image, the method that described data processing terminal obtains region-of-interest information comprises: data processing terminal is judged the dynamic area according to the image recognition mode, and generates region-of-interest information according to the dynamic area.
The aforesaid method of utilizing data processing terminal control digit microscope output image, described imageing sensor takes distinguishing image acquisition mode to comprise to region-of-interest and non-region-of-interest: before obtaining picture signal, region-of-interest is carried out exposure-processed, non-region-of-interest is not carried out the step of exposure-processed.
By technique scheme, the present invention utilizes the method for data processing terminal control digit microscope output image to have following advantage:
One, the present invention is by the microscopical control of data processing terminal logarithmic code, make digit microscope only transmit the vedio data of region-of-interest to data processing terminal, data processing terminal with the image of whole visibility regions as a setting, before the video image of region-of-interest is shown in background, thereby increased the output frame number of the video image of region-of-interest greatly, and the user understands region-of-interest other regional images in addition by background.
Two, the present invention makes digit microscope can gather region-of-interest video image and all switchings between the visibility region video image, thereby is user-friendly to by the microscopical control of data processing terminal logarithmic code.
[embodiment]
Reach technological means and the effect that predetermined purpose is taked for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, a kind of method of utilizing data processing terminal control digit microscope output image to foundation the present invention proposition, its embodiment, structure, feature and effect thereof, describe in detail as after.
, be the structural representation of digit microscope please referring to shown in Figure 1.This digit microscope comprises imageing sensor, analog to digital converter, control module, interface module.Imageing sensor is gathered light signal, and the light signal of gathering is changed into analog electrical signal be transferred to analog to digital converter, analog to digital converter becomes digital data transmission to give control module the analog signal conversion that receives, control module is passed to interface module with the data of receiving, interface module can be carried out data transmission with data processing terminal.
Data processing terminal described in the present invention is for having the equipment of display, interface module, processing module, storage unit, interface module can be carried out data transmission with digit microscope, processing module receives the view data of obtaining by interface module, and this view data decoded and handle after export display to, display shows the data that the various data processing of cell stores are required with the view data of processing module output.
According to prior art as can be known, when the resolution of the image that obtains at digit microscope is higher, volume of transmitted data between digit microscope and data processing terminal will be quite big, but reduce the quality that resolution can greatly reduce respective image, and the user to use microscope be exactly the image that will see higher image quality, therefore reduce picture quality and run counter to the user and use microscope to see the original intention of high-quality image.
With regard to microscopical purposes, whole visibility regions that imageing sensor obtained of general digit microscope are not the Zone Full that the user pays close attention to, and are zone or user-selected fixed a certain zones around the object in the motion and the user paid close attention to.
For this reason, the present invention has utilized data processing terminal to send the coordinate of region-of-interest to digit microscope, make digit microscope only transmit the vedio data of region-of-interest to data processing terminal, but not the image of region-of-interest do not transmit after not gathering or gathering, data processing terminal with the image of whole visibility regions of current storage as a setting image be shown in the video image rear side of region-of-interest.
The method that the present invention utilizes data processing terminal control digit microscope output image as shown in Figure 2, this method comprises:
Step S100: digit microscope obtains the vedio data of whole visibility regions, and this vedio data is transferred to data processing terminal;
Step S101: data processing terminal detects whether to get access to the information of new region-of-interest, as does not get access to region-of-interest information and carry out step S102, as gets access to region-of-interest information and carry out step S103;
Step S102: the vedio data of whole visibility regions that data processing terminal will receive is handled the back and is shown by display, and continues execution in step S100;
Step S103: data processing terminal with the last frame image data storage of current whole visibility regions of obtaining to storage unit;
Step S104: data processing terminal generates and can all determine the coordinate of region-of-interest position in the visibility region according to the information of region-of-interest, and will comprise that the steering order of this coordinate data is sent to digit microscope;
Step S105: digit microscope is distinguished region-of-interest and non-region-of-interest according to the coordinate control chart image-position sensor that is comprised in the steering order, make imageing sensor take distinguishing image acquisition mode, and only export the vedio data of region-of-interest to data processing terminal region-of-interest and non-region-of-interest;
Step S106: data processing terminal shows the image of whole visibility regions of the video image of region-of-interest and current storage respectively, and before the video image of region-of-interest being shown in the image of whole visibility regions of current storage, circulation execution in step S101.
This method also is included in the step S108 that carries out behind the described step S106: detected the information that whether gets access to new region-of-interest by data processing terminal, as do not get access to new region-of-interest information and carry out step S105, as get access to new region-of-interest information and carry out step S104.
In order to make the present invention can switch to the video image of whole visibility regions from the video image of region-of-interest, whether this method also is included in the step S107 that carries out behind the described step S106: detected to get access to by data processing terminal and finish the instruction of the video image of transmission region-of-interest separately, as get access to this and instruct then execution in step S100, as do not get access to this and instruct then execution in step S108 or step S105.
The above-mentioned coordinate of determining the region-of-interest position can be a coordinate figure that only is used for determining the region-of-interest position, the size and the shape information of region-of-interest are stored in data processing terminal, and region-of-interest size and shape information are together generated steering order with coordinate by data processing terminal, after getting access to steering order, digit microscope determines region-of-interest position, size and shape according to coordinate figure, region-of-interest size, region-of-interest shape.Above-mentionedly determine that the coordinate of region-of-interest position also can be the set of coordinates that comprises each vertex position of region-of-interest, digit microscope is determined region-of-interest position, size and shape according to this set of coordinates.Because the method for above-mentioned definite region-of-interest size, shape is all extensively disclosed by prior art institute, so do not repeat them here.
According to said method, data processing terminal can show the video image of the region-of-interest with higher video fluency, and the image of whole visibility regions of current storage is shown in the region-of-interest rear side as a setting.
Please extremely shown in Figure 5 referring to Fig. 3, Fig. 3 is the synoptic diagram of the image of whole visibility regions as a setting, Fig. 4 is the synoptic diagram that the video image of region-of-interest is shown in image front side shown in Figure 3, and Fig. 5 is the synoptic diagram behind the relevant position of the image that is shown in whole visibility regions of the video image with region-of-interest.By accompanying drawing as can be known, when data processing terminal does not mate the display position of the video image of region-of-interest 20, the video image of region-of-interest 20 is not match and an area image of independent displaying with background 10, make the user can't learn the corresponding relation of region-of-interest 20 and whole visibility regions 10 in use, for this reason, method of the present invention also can comprise: data processing terminal is presented at the video image of region-of-interest 20 according to coordinate on the relevant position of image of whole visibility regions 10 of current storage, thereby realize seamless amalgamation, make the user can accurately grasp the position of region-of-interest in whole visibility regions 10, so that operation.
Particularly, the coordinate of region-of-interest is to calculate its relative position in whole visibility regions by data processing terminal to generate, this coordinate is with respect to whole visibility regions, but because with the difference of each manufacturer, model, all there is the black surround (L as shown in Figure 6 of different in width in above-mentioned imageing sensor
x, L
y), the image of being gathered on these black surrounds is not exported, imageing sensor is only exported the picture signal in whole visibility regions, so above-mentioned coordinate can't be corresponding with the Zone Full (i.e. the zone that is formed jointly by whole visibility regions and black surround) that imageing sensor obtains, therefore, the coordinate conversion that above-mentioned data processing terminal need generate according to whole visibility regions be the coordinate with respect to Zone Full, promptly be converted to the coordinate of the photosensitive array of imageing sensor, the coordinate that is comprised in the steering order that data processing terminal generates is the coordinate for the photosensitive array of this imageing sensor, as shown in Figure 6, coordinate (X
1, Y
1But) be on whole visibility regions by the formed coordinate of quantity of the point of images acquired, its conversion institute according to formula is:
x
2=x
1+L
x
y
2=y
1+L
y
L
x, L
yBe respectively on x direction and the y direction can not images acquired the quantity of point
Above-mentioned data processing terminal will be sent to digit microscope after the coordinate conversion according to whole visibility regions generations, and digit microscope utilizes the coordinate control chart image-position sensor of the photosensitive array of this imageing sensor to obtain the video image of region-of-interest.
In the prior art, imageing sensor has partly been removed black surround with the video image output of the image of whole visibility regions or region-of-interest the time, thereby, when data processing terminal is presented at the video image of region-of-interest according to coordinate on the relevant position of image of whole visibility regions of current storage, only need coordinate (X according to the region-of-interest that on whole visibility regions, forms
1, Y
1) can discern region-of-interest in whole relevant positions of visibility regions, again the video image of region-of-interest is presented on the relevant position of image of whole visibility regions.
In addition, be applicable to the imageing sensor of each manufacturer, model for making method of the present invention, this method also comprises: the black surround width of the imageing sensor of each manufacturer of storage, model in data processing terminal; Data processing terminal obtains manufacturer, the model of digit microscope after electrically connecting with digit microscope, transfer corresponding black surround width according to manufacturer, the model of digit microscope, and the coordinate conversion that will generate according to whole visibility regions according to the black surround width of transferring is the coordinate of the photosensitive array of imageing sensor.
The method that above-mentioned data processing terminal obtains region-of-interest information comprises: what data processing terminal received user's input comprises the region-of-interest information instruction, and judge the dynamic area according to the image recognition mode, and generate the step of region-of-interest information according to the dynamic area according to step and/or data processing terminal that this instruction obtains region-of-interest information.
Among the above-mentioned steps S105, imageing sensor is taked distinguishing image acquisition mode to be meant to region-of-interest and non-region-of-interest region-of-interest to be carried out exposure-processed, non-region-of-interest is not carried out exposure-processed, can realize the vedio data of region-of-interest is gathered separately after handling by this kind mode.