CN102393952A - Image magnifying and measuring method and device - Google Patents

Image magnifying and measuring method and device Download PDF

Info

Publication number
CN102393952A
CN102393952A CN2011101836962A CN201110183696A CN102393952A CN 102393952 A CN102393952 A CN 102393952A CN 2011101836962 A CN2011101836962 A CN 2011101836962A CN 201110183696 A CN201110183696 A CN 201110183696A CN 102393952 A CN102393952 A CN 102393952A
Authority
CN
China
Prior art keywords
image
magnifier
enlarged
measured value
virtual image
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.)
Pending
Application number
CN2011101836962A
Other languages
Chinese (zh)
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 Certainn Technology Co Ltd
Original Assignee
Shenzhen Certainn Technology 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 Certainn Technology Co Ltd filed Critical Shenzhen Certainn Technology Co Ltd
Priority to CN2011101836962A priority Critical patent/CN102393952A/en
Publication of CN102393952A publication Critical patent/CN102393952A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an image magnifying and measuring method and an image magnifying and measuring method. The method comprises the following steps of: detecting to determine a current position coordinate range of a virtual image magnifier, selected by a user, in an image display region; capturing an image in a check box and displaying the image in a magnification display box of the virtual image magnifier; and measuring and drawing the image in the magnification display box to acquire a measured value and an actual measured value of the image, and recording the actual measured value. By adopting the method and the device, a part of the image or all parts of the image are measured and drawn after being magnified and displayed according to a requirement; and thus the measured value with higher measurement precision can be acquired.

Description

A kind of image amplifying measurement method and device
Technical field
The present invention relates to the image measurement technology field, relate in particular to a kind of image amplifying measurement method and device.
Background technology
All kinds of image processing systems all need carry out post-processed to image, must possess the function that image amplifies, and particularly in medical image processing system, measure after need image being amplified usually, so that the precision of measuring.
The Method and kit for that has had at present can be measured image, and after can amplifying, measures, the method that is provided like the LeadTools instrument; Can entire image be amplified the back measures; But in practical application, the user often only to some interested rather than measurement by magnification of view picture figure in zone, possibly drag scroll bar after view picture figure amplifies and carry out searching of area-of-interest; Waste time and energy, and do not have the Prwsnt region-of-interest.
Summary of the invention
Embodiment of the invention technical matters to be solved is, a kind of image amplifying measurement method and device are provided, and can carry out measuring after the enlarged and displayed to the local or all images in the image as required.
In order to solve the problems of the technologies described above, the embodiment of the invention provides a kind of image amplifying measurement method, comprising:
The current position coordinates scope in image display area of choice box in the virtual image magnifier that the definite user of detection chooses, said virtual image magnifier comprises choice box and enlarged and displayed frame, said image display area shows original image;
Testing image in the said choice box current position coordinates of the intercepting scope; And the said testing image of intercepting is shown enlarged in the said enlarged and displayed frame according to the enlargement factor that presets, said testing image is the local or all images of the original image that shows in the said image display area;
The figure and the detected mouse action that are used for the testing image of said enlarged and displayed frame is measured drafting according to the user chooses obtain measurement pattern;
Calculate the pairing measured value of this measurement pattern, and calculate the actual measured value of said testing image according to this measured value;
Write down the actual measured value of said testing image.
Wherein, the pairing measured value of this measurement pattern of said calculating, and calculate the step of the actual measured value of said testing image according to this measured value, specifically comprise:
Position coordinates according to the mouse starting point of said measurement pattern in said image enlarged and displayed frame calculates the pairing measured value of this measurement pattern;
This measured value divided by said enlargement factor, is obtained the pairing actual measured value of treating enlarged image of images displayed in the said image enlarged and displayed frame.
Wherein, before the step of the current position coordinates scope in image display area of image choice box of the virtual image magnifier that said detection user chooses, also comprise:
Detect the mouse action incident of user, and the virtual image magnifier that the user chooses is arranged in the image display area according to this mouse action incident to its virtual image magnifier of choosing.
Wherein, before the step of the current position coordinates scope in image display area of image choice box of the virtual image magnifier that said detection user chooses, also comprise:
Create at least one virtual image magnifier.
Wherein, comprise in the step of at least one virtual image magnifier of said establishment:
The property parameters of this virtual image magnifier is set, and said property parameters comprises: the border color of revisable choice box and/or enlarged and displayed frame, revisable enlargement factor, whether show in the enlargement factor one or more.
Correspondingly, the embodiment of the invention also provides a kind of image measurement by magnification device, comprising:
Detection module is used for detecting the current position coordinates scope in image display area of choice box of the virtual image magnifier of confirming that the user chooses, and said virtual image magnifier comprises choice box and enlarged and displayed frame, and said viewing area shows original image;
The image interception module; Be used for the said detection module of intercepting and detect the testing image in the choice box current position coordinates scope of confirming; And the said testing image of intercepting is shown enlarged in the said enlarged and displayed frame according to the enlargement factor that presets, said testing image is the local or all images of the original image that shows in the said image display area;
Measurement pattern is created module, is used for the figure and the detected mouse action that are used for the testing image of said enlarged and displayed frame is measured drafting chosen according to the user, obtains measurement pattern;
Computing module is used to calculate the pairing measured value of this measurement pattern, and according to the said enlargement factor that presets, calculates the actual measured value of said testing image;
Data recordin module is used to write down the actual measured value of said testing image.
Wherein, said computing module specifically comprises:
First computing unit is used for calculating the pairing measured value of this measurement pattern according to the position coordinates of said measurement pattern in the mouse starting point of said image enlarged and displayed frame;
Second computing unit, the enlargement factor of the virtual image magnifier that is used for this measured value is chosen divided by the said user who presets obtains the pairing actual measured value of treating enlarged image of images displayed in the said image enlarged and displayed frame.
Wherein, also comprise: module is set, and the user who is used for obtaining according to detection is to the mouse action incident of its virtual image magnifier of choosing, and the virtual image magnifier that the user is chosen is arranged in the image display area.
Wherein, also comprise: magnifier is created module, is used to create at least one virtual image magnifier.
Wherein, said magnifier establishment module specifically comprises:
Create the unit, be used to create the choice box and the enlarged and displayed frame of a virtual image magnifier;
Attribute is provided with the unit, is used to be provided with the property parameters of this virtual image magnifier, and said property parameters comprises: the border color of revisable choice box and/or enlarged and displayed frame, revisable enlargement factor, whether show in the enlargement factor one or more.
Embodiment of the present invention embodiment has following beneficial effect:
The testing image and the enlarged and displayed that need measurement by magnification in the original image that the user can select the intercepting image display area to show through one or more virtual image magnifier; Making things convenient for the user to carry out follow-up measurement draws; Realized after testing image amplifies, carrying out strategy accurately, can obtain the higher actual measured value of degree of accuracy; Simultaneously, the user can be provided with the choice box of the enlargement factor of this virtual image magnifier, said virtual image magnifier and the attributes such as color of enlarged and displayed frame as required, satisfies users ' individualized requirement.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is that first example structure of image measurement by magnification device of the present invention is formed synoptic diagram;
Fig. 2 is wherein a kind of structural representation of virtual image magnifier of the present invention;
Fig. 3 is that second example structure of image measurement by magnification device of the present invention is formed synoptic diagram;
Fig. 4 is the first embodiment schematic flow sheet of image amplifying measurement method of the present invention;
Fig. 5 is the second embodiment schematic flow sheet of image amplifying measurement method of the present invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
Seeing also Fig. 1, is that the structure of the image measurement by magnification device of the embodiment of the invention is formed synoptic diagram, and this device comprises: detection module 1, and image interception module 2, measurement pattern is created module 3, computing module 4 and data recordin module 5.This device can be built-in mobile devices commonly used such as the palm PC that can carry out Flame Image Process of image measurement software systems, mobile phone also can be equipment such as computing machine.
Said detection module 1; Be used for detecting the current position coordinates scope in image display area of choice box of the virtual image magnifier of confirming that the user chooses; Said virtual image magnifier comprises choice box and enlarged and displayed frame; Said viewing area shows original image, and the virtual image magnifier that the user in the said image display area chooses comprises one or more.
Comprise in this device that one or more is used to the virtual image magnifier that carries out image local or all amplify, the system that these virtual image magnifieres can be this devices carries, and also can be created voluntarily by the user.Needs are carried out after images local or that all measure import to the image display area of this device the user, the user can choose a virtual image magnifier according to the amplification needs, and it is dragged and dropped into the position that needs enlarged and displayed in the image of image display area.Detect the current position coordinates scope in image display area of choice box of the virtual image magnifier of confirming that the user chooses then through said detection module 1.Said virtual image magnifier comprises choice box and enlarged and displayed frame, and said viewing area shows original image, specifically can be as shown in Figure 2, and be wherein a kind of structural representation of virtual image magnifier of the present invention.Said detection module 1 can detect the current location of choice box in image display area that obtains in each virtual image magnifier respectively.
Said image interception module 2; Be used for the testing image that the said detection module 1 of intercepting detects in the choice box current position coordinates scope of confirming; And the said testing image of intercepting is shown enlarged in the said enlarged and displayed frame according to the enlargement factor that presets, said testing image is the local or all images of the original image that shows in the said image display area.
After said detection module 1 had been confirmed choice box current position coordinates scope, said image interception module 2 is the interior all images of this coordinate range of intercepting just, promptly comprised the testing image of the local or all images of the original image that shows in the said image display area.Said image interception module 2 interceptings obtain testing image and comprise one or more, and its quantity is corresponding to the number of the virtual image magnifier in the image display area.
Said measurement pattern is created module 3, is used for the figure and the detected mouse action that are used for the testing image of said enlarged and displayed frame is measured drafting chosen according to the user, obtains measurement pattern.
Through the virtual image magnifier with part or all images enlarged and displayed after, just can choose figure the testing image that has amplified in the enlarged and displayed frame is measured drafting.For example choose and draw straight line (measure and draw) on the relevant position of the testing image of rectilinear figure in the enlarged and displayed frame, the straight line of completing is measurement pattern.Said measurement pattern is created module 3 and can be adopted existing measurement drafting mode to obtain measurement pattern.The user can measure drafting to one or more testing image respectively, and said measurement pattern is created module 3 and obtained the pairing measurement pattern of one or more figure to be measured accordingly.
Said computing module 4 is used to calculate the pairing measured value of this measurement pattern, and according to the said enlargement factor that presets, calculates the actual measured value of said testing image.
Said computing module 4 can be according to the mouse action of measuring in the drawing process; Confirm the starting point and the terminal point coordinate of measurement pattern; Obtain measured value according to starting point coordinate then; Because figure to be measured amplifies by the enlargement factor that presets in the enlarged and displayed frame, so this measured value can be obtained figure actual measured value to be measured divided by enlargement factor.For example; Draw when measuring straight line, detect mouse action, after this straight line drafting finishes; According to starting point coordinate and terminal point coordinate; Said computing module 4 can obtain the length of this straight line in the enlarged and displayed district, then with the enlargement factor of this length value divided by this virtual image magnifier, can obtain the measured value of actual testing image.After obtaining actual measured value, this device also can obtain concrete size dimension in kind according to the actual object apparatus in the reality and the scaling of image at last.Said computing module 4 can calculate the measured value of each measurement pattern in one or more testing image, and the pairing actual measured value of one or more figure to be measured.
Said data recordin module 5 is used to write down the actual measured value of said testing image.The actual measured value that said logging modle 5 obtains said computing module 4 is preserved, and/or said actual measured value is presented on certain preset in interface position is shown to the user.The actual measured value of said logging modle 5 one or more figures to be measured of corresponding record; Can distinguish through different font colors between the different figures to be measured, promptly the font color of actual measured value can identically with the color of corresponding enlarged and displayed frame be distinguished different figures to be measured.
See also Fig. 3 again; Second example structure that is image measurement by magnification device of the present invention is formed synoptic diagram; Image measurement by magnification device in the present embodiment is except comprising the detection module 1 among above-mentioned first embodiment, image interception module 2, measurement pattern establishment module 3; Outside computing module 4 and the data recordin module 5, also can comprise: module 6 is set.
The said mouse action incident that user that module 6 is used for obtaining according to detection is set its virtual image magnifier of choosing, the virtual image magnifier that the user is chosen is arranged in the image display area.Said module 6 is set after, carry out position probing by said detection module 1 again.
Concrete, when detecting the user and choose the virtual image magnifier that presets and carry out the image amplifieroperation, the said module 6 that is provided with detects and judges whether to pin left mouse button, if do not have, the said module 6 that is provided with is not carried out any operation.
If pin left mouse button, the said module 6 that is provided with judges that current mouse point is whether in said choice box.
If in said choice box; The said module 6 of being provided with judges that further current mouse point is whether in one of them in four drag and drop angles of virtual image magnifier; If the said module 6 that is provided with changes the current location of the position at drag and drop angle, mouse point place for the mouse point in moving, other position, drag and drop angle inconvenience; And the position and the size of calculating enlarged and displayed frame; Otherwise, said be provided with the current mouse point of module 6 computing mouses in moving with respect to before the displacement of mouse point, with according to said displacement with choice box and the translation of enlarged and displayed frame.
If not in said choice box; The said module 6 that is provided with judges that current mouse point is whether in the enlarged and displayed frame; If; Said be provided with the current mouse point of module 6 computing mouses in moving with respect to before the displacement of mouse point, according to the said enlarged and displayed frame of this displacement translation, and mark enlarged and displayed frame moves.
Further, see also Fig. 1 again, this device also can comprise: magnifier is created module 7.
Said magnifier is created module 7 and is used to create at least one virtual image magnifier.
Concrete, detecting when creating the order of virtual image magnifier, said magnifier is created module 7 and according to the enlargement factor that the user imports order is set, and enlargement factor is set.
When detecting mouse and press left button, said magnifier is created the coordinate of module 7 these mouse point of record, and the upper left corner coordinate of the rectangular selection frame of virtual image magnifier is set to the coordinate of this mouse point.
Pin in the process that left button drags mouse detecting the user, said magnifier is created the coordinate that module 7 is set to the lower right corner coordinate of virtual image magnifier current mouse point in real time.
When detecting the user and discharge mouse; Said magnifier is created module 7 according to the upper left corner coordinate of the virtual image magnifier that is provided with and the choice box that lower right corner coordinate is provided with the virtual image magnifier; According to upper left corner coordinate, lower right corner coordinate and the enlargement factor of virtual image magnifier, calculate and be provided with the enlarged and displayed frame of virtual image magnifier.
Concrete, said magnifier is created module 7 and is specifically comprised:
Create the unit, be used to create the choice box and the enlarged and displayed frame of a virtual image magnifier.
Attribute is provided with the unit, is used to be provided with the property parameters of this virtual image magnifier, and said property parameters comprises: the border color of revisable choice box and/or enlarged and displayed frame, revisable enlargement factor, whether show in the enlargement factor one or more.
Further, the said computing module 4 in the present embodiment specifically comprises:
First computing unit is used for calculating the pairing measured value of this measurement pattern according to the position coordinates of said measurement pattern in the mouse starting point of said image enlarged and displayed frame.
Second computing unit, the enlargement factor of the virtual image magnifier that is used for this measured value is chosen divided by the said user who presets obtains the pairing actual measured value of treating enlarged image of images displayed in the said image enlarged and displayed frame.
In addition, said detection module 1, measurement pattern are created module 3, module 6 are set, magnifier is created the operation that detects mouse in the module 7 and can be adopted that existing mouse detection mode detects in the equipment such as mobile phone, computing machine.
Description through the foregoing description can know that the present invention has the following advantages:
The testing image and the enlarged and displayed that need measurement by magnification in the original image that the user can select the intercepting image display area to show through one or more virtual image magnifier; Making things convenient for the user to carry out follow-up measurement draws; Realized after testing image amplifies, carrying out strategy accurately, can obtain the higher actual measured value of degree of accuracy; Simultaneously, the user can be provided with the choice box of the enlargement factor of this virtual image magnifier, said virtual image magnifier and the attributes such as color of enlarged and displayed frame as required, satisfies users ' individualized requirement.In addition, the choice box of virtual magnifier and enlarged and displayed frame are separate, and said enlarged and displayed frame can move to avoid the AP in the shielded image viewing area as required, has made things convenient for the user to measure drafting further.
Be described in detail in the face of image amplifying measurement method of the present invention down.
Seeing also Fig. 4, is the first embodiment schematic flow sheet of image amplifying measurement method of the present invention, and the image amplifying measurement method in the present embodiment comprises:
S401: the current position coordinates scope in image display area of choice box in the virtual image magnifier that the definite user of detection chooses; Said virtual image magnifier comprises choice box and enlarged and displayed frame; Said image display area shows original image, and the virtual image magnifier that the user in the said image display area chooses comprises one or more.
Concrete, the measuring system of picture of this method comprises that one or more is used to the virtual image magnifier that carries out image local or all amplify, these virtual image magnifieres can be that system carries, and also can be created voluntarily by the user.After the images that the user carries out needs perhaps all measure the part import to the image display area of native system user interface; The user can choose a virtual image magnifier according to the amplification needs, and it is dragged and dropped into the position that needs enlarged and displayed in the image of image display area.This moment, S401 detected the current position coordinates scope in image display area of choice box of the virtual image magnifier of confirming that the user chooses.Said virtual image magnifier comprises choice box and enlarged and displayed frame; Said viewing area shows original image; Said choice box is used to offer the testing image that selection need be amplified, and said enlarged and displayed frame then is used to show by said choice box selects the image after the image of delineation amplifies according to enlargement factor.Said S401 can detect the current location of choice box in image display area that obtains in each virtual image magnifier respectively.
S402: the testing image in the said choice box current position coordinates of the intercepting scope; And the said testing image of intercepting is shown enlarged in the said enlarged and displayed frame according to the enlargement factor that presets, said testing image is the local or all images of the original image that shows in the said image display area.
Concrete; After said S401 has confirmed choice box current position coordinates scope; Said image interception module 2 is the interior all images of this coordinate range of intercepting just, promptly comprises the testing image of the local or all images of the original image that shows in the said image display area.The testing image that said S402 intercepting obtains comprises one or more, the number of the virtual image magnifier in the image display area that its quantity is obtained corresponding to S401.
S403: the figure and the detected mouse action that are used for the testing image of said enlarged and displayed frame is measured drafting according to the user chooses obtain measurement pattern.
Concrete, S402 through the virtual image magnifier with part or all images enlarged and displayed after, just can choose figure the testing image that has amplified in the said enlarged and displayed frame is measured drafting.For example choose and draw straight line (measure and draw) on the relevant position of the testing image of rectilinear figure in the enlarged and displayed frame, the straight line of completing is measurement pattern.Said S403 can adopt existing measurement drafting mode to obtain measurement pattern.The user can measure drafting to one or more testing image respectively, and said measurement pattern is created the module 3 corresponding pairing measurement pattern of one or more figure to be measured that obtain.
S404: calculate the pairing measured value of this measurement pattern, and calculate the actual measured value of said testing image according to this measured value.
Concrete; Said S404 can be according to the mouse action of measuring in the drawing process; Confirm the starting point and the terminal point coordinate of measurement pattern; Obtain measured value according to starting point coordinate then, owing to figure to be measured amplifies by the enlargement factor that presets, so this measured value can be obtained figure actual measured value to be measured divided by enlargement factor in the enlarged and displayed frame.For example; Draw when measuring straight line, detect mouse action, after this straight line drafting finishes; According to starting point coordinate and terminal point coordinate; Said computing module 4 can obtain the length of this straight line in the enlarged and displayed district, then with the enlargement factor of this length value divided by this virtual image magnifier, can obtain the measured value of actual testing image.After obtaining actual measured value, S404 also can obtain concrete size dimension in kind according to the actual object apparatus in the reality and the scaling of image at last.Said S404 can calculate the measured value of each measurement pattern in one or more testing image, and the pairing actual measured value of one or more figure to be measured.
S405: the actual measured value that writes down said testing image.
Concrete, said S505 preserves the actual measured value that said S404 obtains, and/or said actual measured value is presented on certain preset in interface position is shown to the user.The actual measured value of said one or more figure to be measured of S405 corresponding record; Can distinguish through different font colors between the different figures to be measured, promptly the font color of actual measured value can identically with the color of corresponding enlarged and displayed frame be distinguished different figures to be measured.
Embodiment of the present invention embodiment has following beneficial effect:
The testing image and the enlarged and displayed that need measurement by magnification in the original image that the user can select the intercepting image display area to show through one or more virtual image magnifier; Making things convenient for the user to carry out follow-up measurement draws; Realized after testing image amplifies, carrying out strategy accurately, can obtain the higher actual measured value of degree of accuracy; Simultaneously, the user can be provided with the choice box of the enlargement factor of this virtual image magnifier, said virtual image magnifier and the attributes such as color of enlarged and displayed frame as required, satisfies users ' individualized requirement.
Seeing also Fig. 5 again, is the second embodiment schematic flow sheet of image amplifying measurement method of the present invention, and the image amplifying measurement method of present embodiment specifically comprises:
S501: create at least one virtual image magnifier.
Its concrete foundation step comprises:
Detect when creating the order of virtual image magnifier, the enlargement factor of importing according to the user is provided with order, and enlargement factor is set.
When detecting mouse and press left button, write down the coordinate of this mouse point, and the upper left corner coordinate of the rectangular selection frame of virtual image magnifier is set to the coordinate of this mouse point.
Pin in the process that left button drags mouse detecting the user, the lower right corner coordinate of virtual image magnifier is set in real time the coordinate of current mouse point.
When detecting the user and discharge mouse; According to the upper left corner coordinate of the virtual image magnifier that is provided with and the choice box that lower right corner coordinate is provided with the virtual image magnifier; According to upper left corner coordinate, lower right corner coordinate and the enlargement factor of virtual image magnifier, calculate and be provided with the enlarged and displayed frame of virtual image magnifier.
The property parameters of this virtual image magnifier is set, and said property parameters comprises: the border color of revisable choice box and/or enlarged and displayed frame, revisable enlargement factor, whether show in the enlargement factor one or more.
S502: detect the mouse action incident of user, and the virtual image magnifier that the user chooses is arranged in the image display area according to this mouse action incident to its virtual image magnifier of choosing.
Its concrete steps comprise:
When detecting the user and choose the virtual image magnifier that presets and carry out the image amplifieroperation, detect and judge whether to pin left mouse button;
If pin left mouse button, judge that then current mouse point is whether in said choice box;
If in said choice box, then further judge current mouse point whether in one of them in four drag and drop angles of virtual image magnifier, if; Then change the current location of the position at drag and drop angle, mouse point place for the mouse point in moving; Other position, drag and drop angle inconvenience, and the position and the size of calculating enlarged and displayed frame, otherwise; Current mouse point during computing mouse moves with respect to before the displacement of mouse point, according to said displacement with choice box and the translation of enlarged and displayed frame;
If not in said choice box; Then judge current mouse point whether in the enlarged and displayed frame, if, the current mouse point during then computing mouse moves with respect to before the displacement of mouse point; According to the said enlarged and displayed frame of this displacement translation, and mark enlarged and displayed frame moves.
S503: the current position coordinates scope in image display area of choice box in the virtual image magnifier that the definite user of detection chooses, said virtual image magnifier comprises choice box and enlarged and displayed frame, said image display area shows original image.
S504: the testing image in the said choice box current position coordinates of the intercepting scope; And the said testing image of intercepting is shown enlarged in the said enlarged and displayed frame according to the enlargement factor that presets, said testing image is the local or all images of the original image that shows in the said image display area.
S505: the figure and the detected mouse action that are used for the testing image of said enlarged and displayed frame is measured drafting according to the user chooses obtain measurement pattern.
S506: calculate the pairing measured value of this measurement pattern, and calculate the actual measured value of said testing image according to this measured value.
Its concrete calculation procedure comprises:
Position coordinates according to the mouse starting point of said measurement pattern in said image enlarged and displayed frame calculates the pairing measured value of this measurement pattern.
This measured value divided by said enlargement factor, is obtained the pairing actual measured value of treating enlarged image of images displayed in the said image enlarged and displayed frame.
S507: the actual measured value that writes down said testing image.
Embodiment of the present invention embodiment has following beneficial effect:
The testing image and the enlarged and displayed that need measurement by magnification in the original image that the user can select the intercepting image display area to show through one or more virtual image magnifier; Making things convenient for the user to carry out follow-up measurement draws; Realized after testing image amplifies, carrying out strategy accurately, can obtain the higher actual measured value of degree of accuracy; Simultaneously, the user can be provided with the choice box of the enlargement factor of this virtual image magnifier, said virtual image magnifier and the attributes such as color of enlarged and displayed frame as required, satisfies users ' individualized requirement.In addition, the choice box of virtual magnifier and enlarged and displayed frame are separate, and said enlarged and displayed frame can move to avoid the AP in the shielded image viewing area as required, has made things convenient for the user to measure drafting further.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method; Be to instruct relevant hardware to accomplish through computer program; Described program can be stored in the computer read/write memory medium; This program can comprise the flow process like the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Above disclosedly be merely preferred embodiment of the present invention, can not limit the present invention's interest field certainly with this, the equivalent variations of therefore doing according to claim of the present invention still belongs to the scope that the present invention is contained.

Claims (10)

1. an image amplifying measurement method is characterized in that, comprising:
The current position coordinates scope in image display area of choice box in the virtual image magnifier that the definite user of detection chooses; Said virtual image magnifier comprises choice box and enlarged and displayed frame; Said image display area shows original image, and the virtual image magnifier that the user in the said image display area chooses comprises one or more;
Testing image in the current position coordinates scope of the said choice box of intercepting; And the said testing image of intercepting is shown enlarged in the said enlarged and displayed frame according to the enlargement factor that presets, said testing image is the local or all images of the original image that shows in the said image display area;
The figure and the detected mouse action that are used for the testing image of said enlarged and displayed frame is measured drafting according to the user chooses obtain measurement pattern;
Calculate the pairing measured value of this measurement pattern, and calculate the actual measured value of said testing image according to this measured value;
Write down the actual measured value of said testing image.
2. the method for claim 1 is characterized in that, the pairing measured value of this measurement pattern of said calculating, and calculate the step of the actual measured value of said testing image according to this measured value, specifically comprise:
Position coordinates according to the mouse starting point of said measurement pattern in said image enlarged and displayed frame calculates the pairing measured value of this measurement pattern;
This measured value divided by said enlargement factor, is obtained the pairing actual measured value of treating enlarged image of images displayed in the said image enlarged and displayed frame.
3. method as claimed in claim 2 is characterized in that, said detection is confirmed also to comprise before the step of the current position coordinates scope in image display area of choice box in the virtual image magnifier that the user chooses:
Detect the mouse action incident of user, and the virtual image magnifier that the user chooses is arranged in the image display area according to this mouse action incident to its virtual image magnifier of choosing.
4. method as claimed in claim 2 is characterized in that, said detection is confirmed also to comprise before the step of the current position coordinates scope in image display area of choice box in the virtual image magnifier that the user chooses:
Create at least one virtual image magnifier.
5. like claim 3 or 4 described methods, it is characterized in that the step of at least one virtual image magnifier of said establishment comprises:
The property parameters of this virtual image magnifier is set, and said property parameters comprises: the border color of revisable choice box and/or enlarged and displayed frame, revisable enlargement factor, whether show in the enlargement factor one or more.
6. an image measurement by magnification device is characterized in that, comprising:
Detection module; Be used for detecting the current position coordinates scope in image display area of choice box of the virtual image magnifier of confirming that the user chooses; Said virtual image magnifier comprises choice box and enlarged and displayed frame; Said viewing area shows original image, and the virtual image magnifier that the user in the said image display area chooses comprises one or more;
The image interception module; Be used for the said detection module of intercepting and detect the testing image in the choice box current position coordinates scope of confirming; And the said testing image of intercepting is shown enlarged in the said enlarged and displayed frame according to the enlargement factor that presets, said testing image is the local or all images of the original image that shows in the said image display area;
Measurement pattern is created module, is used for the figure and the detected mouse action that are used for the testing image of said enlarged and displayed frame is measured drafting chosen according to the user, obtains measurement pattern;
Computing module is used to calculate the pairing measured value of this measurement pattern, and according to the said enlargement factor that presets, calculates the actual measured value of said testing image;
Data recordin module is used to write down the actual measured value of said testing image.
7. device as claimed in claim 6 is characterized in that, said computing module specifically comprises:
First computing unit is used for calculating the pairing measured value of this measurement pattern according to the position coordinates of said measurement pattern in the mouse starting point of said image enlarged and displayed frame;
Second computing unit, the enlargement factor of the virtual image magnifier that is used for this measured value is chosen divided by the said user who presets obtains the pairing actual measured value of treating enlarged image of images displayed in the said image enlarged and displayed frame.
8. device as claimed in claim 7 is characterized in that, also comprises:
Module is set, and the user who is used for obtaining according to detection is to the mouse action incident of its virtual image magnifier of choosing, and the virtual image magnifier that the user is chosen is arranged in the image display area.
9. device as claimed in claim 7 is characterized in that, also comprises:
Magnifier is created module, is used to create at least one virtual image magnifier.
10. like claim 8 or 9 described devices, it is characterized in that said magnifier is created module and specifically comprised:
Create the unit, be used to create the choice box and the enlarged and displayed frame of a virtual image magnifier;
Attribute is provided with the unit, is used to be provided with the property parameters of this virtual image magnifier, and said property parameters comprises: the border color of revisable choice box and/or enlarged and displayed frame, revisable enlargement factor, whether show in the enlargement factor one or more.
CN2011101836962A 2011-07-01 2011-07-01 Image magnifying and measuring method and device Pending CN102393952A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101836962A CN102393952A (en) 2011-07-01 2011-07-01 Image magnifying and measuring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101836962A CN102393952A (en) 2011-07-01 2011-07-01 Image magnifying and measuring method and device

Publications (1)

Publication Number Publication Date
CN102393952A true CN102393952A (en) 2012-03-28

Family

ID=45861265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101836962A Pending CN102393952A (en) 2011-07-01 2011-07-01 Image magnifying and measuring method and device

Country Status (1)

Country Link
CN (1) CN102393952A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831612A (en) * 2012-08-21 2012-12-19 深圳市斯尔顿科技有限公司 Method and device for modifying edges of images by automatically tracking curve tracks
CN103142248A (en) * 2013-03-22 2013-06-12 飞依诺科技(苏州)有限公司 Measuring method for touch screen ultrasonic diagnosis instrument and touch screen ultrasonic diagnosis instrument
CN104182924A (en) * 2013-05-21 2014-12-03 中国科学院苏州纳米技术与纳米仿生研究所 Water surface image characteristic-based image deformation device and method thereof
CN106327545A (en) * 2016-08-19 2017-01-11 江苏中威科技软件系统有限公司 Vector line amplification drawing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020057828A1 (en) * 2000-11-06 2002-05-16 Fuji Photo Film Co., Ltd. Apparatus for automatically setting measurement reference element and measuring geometric feature of image
CN1627790A (en) * 2003-12-08 2005-06-15 Lg电子有限公司 Method of scaling partial area of main picture
CN1988603A (en) * 2006-12-30 2007-06-27 华中科技大学 Computer auxiliary medical image observing system
CN101238430A (en) * 2005-08-04 2008-08-06 微软公司 Virtual magnifying glass with on-the-fly control functionalities

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020057828A1 (en) * 2000-11-06 2002-05-16 Fuji Photo Film Co., Ltd. Apparatus for automatically setting measurement reference element and measuring geometric feature of image
CN1627790A (en) * 2003-12-08 2005-06-15 Lg电子有限公司 Method of scaling partial area of main picture
CN101238430A (en) * 2005-08-04 2008-08-06 微软公司 Virtual magnifying glass with on-the-fly control functionalities
CN1988603A (en) * 2006-12-30 2007-06-27 华中科技大学 Computer auxiliary medical image observing system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
吕翔: "病理图像定量分析及其测量误差的控制", 《中国体视学与图像分析》 *
张仲 等: "牙科X光图像处理和面积测量系统", 《计算机工程》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831612A (en) * 2012-08-21 2012-12-19 深圳市斯尔顿科技有限公司 Method and device for modifying edges of images by automatically tracking curve tracks
CN102831612B (en) * 2012-08-21 2015-04-08 深圳市斯尔顿科技有限公司 Method and device for modifying edges of images by automatically tracking curve tracks
CN103142248A (en) * 2013-03-22 2013-06-12 飞依诺科技(苏州)有限公司 Measuring method for touch screen ultrasonic diagnosis instrument and touch screen ultrasonic diagnosis instrument
CN103142248B (en) * 2013-03-22 2014-11-12 飞依诺科技(苏州)有限公司 Measuring method for touch screen ultrasonic diagnosis instrument and touch screen ultrasonic diagnosis instrument
CN104182924A (en) * 2013-05-21 2014-12-03 中国科学院苏州纳米技术与纳米仿生研究所 Water surface image characteristic-based image deformation device and method thereof
CN106327545A (en) * 2016-08-19 2017-01-11 江苏中威科技软件系统有限公司 Vector line amplification drawing method

Similar Documents

Publication Publication Date Title
US11003943B2 (en) Systems and methods for processing images with edge detection and snap-to feature
CN105043271B (en) Length measurement method and device
CN105659295B (en) For indicating the method for point of interest in the view of true environment on the mobile apparatus and for the mobile device of the method
JP5389157B2 (en) Display multiple results of a single measurement of a workpiece, depending on the detection result of the user's gesture
CN104457627A (en) Method for utilizing Photoshop for precisely measuring area of plane of irregular object
US20120216149A1 (en) Method and mobile apparatus for displaying an augmented reality
US20100166263A1 (en) Electronic device and measuring method using the same
CN102393952A (en) Image magnifying and measuring method and device
WO2014090090A1 (en) Angle measurement method and device
CN101008881A (en) Apparatus and method of scrolling screen in portable device and recording medium
KR101988826B1 (en) Method for providing safty inspection service for real estate with handheld based device
CN109781076A (en) Pretreatment to data before Tunnel testing and on the spot dynamic detection system
CN103473235A (en) Searching method of electronic map, browsing method and system of electronic map
KR20140002999A (en) Method for displaying ultrasound image using marker and ultrasound diagnosis apparatus
CN110363757A (en) Ultrasound image measurement result display methods, device, equipment and readable storage medium storing program for executing
CN200975891Y (en) Image measuring instrument
CN105427331B (en) The measuring method and measuring device of a kind of digital pathological section
CN110779460A (en) Offline guidance device, measurement control device, and storage medium
JP2014102183A (en) Image processing apparatus and image processing system
KR101944279B1 (en) Camera module apparatus and method for measuring distance of the same
CN101173853B (en) Positioning measurement method and device thereof
CN106681551A (en) Round icon touch detecting method and system
CN105893547B (en) Soil property monitoring equipment
CN109141221A (en) A method of block area is measured by mobile terminal
CN108255367A (en) A kind of display methods, device, equipment and the storage medium of mechanism window

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120328