CN113590548B - Image renaming method, image renaming system and image testing device - Google Patents
Image renaming method, image renaming system and image testing device Download PDFInfo
- Publication number
- CN113590548B CN113590548B CN202110828072.5A CN202110828072A CN113590548B CN 113590548 B CN113590548 B CN 113590548B CN 202110828072 A CN202110828072 A CN 202110828072A CN 113590548 B CN113590548 B CN 113590548B
- Authority
- CN
- China
- Prior art keywords
- image
- information
- state information
- module
- renaming
- 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
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000012360 testing method Methods 0.000 title claims abstract description 31
- 238000012217 deletion Methods 0.000 claims description 13
- 230000037430 deletion Effects 0.000 claims description 13
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/164—File meta data generation
- G06F16/166—File name conversion
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/162—Delete operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/002—Diagnosis, testing or measuring for television systems or their details for television cameras
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Studio Devices (AREA)
Abstract
The invention relates to the field of testing, in particular to an image renaming method, an image renaming system and an image testing device. The method comprises the following steps: s1, analyzing whether a new image or a locking image exists in a storage module; s2, when a new image exists in the storage module, renaming the new image according to the received position information or the selection information of a user, and updating a number library; and S3, when the locking image exists in the storage module, analyzing the name of the locking image according to the acquired deleting information of the user, deleting the locking image, and refreshing a number library. After the lens test, a new picture can be acquired and the picture which is just acquired can be operated, so that the setting of a numbering library is realized, and then the continuous numbering of the acquired picture is realized.
Description
Technical Field
The invention relates to the field of testing, in particular to an image renaming method, an image renaming system and an image testing device.
Background
In the current operation of image testing, the testing equipment can directly shoot and acquire images, after the images are acquired, the renaming operation can only be manually performed on the acquired local images, and different names are needed to be renamed respectively for distinguishing the types and the numbers of the images.
In the test process, the number of the types of the pictures is large, the number of the renamed pictures is large, an operator consumes a large amount of time to rename in the long-time shooting test process, and the operator needs to concentrate on the spirit to a certain extent to ensure that the number renaming of the corresponding type of different pictures is correct, so that the accuracy is difficult to ensure.
Disclosure of Invention
The invention solves the existing technical problems, and provides an image renaming method, an image renaming system and an image testing device, which can acquire new pictures after lens testing and can operate the pictures which are just acquired, thereby realizing the setting of a numbering library and further realizing the continuous numbering of the acquired pictures.
The technical scheme provided by the invention is as follows:
an image renaming method, comprising the steps of:
s1, analyzing whether a new image or a locking image exists in a storage module;
S2, when a new image exists in the storage module, renaming the new image according to the received position information or the selection information of a user, and updating a number library;
and S3, when the locking image exists in the storage module, analyzing the name of the locking image according to the acquired deleting information of the user, deleting the locking image, and refreshing a number library.
Preferably, step S2 specifically includes:
s21, when a new image exists in the storage module, analyzing a current operation mode;
S22, when the automatic operation mode is in, acquiring state information corresponding to the position information and a current number corresponding to the state information according to the received position information;
S23, when the mobile terminal is in a manual operation mode, acquiring state information corresponding to the selection information and a current number corresponding to the state information according to the selection information of a user;
s24, renaming the newly added image according to the state information and the corresponding current number;
s25, updating a number library corresponding to the position state.
Preferably, step S24 specifically includes:
S241, obtaining the current date and the current time, and renaming the newly added image according to the state information and the corresponding current number, the current date and the current time.
Preferably, step S22 specifically includes:
S221, when the automatic operation mode is in, receiving and analyzing the position information, and analyzing whether the position information is matched with the corresponding state information;
S222, when the position information is matched with the state information, obtaining the state information;
S223, according to the state information, acquiring and recording the current number in a number library corresponding to the state information.
Preferably, step S23 specifically includes:
s231, when the operation is performed manually, whether only one preset key is pressed is analyzed;
S232, when only one preset key is pressed, acquiring state information matched with the pressed preset key;
S233, according to the state information, the current number in a number base corresponding to the state information is obtained and recorded.
Preferably, step S25 specifically includes:
S251, updating the current number in the number library corresponding to the state information according to a first preset algorithm and the current number in the number library corresponding to the state information.
Preferably, step S3 specifically includes:
s31, when the locking image exists in the storage module, analyzing whether a user sends deleting information or not;
s32, after deleting information of a user is acquired, acquiring the name of the locking image;
S33, analyzing and acquiring the state information in the name of the locking image;
S34, refreshing the number library corresponding to the position state.
Preferably, S31, when the locked image exists in the storage module, analyzing whether the user transmits deletion information;
s32, after deleting information of a user is acquired, acquiring the name of the locking image;
S33, analyzing and acquiring the state information in the name of the locking image;
S341, refreshing the current number in the number library corresponding to the state information according to a second preset algorithm and the current number in the number library corresponding to the state information.
It is also an object of the present invention to provide an image renaming system, comprising:
The information receiving module is used for receiving the image of the system, receiving the position information or the selection information of the user and receiving the deletion information sent by the user;
The storage module is used for storing the image received by the system as a newly added image and storing the newly added image as a locking image after a user selects the newly added image;
the renaming module renames the newly added image when the information receiving module receives the position information or the selection information of the user and the newly added image exists in the storage module;
The name analysis module analyzes the name of the locking image when the information receiving module receives the deleting information sent by the user;
The numbering library module is used for storing a numbering library, and updating the numbering library after the renaming module renames the newly added image; and after the name analysis module analyzes the name of the locked image, the numbering library module refreshes the numbering library according to the analysis result of the name analysis module.
Preferably, the method further comprises:
the operation control module is used for receiving control information of a user; the control information at least comprises automatic control information and manual control information;
when a new image exists in the storage module, analyzing control information received by the operation control module;
the state analysis module is used for receiving the position information when the operation control module receives the automatic control information, and acquiring state information corresponding to the position information; when the operation control module receives manual control information, the information receiving module receives selection information of a user, and the state analysis module acquires state information corresponding to the selection information;
the numbering library module is also used for acquiring a current number corresponding to the state information according to the state information;
the renaming module is used for renaming the newly added image according to the state information and the corresponding current number;
And the numbering library module is used for updating the numbering library corresponding to the position state after the renaming module renames the newly added image.
Preferably, the method further comprises:
The time module is used for acquiring the current date and the current time;
the renaming module is also used for renaming the newly-added image according to the state information, the corresponding current number, the current date and the current time.
Preferably, the method further comprises:
the key analysis module is used for analyzing whether only one preset key is pressed when the operation control module receives manual control information;
when only one preset key is pressed, the state analysis module acquires state information matched with the pressed preset key;
and the numbering library module acquires and records the current number in the numbering library corresponding to the state information according to the state information.
Preferably, the number library module is configured to update the current number in the number library corresponding to the state information according to a first preset algorithm and the current number in the number library corresponding to the state information.
Preferably, when the locked image exists in the storage module, the information receiving module analyzes whether the user transmits deletion information;
after the information receiving module acquires the deleting information of the user, the name analyzing module acquires the name of the locking image;
The state analysis module is also used for analyzing and acquiring the state information in the name of the locking image;
the numbering library module is used for refreshing the numbering library corresponding to the position state.
Preferably, when the locked image exists in the storage module, the information receiving module analyzes whether the user transmits deletion information;
after the information receiving module acquires the deleting information of the user, the name analyzing module acquires the name of the locking image;
The state analysis module is also used for analyzing and acquiring the state information in the name of the locking image;
The number library module is used for refreshing the current number in the number library corresponding to the state information according to a second preset algorithm and the current number in the number library corresponding to the state information.
One of the objects of the present invention is also to provide an image testing apparatus including:
The target assembly is arranged at a preset position;
a lens assembly for facing the target assembly and acquiring an image containing the target assembly;
and the test assembly is provided with an image renaming system and is used for receiving the image of the lens assembly as a newly added image.
Compared with the prior art, the image renaming method, the image renaming system and the image testing device provided by the invention have the following beneficial effects:
1. through the arrangement of the steps, new pictures can be acquired after the lens test and the pictures which are just acquired can be operated, the arrangement of a number library is realized, and then the continuous numbering of the acquired pictures is realized.
2. After the system acquires the key pressed by the user, the system can acquire the current position state of the lens, acquire the current number in the corresponding number library according to the current position state, and rename the acquired newly-added image.
Drawings
The above features, technical features, advantages and implementation manners of an image renaming method, an image renaming system and an image testing apparatus will be further described in the following description of the preferred embodiments with reference to the accompanying drawings in a clearly understandable manner.
FIG. 1 is a flow chart of an image renaming method of the present invention;
FIG. 2 is a flow chart of another image renaming method of the present invention;
FIG. 3 is a flow chart of yet another image renaming method of the present invention;
FIG. 4 is a flow chart of yet another image renaming method of the present invention;
FIG. 5 is a flow chart of yet another image renaming method of the present invention;
FIG. 6 is a flow chart of yet another image renaming method of the present invention;
FIG. 7 is a flow chart of an image renaming system of the present invention.
Reference numerals illustrate: 10. an information receiving module; 20. a storage module; 30. renaming the module; 40. a name analysis module; 50. a numbering library module; 60. an operation control module; 70. a state analysis module; 80. a time module; 90. and the key analysis module.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
For simplicity of the drawing, only the parts relevant to the invention are schematically shown in each drawing, and they do not represent the actual structure thereof as a product. Additionally, in order to simplify the drawing for ease of understanding, components having the same structure or function in some of the drawings are shown schematically with only one of them, or only one of them is labeled. Herein, "a" means not only "only this one" but also "more than one" case.
Example 1
An image renaming method, comprising the steps of:
s1, analyzing whether a new image or a locking image exists in a storage module;
After the system shoots a new image, a new image can be formed in the system, a storage module is arranged in the system, and the new image and the locking image can be arranged in the storage module; when the new image exists in the system, the user can perform corresponding operation by selecting the corresponding new image, namely forming a locking image; when a new image exists in the system, taking the newly acquired image as the new image after shooting the new image.
S2, when a new image exists in the storage module, renaming the new image according to the received position information or the selection information of a user, and updating a number library;
When a new image exists in the system, the system indicates that a picture is shot in the system, and the picture is received, and the system can rename the new image according to the stored position information in the system or the selection information of a user.
Specifically, the system can also freely set an automatic renaming manner or a manual renaming manner, when the automatic renaming manner is required to be used, the position information is required to be set in advance, and when the manual renaming manner is required to be used, the corresponding selection information can be freely selected.
When the system determines the renaming mode, the system can rename according to the corresponding renaming mode and the corresponding information, the numbering library can be updated after renaming, and the next image can be renumbered after updating to form continuous numbering.
And S3, when the locking image exists in the storage module, analyzing the name of the locking image according to the acquired deleting information of the user, deleting the locking image, and refreshing a number library.
When the locked image exists in the storage module, namely, a user selects a certain image, the user can delete the certain image, and after the image is deleted, the number library can be automatically refreshed, namely, the number can be reset once.
In this embodiment, through the setting of the steps, a new picture can be acquired after the lens is tested and an operation can be performed on the picture which is just acquired, so that the setting of a numbering library is realized, and then the continuous numbering of the acquired picture is realized.
Example 2
An image renaming method, comprising the steps of:
s1, analyzing whether a new image or a locking image exists in a storage module;
s21, when a new image exists in the storage module, analyzing a current operation mode;
in this embodiment, an operation mode can be set in the system, a user can select freely, and the system can acquire corresponding control information according to the selection of the user.
S22, when the automatic operation mode is in, acquiring state information corresponding to the position information and a current number corresponding to the state information according to the received position information;
When the system detects that the lens is in an automatic operation mode, a plurality of position sensors can be arranged on the lens, the position sensors can send the current position of the moving group of the lens to the system, an information table with the position matched with the state information is stored in the system, the system can acquire the state information corresponding to the position information, meanwhile, a number library matched with the state information is also stored in the system, and the system can acquire the current number in the number library matched with the state information.
S23, when the mobile terminal is in a manual operation mode, acquiring state information corresponding to the selection information and a current number corresponding to the state information according to the selection information of a user;
When the system detects that the system is in a manual operation mode, a plurality of selection devices such as keys can be arranged on the system, after a user presses the corresponding button, the system can acquire the current state of the lens, an information table with the position matched with the state information is stored in the system, the system can acquire the state information corresponding to the position information, meanwhile, a number library matched with the state information is also stored in the system, and the system can acquire the current number in the number library matched with the state information.
S24, renaming the newly added image according to the state information and the corresponding current number;
s25, updating a number library corresponding to the position state.
In this embodiment, when a new image is detected in the system, the naming of the new image is completed after renaming the new image by the current number of the number base, the next image can be updated after the naming is completed after the number base needs to be updated,
And S3, when the locking image exists in the storage module, analyzing the name of the locking image according to the acquired deleting information of the user, deleting the locking image, and refreshing a number library.
Preferably, step S24 specifically includes:
S241, obtaining the current date and the current time, and renaming the newly added image according to the state information and the corresponding current number, the current date and the current time.
In the embodiment, through the addition of the date and the time, the user can check the testing time of the image conveniently, the timing test of the system on the lens is facilitated, and the testing precision is further improved.
The step S25 specifically includes:
S251, updating the current number in the number library corresponding to the state information according to a first preset algorithm and the current number in the number library corresponding to the state information.
Specifically, the first preset algorithm user can freely set, for example, the initial number is 1, the current label can be added with 1 each time an image is renamed, the current label is updated to 2, and the final image list forms a mode of sequentially arranging 1,2,3,4,5 and the like.
For example, the first database has an initial reference number of 1, the current reference number can be added with 2 each time an image is renamed, the current reference number is updated to 3, the final image list forms a mode of sequentially arranging 1,3,5,7,9 and the like, the second database has an initial reference number of 2, the current reference number can be added with 2 each time an image is renamed, the current reference number is updated to 4, the final image list forms a mode of sequentially arranging 2,4,6,8, 10 and the like, and the lens state corresponding to the image can be directly obtained through the numbers of the image names.
Or the initial number of the numbering library is 10, the current number can be reduced by 1 each time after an image is renamed, the current number is updated to 9, the numbering mode of the reverse order is formed, and the final image list is formed 10,9,8,7,6 and the like.
Example 3
An image renaming method, comprising the steps of:
s1, analyzing whether a new image or a locking image exists in a storage module;
s21, when a new image exists in the storage module, analyzing a current operation mode;
S221, when the automatic operation mode is in, receiving and analyzing the position information, and analyzing whether the position information is matched with the corresponding state information;
S222, when the position information is matched with the state information, obtaining the state information;
When the lens is in a certain state, the lens can send the positions of the plurality of moving groups as position information to the system, the positions of all the moving groups in all states from the wide-angle end to the telescopic end are stored in the system, and when the system acquires the current position of the moving group of the lens and successfully matches with the stored positions, the system can acquire whether the lens barrel is at the wide-angle end, the telescopic end or the middle part at present.
S223, according to the state information, acquiring and recording the current number in a number library corresponding to the state information.
The system also stores a number library matched with the far-end, the wide-angle end and the middle part, and when the lens is in a certain position by analysis, the system can inquire the current number in the corresponding number library and is used for renaming the acquired newly-added image.
S23, when the mobile terminal is in a manual operation mode, acquiring state information corresponding to the selection information and a current number corresponding to the state information according to the selection information of a user;
s24, renaming the newly added image according to the state information and the corresponding current number;
s25, updating a number library corresponding to the position state.
And S3, when the locking image exists in the storage module, analyzing the name of the locking image according to the acquired deleting information of the user, deleting the locking image, and refreshing a number library.
Example 4
An image renaming method, comprising the steps of:
s1, analyzing whether a new image or a locking image exists in a storage module;
s21, when a new image exists in the storage module, analyzing a current operation mode;
S22, when the automatic operation mode is in, acquiring state information corresponding to the position information and a current number corresponding to the state information according to the received position information;
s231, when the operation is performed manually, whether only one preset key is pressed is analyzed;
When only one preset key is pressed, the fact that the preset key is not pressed by mistake is indicated, and the newly added image can be renamed.
S232, when only one preset key is pressed, acquiring state information matched with the pressed preset key;
S233, according to the state information, the current number in a number base corresponding to the state information is obtained and recorded.
After the system acquires the key pressed by the user, the system can acquire the current position state of the lens, acquire the current number in the corresponding number library according to the current position state, and rename the acquired newly-added image.
S24, renaming the newly added image according to the state information and the corresponding current number;
s25, updating a number library corresponding to the position state.
And S3, when the locking image exists in the storage module, analyzing the name of the locking image according to the acquired deleting information of the user, deleting the locking image, and refreshing a number library.
Example 5
An image renaming method, comprising the steps of:
s1, analyzing whether a new image or a locking image exists in a storage module;
s21, when a new image exists in the storage module, analyzing a current operation mode;
S22, when the automatic operation mode is in, acquiring state information corresponding to the position information and a current number corresponding to the state information according to the received position information;
S23, when the mobile terminal is in a manual operation mode, acquiring state information corresponding to the selection information and a current number corresponding to the state information according to the selection information of a user;
s24, renaming the newly added image according to the state information and the corresponding current number;
s25, updating a number library corresponding to the position state.
S31, when the locking image exists in the storage module, analyzing whether a user sends deleting information or not;
when the user observes that the acquired image has errors or the acquired image is blurred, the user can select the image on the system, namely, a locked image in the storage module is formed.
After the locked image exists in the storage module, the system can also analyze whether the user deletes the information.
S32, after deleting information of a user is acquired, acquiring the name of the locking image;
Only after the deletion information of the user is acquired, the name of the locked image is acquired, so that the operation of the system when the locked image is deleted is reduced, and the smoothness of the system is improved.
S33, analyzing and acquiring the state information in the name of the locking image;
after the name of the lock image is acquired, corresponding state information exists in the lock image, but no number information of the lock image is acquired.
S34, refreshing the number library corresponding to the position state.
After the state information of the locked image is obtained, the corresponding number library is searched in the system, and then the number library can be refreshed to reform the locked image.
When this embodiment is applied to embodiment 3 and embodiment 4, step S34 specifically includes:
S341, refreshing the current number in the number library corresponding to the state information according to a second preset algorithm and the current number in the number library corresponding to the state information.
Example 6
An image renaming method, comprising the steps of:
s1, analyzing whether a new image or a locking image exists in a storage module;
s21, when a new image exists in the storage module, analyzing a current operation mode;
S221, when the automatic operation mode is in, receiving and analyzing the position information, and analyzing whether the position information is matched with the corresponding state information;
S222, when the position information is matched with the state information, obtaining the state information;
S223, according to the state information, acquiring and recording the current number in a number library corresponding to the state information.
S231, when the operation is performed manually, whether only one preset key is pressed is analyzed;
S232, when only one preset key is pressed, acquiring state information matched with the pressed preset key;
S233, according to the state information, the current number in a number base corresponding to the state information is obtained and recorded.
S241, obtaining the current date and the current time, and renaming the newly added image according to the state information and the corresponding current number, the current date and the current time.
S251, updating the current number in the number library corresponding to the state information according to a first preset algorithm and the current number in the number library corresponding to the state information.
S31, when the locking image exists in the storage module, analyzing whether a user sends deleting information or not;
s32, after deleting information of a user is acquired, acquiring the name of the locking image;
S33, analyzing and acquiring the state information in the name of the locking image;
S341, refreshing the current number in the number library corresponding to the state information according to a second preset algorithm and the current number in the number library corresponding to the state information.
Specifically, for a 5-100 times lens, a user can set 5-30 times in a wide-angle state, 70-100 times in a telescopic state, and the rest states are middle.
When a user needs to test the lens through the test equipment, after a picture is obtained through the test, the picture is uploaded to the system, the system receives the picture, and the picture can be used as a newly added image in the system.
Before the system receives the picture, the user needs to manually set a manual operation mode or an automatic operation mode; when the system is in an automatic operation mode, a user needs to preset what state the lens is in, the lens is in a wide-angle state or a telescopic state or in the middle, and when the system receives the position of the moving group of the lens, state information of the lens can be obtained, namely the lens is in the wide-angle state or the telescopic state or in the middle at present; when the system is in the manual operation mode, the user can indicate that the lens is in the corresponding state only by pressing a button in the corresponding state.
The system also stores a number library corresponding to various states, and the number library is internally provided with a corresponding current number, so that the various states have corresponding current numbers; therefore, the system can number the images together using the date and time and the state number, the number 2021/0520/1200/wide5 below, indicating that the image is the fifth image in the 2021, 05, 20, 12-point wide-angle state.
After renaming is completed, the original current number library of the number library corresponding to the window can be increased or decreased, and the next photo can be window 6.
When the user finds a series of problems such as fuzzy shooting or problematic multiplying power of a newly named added image, the user can select the newly named added image as a locked image, after confirming deletion, the system can acquire that the number library corresponding to the image is a wide library, the current number is 6, and according to a second preset algorithm, the current number is reduced by 1, and then the current number is refreshed to be 5.
Example 7
An image renaming system comprising:
an information receiving module 10 for receiving an image of the system, for receiving location information or user selection information, and for receiving deletion information transmitted by the user;
a storage module 20, configured to store the image received by the system as a new image, and store the new image as a locked image after a user selects the new image;
a renaming module 30, when the information receiving module 10 receives the position information or the selection information of the user and there is a new image in the storage module 20, the renaming module 30 renames the new image;
A name analysis module 40, when the information receiving module 10 receives the deletion information transmitted by the user, the name analysis module 40 analyzes the name of the lock image;
The numbering library module 50 is configured to store a numbering library, and when the renaming module 30 renames the newly added image, the numbering library module 50 is configured to update the numbering library; after the name analysis module 40 analyzes the name of the locked image, the numbering library module 50 refreshes the numbering library according to the analysis result of the name analysis module 40.
After the system shoots a new image, a new image can be formed in the system, a storage module 20 is arranged in the system, and the new image and the locking image can be arranged in the storage module 20; when the new image exists in the system, the user can perform corresponding operation by selecting the corresponding new image, namely forming a locking image; when a new image exists in the system, taking the newly acquired image as the new image after shooting the new image.
When a new image exists in the system, the system indicates that a picture is shot in the system, and the picture is received, and the system can rename the new image according to the stored position information in the system or the selection information of a user.
The system can also freely set an automatic renaming mode or a manual renaming mode, when the automatic renaming mode is needed, the position information is needed to be set in advance, and when the manual renaming mode is needed, the corresponding selection information can be freely selected.
When the system determines the renaming mode, the system can rename according to the corresponding renaming mode and the corresponding information, the numbering library can be updated after renaming, and the next image can be renumbered after updating to form continuous numbering.
When the locked image exists in the storage module 20, that is, the user selects a certain image, the user can delete the certain image, and after deleting the image, the number library can be automatically refreshed, that is, the number can be reset once.
In this embodiment, through the setting of the steps, a new picture can be acquired after the lens is tested and an operation can be performed on the picture which is just acquired, so that the setting of a numbering library is realized, and then the continuous numbering of the acquired picture is realized.
Example 8
On the basis of embodiment 7, in this embodiment, the system further includes:
An operation control module 60 for receiving control information of a user; the control information at least comprises automatic control information and manual control information;
when a new image exists in the storage module 20, analyzing the control information received by the operation control module 60;
A state analysis module 70, when the operation control module 60 receives the automatic control information, the information receiving module 10 receives the position information, and the state analysis module 70 acquires the state information corresponding to the position information; when the operation control module 60 receives manual control information, the information receiving module 10 receives selection information of a user, and the state analyzing module 70 acquires state information corresponding to the selection information;
the numbering library module 50 is further configured to obtain a current number corresponding to the state information according to the state information;
The renaming module 30 is configured to rename the newly added image according to the state information and the corresponding current number;
The numbering library module 50 is configured to update the numbering library corresponding to the position state after renaming the newly added image by the renaming module 30.
In this embodiment, an operation mode can be set in the system, a user can select freely, and the system can acquire corresponding control information according to the selection of the user.
When the system detects that the system is in an automatic operation mode, a plurality of position sensors are arranged on the lens, the position sensors can send the current position of the moving group of the lens to the system, an information table with the position matched with the state information is stored in the system, the system can acquire the state information corresponding to the position information, meanwhile, a number library matched with the state information is also stored in the system, and the system can acquire the current number in the number library matched with the state information.
When the system detects that the system is in a manual operation mode, a plurality of selection devices such as keys can be arranged on the system, after a user presses the corresponding button, the system can acquire the current state of the lens, an information table with the position matched with the state information is stored in the system, the system can acquire the state information corresponding to the position information, meanwhile, a number library matched with the state information is also stored in the system, and the system can acquire the current number in the number library matched with the state information.
In this embodiment, when a new image is detected in the system, the naming of the new image is completed after renaming the new image by the current number of the number base, the next image can be updated after the naming is completed after the number base needs to be updated,
Preferably, the system further comprises:
A time module 80, where the time module 80 is configured to obtain a current date and a current time;
The renaming module 30 is further configured to rename the newly added image according to the status information and the corresponding current number, current date and current time.
In the embodiment, through the addition of the date and the time, the user can check the testing time of the image conveniently, the timing test of the system on the lens is facilitated, and the testing precision is further improved.
The number library module 50 is configured to update a current number in a number library corresponding to the state information according to a first preset algorithm and the current number in the number library corresponding to the state information.
Specifically, the first preset algorithm user can freely set, for example, the initial number is 1, the current label can be added with 1 each time an image is renamed, the current label is updated to 2, and the final image list forms a mode of sequentially arranging 1,2,3,4,5 and the like.
For example, the first database has an initial reference number of 1, the current reference number can be added with 2 each time an image is renamed, the current reference number is updated to 3, the final image list forms a mode of sequentially arranging 1,3,5,7,9 and the like, the second database has an initial reference number of 2, the current reference number can be added with 2 each time an image is renamed, the current reference number is updated to 4, the final image list forms a mode of sequentially arranging 2,4,6,8, 10 and the like, and the lens state corresponding to the image can be directly obtained through the numbers of the image names.
Or the initial number of the numbering library is 10, the current number can be reduced by 1 each time after an image is renamed, the current number is updated to 9, the numbering mode of the reverse order is formed, and the final image list is formed 10,9,8,7,6 and the like.
Example 9
On the basis of embodiment 7, in this embodiment, the system further includes:
A key analysis module 90, wherein when the operation control module 60 receives the manual control information, the key analysis module 90 is configured to analyze whether only one preset key is pressed;
When only one preset key is pressed, the state analysis module 70 acquires state information matched with the pressed preset key;
The number library module 50 obtains and records the current number in the number library corresponding to the state information according to the state information.
When the lens is in a certain state, the lens can send the positions of the plurality of moving groups as position information to the system, the positions of all the moving groups in all states from the wide-angle end to the telescopic end are stored in the system, and when the system acquires the current position of the moving group of the lens and successfully matches with the stored positions, the system can acquire whether the lens barrel is at the wide-angle end, the telescopic end or the middle part at present.
The system also stores a number library matched with the far-end, the wide-angle end and the middle part, and when the lens is in a certain position by analysis, the system can inquire the current number in the corresponding number library and is used for renaming the acquired newly-added image.
Example 10
On the basis of embodiment 7, in this embodiment, the system further includes:
When the lock image exists in the storage module 20, the information receiving module 10 analyzes whether the user transmits deletion information;
After the information receiving module 10 acquires the deletion information of the user, the name analyzing module 40 acquires the name of the lock image;
the state analysis module 70 is further configured to analyze and acquire the state information in the name of the lock image;
the number base module 50 is configured to refresh a number base corresponding to the location state.
When the user observes that the acquired image has errors or the acquired image is blurred, the user can select the image on the system, that is, a locked image in the storage module 20 is formed.
After the locked image is present in the storage module 20, the system is also able to analyze whether the user has performed the deletion.
Only after the deletion information of the user is acquired, the name of the locked image is acquired, so that the operation of the system when the locked image is deleted is reduced, and the smoothness of the system is improved.
After the name of the lock image is acquired, corresponding state information exists in the lock image, but no number information of the lock image is acquired.
After the state information of the locked image is obtained, the corresponding number library is searched in the system, and then the number library can be refreshed to reform the locked image.
When the present embodiment is applied to embodiment 9, the number base module 50 is configured to refresh the current number in the number base corresponding to the state information according to the second preset algorithm and the current number in the number base corresponding to the state information.
Example 11
An image testing apparatus comprising:
The target assembly is arranged at a preset position;
a lens assembly for facing the target assembly and acquiring an image containing the target assembly;
And the test assembly is provided with an image renaming system described in any embodiment, and is used for receiving the image of the lens assembly as a new image.
It should be noted that the above embodiments can be freely combined as needed. The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.
Claims (14)
1. An image renaming method, comprising the steps of:
s1, analyzing whether a new image or a locking image exists in a storage module;
s2, when a new image exists in the storage module, renaming the new image according to the received position information of the mobile group of the lens or the selection information of the user, and updating a number library;
S3, when the locking image exists in the storage module, analyzing the name of the locking image according to the acquired deleting information of the user, deleting the locking image, and refreshing a number library;
The step S2 specifically comprises the following steps:
s21, when a new image exists in the storage module, analyzing a current operation mode;
S22, when the automatic operation mode is in, acquiring state information corresponding to the position information and a current number corresponding to the state information according to the received position information;
s23, when the camera is in a manual operation mode, acquiring state information of a lens corresponding to the selection information and a current number corresponding to the state information according to the selection information of a user;
s24, renaming the newly added image according to the state information and the corresponding current number;
s25, updating a number library corresponding to the state information.
2. The image renaming method according to claim 1, wherein the step S24 specifically includes:
S241, obtaining the current date and the current time, and renaming the newly added image according to the state information and the corresponding current number, the current date and the current time.
3. The image renaming method according to claim 1, wherein the step S22 specifically includes:
S221, when the automatic operation mode is in, receiving and analyzing the position information, and analyzing whether the position information is matched with the corresponding state information;
S222, when the position information is matched with the state information, obtaining the state information;
S223, according to the state information, acquiring and recording the current number in a number library corresponding to the state information.
4. The image renaming method according to claim 1, wherein the step S23 specifically includes:
s231, when the operation is performed manually, whether only one preset key is pressed is analyzed;
S232, when only one preset key is pressed, acquiring state information matched with the pressed preset key;
S233, according to the state information, the current number in a number base corresponding to the state information is obtained and recorded.
5. The image renaming method according to claim 1,3 or 4, wherein step S25 specifically comprises:
S251, updating the current number in the number library corresponding to the state information according to a first preset algorithm and the current number in the number library corresponding to the state information.
6. The image renaming method according to claim 1, wherein the step S3 specifically includes:
s31, when the locking image exists in the storage module, analyzing whether a user sends deleting information or not;
s32, after deleting information of a user is acquired, acquiring the name of the locking image;
S33, analyzing and acquiring the state information in the name of the locking image;
S34, refreshing the number library corresponding to the state information.
7. A method of renaming images according to claim 3 or 4 wherein:
s31, when the locking image exists in the storage module, analyzing whether a user sends deleting information or not;
s32, after deleting information of a user is acquired, acquiring the name of the locking image;
S33, analyzing and acquiring the state information in the name of the locking image;
S341, refreshing the current number in the number library corresponding to the state information according to a second preset algorithm and the current number in the number library corresponding to the state information.
8. An image renaming system, comprising:
The information receiving module is used for receiving the image of the system, receiving the position information of the mobile group of the lens or the selection information of the user and receiving the deletion information sent by the user;
The storage module is used for storing the image received by the system as a newly added image and storing the newly added image as a locking image after a user selects the newly added image;
the renaming module renames the newly added image when the information receiving module receives the position information or the selection information of the user and the newly added image exists in the storage module;
The name analysis module analyzes the name of the locking image when the information receiving module receives the deleting information sent by the user;
the numbering library module is used for storing a numbering library, and updating the numbering library after the renaming module renames the newly added image; after the name analysis module analyzes the name of the locked image, the numbering library module refreshes the numbering library according to the analysis result of the name analysis module;
the operation control module is used for receiving control information of a user; the control information at least comprises automatic control information and manual control information;
when a new image exists in the storage module, analyzing control information received by the operation control module;
the state analysis module is used for receiving the position information when the operation control module receives the automatic control information, and acquiring state information corresponding to the position information; when the operation control module receives manual control information, the information receiving module receives selection information of a user, and the state analysis module acquires state information of a lens corresponding to the selection information;
the numbering library module is also used for acquiring a current number corresponding to the state information according to the state information;
the renaming module is used for renaming the newly added image according to the state information and the corresponding current number;
and the numbering library module is used for updating the numbering library corresponding to the state information after the renaming module renames the newly added image.
9. The image renaming system according to claim 8, further comprising:
The time module is used for acquiring the current date and the current time;
the renaming module is also used for renaming the newly-added image according to the state information, the corresponding current number, the current date and the current time.
10. The image renaming system according to claim 8, further comprising:
the key analysis module is used for analyzing whether only one preset key is pressed when the operation control module receives manual control information;
when only one preset key is pressed, the state analysis module acquires state information matched with the pressed preset key;
and the numbering library module acquires and records the current number in the numbering library corresponding to the state information according to the state information.
11. An image renaming system according to claim 8 or 10 wherein:
The number library module is used for updating the current number in the number library corresponding to the state information according to a first preset algorithm and the current number in the number library corresponding to the state information.
12. An image renaming system according to claim 8 wherein:
when the locking image exists in the storage module, the information receiving module analyzes whether the user sends deleting information or not;
after the information receiving module acquires the deleting information of the user, the name analyzing module acquires the name of the locking image;
The state analysis module is also used for analyzing and acquiring the state information in the name of the locking image;
the numbering library module is used for refreshing the numbering library corresponding to the state information.
13. An image renaming system according to claim 10 wherein:
when the locking image exists in the storage module, the information receiving module analyzes whether the user sends deleting information or not;
after the information receiving module acquires the deleting information of the user, the name analyzing module acquires the name of the locking image;
The state analysis module is also used for analyzing and acquiring the state information in the name of the locking image;
The number library module is used for refreshing the current number in the number library corresponding to the state information according to a second preset algorithm and the current number in the number library corresponding to the state information.
14. An image testing apparatus, comprising:
The target assembly is arranged at a preset position;
a lens assembly for facing the target assembly and acquiring an image containing the target assembly;
The image renaming system according to any one of claims 8-13 is loaded on the test assembly, and is used for receiving the image of the lens assembly as a new image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110828072.5A CN113590548B (en) | 2021-07-22 | 2021-07-22 | Image renaming method, image renaming system and image testing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110828072.5A CN113590548B (en) | 2021-07-22 | 2021-07-22 | Image renaming method, image renaming system and image testing device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113590548A CN113590548A (en) | 2021-11-02 |
CN113590548B true CN113590548B (en) | 2024-05-07 |
Family
ID=78249093
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110828072.5A Active CN113590548B (en) | 2021-07-22 | 2021-07-22 | Image renaming method, image renaming system and image testing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113590548B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1658192A (en) * | 2004-02-19 | 2005-08-24 | 乐金电子(中国)研究开发中心有限公司 | Method for setting image informention file name using sattellite location system and its device |
CN1894676A (en) * | 2003-12-19 | 2007-01-10 | 夏普株式会社 | Data storing apparatus, information transmitter apparatus, data storing system, and information processing system |
WO2012133481A1 (en) * | 2011-03-30 | 2012-10-04 | 三洋電機株式会社 | Camera |
CN102880871A (en) * | 2012-02-17 | 2013-01-16 | 邰锋 | System and method for classifying images according to time axis and places |
JP2015033001A (en) * | 2013-08-02 | 2015-02-16 | キヤノン株式会社 | Imaging apparatus and control method for imaging apparatus |
CN105574167A (en) * | 2015-12-17 | 2016-05-11 | 惠州Tcl移动通信有限公司 | Mobile terminal-based automatic photograph naming processing method and system |
CN108520040A (en) * | 2018-04-03 | 2018-09-11 | 浙江泰宁建设工程管理咨询有限公司 | A kind of project supervision data retention method and system |
CN112199339A (en) * | 2020-10-10 | 2021-01-08 | 福州润森电气自动化有限公司 | Automatic naming equipment and method for infrared thermal image on power transmission line |
CN112445765A (en) * | 2020-12-01 | 2021-03-05 | 国网福建省电力有限公司电力科学研究院 | Aerial line unmanned aerial vehicle inspection picture sorting and naming method based on smart phone APP |
-
2021
- 2021-07-22 CN CN202110828072.5A patent/CN113590548B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1894676A (en) * | 2003-12-19 | 2007-01-10 | 夏普株式会社 | Data storing apparatus, information transmitter apparatus, data storing system, and information processing system |
CN1658192A (en) * | 2004-02-19 | 2005-08-24 | 乐金电子(中国)研究开发中心有限公司 | Method for setting image informention file name using sattellite location system and its device |
WO2012133481A1 (en) * | 2011-03-30 | 2012-10-04 | 三洋電機株式会社 | Camera |
CN102880871A (en) * | 2012-02-17 | 2013-01-16 | 邰锋 | System and method for classifying images according to time axis and places |
JP2015033001A (en) * | 2013-08-02 | 2015-02-16 | キヤノン株式会社 | Imaging apparatus and control method for imaging apparatus |
CN105574167A (en) * | 2015-12-17 | 2016-05-11 | 惠州Tcl移动通信有限公司 | Mobile terminal-based automatic photograph naming processing method and system |
CN108520040A (en) * | 2018-04-03 | 2018-09-11 | 浙江泰宁建设工程管理咨询有限公司 | A kind of project supervision data retention method and system |
CN112199339A (en) * | 2020-10-10 | 2021-01-08 | 福州润森电气自动化有限公司 | Automatic naming equipment and method for infrared thermal image on power transmission line |
CN112445765A (en) * | 2020-12-01 | 2021-03-05 | 国网福建省电力有限公司电力科学研究院 | Aerial line unmanned aerial vehicle inspection picture sorting and naming method based on smart phone APP |
Also Published As
Publication number | Publication date |
---|---|
CN113590548A (en) | 2021-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2293943C (en) | Picture feature extraction device, picture retrieving device, and methods thereof for picture feature extraction and retrieving picture | |
CN108520567A (en) | A kind of auxiliary method for inspecting identified by capture apparatus operation image | |
CN101646098A (en) | Automatic test method and automatic test system | |
CN102611860B (en) | Method and device for selecting channel by sound | |
CN111625540A (en) | Method and device for verifying data synchronization integrity of relational database | |
CN113590548B (en) | Image renaming method, image renaming system and image testing device | |
CN105049768A (en) | Video playback method of video recording equipment | |
CN106610983A (en) | Picture management method and apparatus, and terminal | |
CN107230032B (en) | Electronic device management big data analysis system | |
CN113255438B (en) | Structured video file marking method, system, host and storage medium | |
CN113938674A (en) | Video quality detection method and device, electronic equipment and readable storage medium | |
CN115174958B (en) | Video query method, device, logistics monitoring system, equipment and program product | |
CN107027062B (en) | Method for automatically matching set top box infrared code and channel table by station logo recognition | |
CN116413009A (en) | Method and equipment for testing electronic rearview mirror | |
US8521010B2 (en) | Content playback unit and electronic device | |
CN115278017A (en) | Infrared intelligent shooting method and device, infrared thermal imaging equipment and medium | |
CN109492036A (en) | A kind of electronization test report system | |
CN212677298U (en) | A scientific-grade CMOS camera performance testing system | |
CN110876090A (en) | Video abstract playback method and device, electronic equipment and readable storage medium | |
CN109299345B (en) | Project preview system and method for multi-channel human-computer environment test data synchronization platform | |
US6778944B2 (en) | Method and system for managing data | |
CN114039994B (en) | Police Internet of things management platform and working method, police intelligent terminal and working method | |
CN113918575A (en) | Method for realizing off-line data grading locking mechanism | |
CN109447844A (en) | A kind of management method of electronization test report | |
KR20130104024A (en) | Apparatus for searching image data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |