CN114120047B - Method, system and equipment for judging object connectivity based on visual analysis - Google Patents

Method, system and equipment for judging object connectivity based on visual analysis Download PDF

Info

Publication number
CN114120047B
CN114120047B CN202210091727.XA CN202210091727A CN114120047B CN 114120047 B CN114120047 B CN 114120047B CN 202210091727 A CN202210091727 A CN 202210091727A CN 114120047 B CN114120047 B CN 114120047B
Authority
CN
China
Prior art keywords
sand
tool
sand tool
connection
tools
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
Application number
CN202210091727.XA
Other languages
Chinese (zh)
Other versions
CN114120047A (en
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.)
Institute of Automation of Chinese Academy of Science
Original Assignee
Institute of Automation of Chinese Academy of Science
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 Institute of Automation of Chinese Academy of Science filed Critical Institute of Automation of Chinese Academy of Science
Priority to CN202210091727.XA priority Critical patent/CN114120047B/en
Publication of CN114120047A publication Critical patent/CN114120047A/en
Application granted granted Critical
Publication of CN114120047B publication Critical patent/CN114120047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • G06F18/232Non-hierarchical techniques
    • G06F18/2321Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H15/00ICT specially adapted for medical reports, e.g. generation or transmission thereof
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/20ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for computer-aided diagnosis, e.g. based on medical expert systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Public Health (AREA)
  • Medical Informatics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Biomedical Technology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Primary Health Care (AREA)
  • General Engineering & Computer Science (AREA)
  • Probability & Statistics with Applications (AREA)
  • Databases & Information Systems (AREA)
  • Pathology (AREA)
  • Image Analysis (AREA)

Abstract

The invention belongs to the field of image recognition, and particularly relates to a method, a system and equipment for judging the connection property of an object based on visual analysis, aiming at solving the problem that the analysis results of analysts with larger subjectivity are inconsistent when the existing click psychological sand table is used for analyzing the connection theme. The invention comprises the following steps: the method comprises the steps of obtaining a visual sand table image, obtaining sand tool information in the visual image through a sand tool identification algorithm based on the visual sand table image, dividing sand tools in the visual image into connecting sand tools and general sand tools based on the sand tool information, respectively judging an explicit connectivity index and an implicit connectivity index based on position information and distribution areas of the sand tools, obtaining connectivity grade based on the explicit connectivity index and the implicit connectivity index, and obtaining a psychological analysis report according to the connectivity grade. According to the invention, through uniformly analyzing the connection property of the objects in the sand table image, the accuracy and consistency of connection theme recognition can be improved, and the consultation efficiency is improved.

Description

Method, system and equipment for judging object connectivity based on visual analysis
Technical Field
The invention belongs to the field of image recognition, and particularly relates to a method, a system and equipment for judging the object connectivity based on visual analysis.
Background
The initial sand table is the first sand table made by a sand table player and can reflect the psychological problem essence of the sand table player. Sand table games have been studied as a diagnostic tool by comparing the differences between patient and normal sand tables. The existing sand table theory mainly identifies the person with positive psychological symptoms based on the sand table theme, and a sand table analyst analyzes the theme category appearing in the psychological sand table by combining the theory and experience, so that the application of the initial sand table in clinical diagnosis is achieved. In the identification process, the accurate finding of the theme appearing in the sand table becomes the key for the identification accuracy. The main identification index of the topic of sand table connection is the connectivity between sand tools in the sand table, and in one sand table work, if the sand tools are connected by some sand tools (such as roads) with connection properties or a plurality of sand tools form a scene with connectivity together (such as a scene that a group of people surround together to form communication), the sand table work is called to meet the topic of connection.
In the prior art, whether the sand table work meets the joint theme or not can be generally judged only through experience of analysts, so that the method has great subjectivity, and the conclusions given by different analysts have deviation.
Disclosure of Invention
In order to solve the above problems in the prior art, that is, the existing electronic psychological sand table analysis method can only use experience of sand table analysts to judge whether a sand table work meets a joint theme, and has a great subjectivity, and the results given by different analysts may have deviation, a method for judging the object joint based on visual analysis is provided, the method comprising:
s100, acquiring a visual image of a sand table;
s200, acquiring sand tool information in the visual image through a sand tool identification algorithm based on the sand table visual image;
step S300, dividing the sand tools in the visual image into a connecting sand tool and a common sand tool based on the sand tool information;
step S400, judging the explicit associativity index of the sand tool based on the position information and the distribution area information of the connecting sand tool and the general sand tool;
selecting a preset sand tool which possibly has implicit connection based on the sand tool information of the common sand tool, and judging the implicit connection index of the sand tool based on the position information, the distribution area information and the orientation information of the sand tool which possibly has implicit connection;
and step S500, acquiring a connectivity grade based on the explicit connectivity index and the implicit connectivity index, and acquiring a psychological analysis report according to the connectivity grade.
In some preferred embodiments, the connecting harness is of a predetermined harness type having connections for other harnesses, including bridges and roads.
In some preferred embodiments, the determining an explicit associativity index of the sand tool based on the location information and the distribution area information of the connecting sand tool and the general sand tool specifically includes:
step S410A, calculating a minimum circumscribed circle and a minimum circumscribed circle radius surrounding each of the connection sanders or the general sanders based on the position information of the connection sanders and the general sanders;
step S420A, calculating a first spatial distance between the current connecting sander and the current general sander based on the connecting sanders, and when the first spatial distance is smaller than the sum of the minimum circumscribed circle radius of the current connecting sander and the current general sander, determining that the current connecting sander is adjacent to the current general sander;
step S430A, if the number of the common sand tools adjacent to the current connecting sand tool is greater than or equal to 2, determining that the current connecting sand tool plays a coupling role as 1 explicit coupling sand tool;
and step S440A, selecting another connecting sand tool, and repeating the steps S420A-S430A until all the connecting sand tools are traversed to obtain the number of the explicit connecting sand tools as an explicit connecting index.
In some preferred embodiments, the sand tools that may have an implicit connection are selected based on the sand tool information of the general sand tools, and the implicit connection index of the sand tools is determined based on the position information, the distribution area information, and the orientation information of the sand tools that may have the implicit connection, specifically:
step S410B, selecting a preset sand tool which may have implicit connection; the sand tools where implicit linkages may exist include humans, animals and virtual characters;
step S420B, clustering each sand tool to obtain sand tool clusters;
step S430B, calculating the centroid position of the sand tool cluster based on the sand tool cluster, and judging the orientation angle of each sand tool, wherein if the orientation angle of the sand tool is pointing to the centroid of the sand tool cluster and the deviation angle is smaller than a preset threshold value, the orientation is judged to be correct;
step S440B, counting a first ratio of sand tools facing correctly in the sand tool clusters to the number of sand tools in the sand tool clusters, and when the first ratio is greater than or equal to a preset threshold value, determining that the sand tool clusters are 1 implicitly connected sand tool clusters;
step S450B, traversing all the sand tool clusters, and counting the number of the implicit connection sand tool clusters in the sand table as an implicit connection index.
In some preferred embodiments, the step S420B includes:
clustering the sand tools by a DBSCAN clustering method, specifically, presetting a minimum neighborhood distance
Figure 535135DEST_PATH_IMAGE001
And minimum cluster sample point number
Figure 742125DEST_PATH_IMAGE002
The distance between two points in the sand tool image is smaller than the minimum neighborhood distance
Figure 262100DEST_PATH_IMAGE001
If the density of the two points is up, the two points are judged to be the same temporary cluster;
if the number of sample points in the temporary cluster is larger than the minimum cluster sample point number
Figure 452910DEST_PATH_IMAGE002
And determining the temporary cluster as a clustered sand tool cluster.
In some preferred embodiments, the method further comprises a minimum neighborhood distance
Figure 83742DEST_PATH_IMAGE001
The self-adaptive adjustment method specifically comprises the following steps:
based on the position information and the distribution area information of the connecting sand tool and the common sand tool, the minimum circumscribed circle radius surrounding the current sand tool is obtained, and when judging whether the density of the two sand tools can reach, the minimum neighborhood distance is obtained
Figure 676398DEST_PATH_IMAGE001
Set to the sum of the two minimum circumscribed circle radii.
In some preferred embodiments, the step S500 is specifically:
in the explicit connection index, when the number of explicit connection sand tools is more than or equal to 4, the first connection grade is 3; when the number of the explicit connection sand tools is more than or equal to 2 and less than 4, the first connection grade is 2; when the number of the explicit connection sand tools is 1, the first connection grade is 1; when the number of the explicit connection sand tools is 0, the first connection grade is 0;
in the implicit connection index, when the number of implicit connection sand tool clusters is greater than or equal to 3, the second connection grade is 3; when the number of the implicit connection sand tool clusters is 2, the second connection grade is 2; when the number of the implicit connection sand tool clusters is 1, the second connection grade is 1; when the number of the implicit connection sand tool clusters is 0, the second connection grade is 0;
and taking the maximum value of the first connection grade and the second connection grade as the final connection grade of the sand table.
In another aspect of the present invention, a system for determining the connectivity of an object based on visual analysis is provided, including: the sand tool early classification system comprises an image acquisition module, a sand tool identification module, a sand tool initial classification module, a connectivity index judgment module and a connectivity grade judgment module;
the image acquisition module is configured to acquire a sand table visual image;
the sand tool identification module is configured to acquire sand tool information in the visual image through a sand tool identification algorithm based on the sand table visual image;
the sand tool primary classification module is configured to divide sand tools in the visual image into a connecting sand tool and a common sand tool based on the sand tool information;
the joint index judging module is configured to judge the explicit joint index of the sand tool based on the position information and the distribution area information of the connecting sand tool and the general sand tool;
selecting a preset sand tool which possibly has implicit connection based on the sand tool information of the common sand tool, and judging the implicit connection index of the sand tool based on the position information, the distribution area information and the orientation information of the sand tool which possibly has implicit connection;
and the associativity grade judging module is configured to obtain an associativity grade based on the explicit associativity index and the implicit associativity index and obtain a psychological analysis report according to the associativity grade.
In a third aspect of the present invention, an electronic device is provided, including: at least one processor; and a memory communicatively coupled to at least one of the processors; wherein the memory stores instructions executable by the processor for implementing the above-described method for determining the associativity of an object based on visual analysis.
In a fourth aspect of the present invention, a computer-readable storage medium is provided, in which computer instructions are stored, and the computer instructions are used for being executed by the computer to implement the above method for determining the object connectivity based on visual analysis.
The invention has the beneficial effects that:
the method for judging the object connection based on visual analysis can solve the problem that different sand table analysts are low in accuracy rate of identifying psychological sand table connection subjects, can improve accuracy and consistency of connection subject identification, and improves consultation efficiency.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is a schematic flow chart of a method for determining the connectivity of an object based on visual analysis according to the present invention;
fig. 2 is a schematic diagram illustrating the effect of the method for determining the object connectivity based on visual analysis according to the present invention.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
The invention provides a method for judging the object associativity based on visual analysis, which provides a method for objectively analyzing the associativity of a psychological sand table work image, and can obtain consistent and accurate analysis results no matter whether the experience of a sand table analyst is rich or not.
The invention relates to a method for judging the object connection based on visual analysis, which comprises the following steps: s100, acquiring a visual image of a sand table;
s200, acquiring sand tool information in the visual image through a sand tool identification algorithm based on the sand table visual image;
step S300, dividing the sand tools in the visual image into a connecting sand tool and a common sand tool based on the sand tool information;
step S400, judging the explicit associativity index of the sand tool based on the position information and the distribution area information of the connecting sand tool and the general sand tool;
selecting a preset sand tool which possibly has implicit connection based on the sand tool information of the common sand tool, and judging the implicit connection index of the sand tool based on the position information, the distribution area information and the orientation information of the sand tool which possibly has implicit connection;
and step S500, acquiring a connectivity grade based on the explicit connectivity index and the implicit connectivity index, and acquiring a psychological analysis report according to the connectivity grade.
In order to more clearly explain the method for determining the object connection based on visual analysis according to the present invention, the following describes the steps in the embodiment of the present invention in detail with reference to fig. 1.
The method for judging the object connection based on the visual analysis in the first embodiment of the invention comprises the following steps:
in the expression of the psychological sand table, the sand table works of the authors of the sand table which usually have the tendency of depression, falling and the like easily show the conditions of sand table splitting, isolation and prop lack of connection. If the sandware of the sandware works has a 'connection' theme in the process of the sandware treatment, the psychological state of a sandware maker tends to be good, the willingness of communicating with other people is shown, and more connections are formed among the sandware.
In the present embodiment, the term "link" means that objects have some relationship due to some kind of connective effect, and in the sand table work, the connective effect is mainly embodied in that sand tools containing the connective effect connect other common sand tools spatially and explicitly, or some objects in the sand table have no specific connective sand tool in between, but through specific spatial position distribution, a connection scene can also be formed. For example, a group of people is tightly seated in a sand table, and a communication scene formed by the people is connected.
S100, acquiring a visual image of a sand table;
s200, acquiring sand tool information in the visual image through a sand tool identification algorithm based on the sand table visual image; for a pair of sand table works laid by visitors, the type information, the position information and the distribution area information of the selected sand tools can be confirmed by an image identification method; the invention can also be implemented in the field of electronic mental sand tables.
Step S300, dividing the sand tools in the visual image into a connecting sand tool and a common sand tool based on the sand tool information;
in the embodiment, the connecting sand tools are of preset sand tool types for connecting other sand tools, including bridges, roads or vehicles such as ships and automobiles; the connecting sand tool can be additionally arranged according to the abundance of sand tool materials. Typical sandware in this embodiment typically includes pedestrian, automotive, animal, plant and other optional sandware.
Step S400, as shown in FIG. 2, judging the explicit associativity index of the sand tool based on the position information and the distribution area information of the connecting sand tool and the general sand tool;
in this embodiment, the following are specifically mentioned:
step S410A, calculating a minimum circumscribed circle and a minimum circumscribed circle radius surrounding each of the connection sanders or the general sanders based on the position information of the connection sanders and the general sanders;
step S420A, calculating a first spatial distance between the current connecting sander and the current general sander based on the connecting sanders, and when the first spatial distance is smaller than the sum of the minimum circumscribed circle radius of the current connecting sander and the current general sander, determining that the current connecting sander is adjacent to the current general sander;
step S430A, if the number of the common sand tools adjacent to the current connecting sand tool is greater than or equal to 2, determining that the current connecting sand tool plays a coupling role as 1 explicit coupling sand tool;
and step S440A, selecting another connecting sand tool, and repeating the steps S420A-S430A until all the connecting sand tools are traversed to obtain the number of the explicit connecting sand tools as an explicit connecting index.
As shown in fig. 2, based on the sand tool information of a general sand tool, selecting a preset sand tool which may have an implicit connection, and determining an implicit connection index of the sand tool based on the position information, distribution area information and orientation information of the sand tool which may have the implicit connection;
in this embodiment, the following are specifically mentioned:
for a decision to compose an implicit junction scenario, each sand tool should satisfy 3 conditions: (1) the sand tools are classified to meet specific conditions, and only the sand tools of human beings and ordinary animals have conditions to form a communication scene; (2) the space distance between the sand tools is close enough; (3) the direction between the sand tools should point to the middle area of the whole scene to be judged;
step S410B, selecting a preset sand tool which may have implicit connection; the sand tools where implicit linkages may exist include humans, animals and virtual characters;
step S420B, clustering each sand tool to obtain sand tool clusters;
in this embodiment, the step S420B includes:
clustering the sand tools by a DBSCAN clustering method, specifically, presetting a minimum neighborhood distance
Figure 665475DEST_PATH_IMAGE001
And minimum cluster sample point number
Figure 422210DEST_PATH_IMAGE002
The distance between two points in the sand tool image is smaller than the minimum neighborhood distance
Figure 184630DEST_PATH_IMAGE001
If the density of the two points is up, the two points are judged to be the same temporary cluster;
if the number of sample points in the temporary cluster is larger than the minimum cluster sample point number
Figure 835054DEST_PATH_IMAGE002
And determining the temporary cluster as a clustered sand tool cluster.
In this embodiment, a minimum neighborhood distance is further included
Figure 929787DEST_PATH_IMAGE001
The self-adaptive adjustment method specifically comprises the following steps:
acquiring the most surrounding current sand tool based on the position information and the distribution area information of the connecting sand tool and the common sand toolThe minimum neighborhood distance is determined by the radius of the small circumscribed circle when judging whether the density of the two sand tools can be reached
Figure 360768DEST_PATH_IMAGE001
Set to the sum of the two minimum circumscribed circle radii.
Step S430B, calculating the centroid position of the sand tool cluster based on the sand tool cluster, and judging the orientation angle of each sand tool, wherein if the orientation angle of the sand tool is pointing to the centroid of the sand tool cluster and the deviation angle is smaller than a preset threshold value, the orientation is judged to be correct; for example, if the center of mass of each sand tool cluster is in the middle of the center, the center of mass is 0 degrees in the right-down direction, and the center of mass sequentially increases to 360 degrees clockwise, and if one sand tool is located in the right-upper direction of the center of mass, the sand tool is considered to face correctly only if the facing angle of the sand tool is in the range of 0-90 degrees. Typically, the off-angle is set to 45 °.
Step S440B, counting a first ratio of sand tools facing correctly in the sand tool clusters to the number of sand tools in the sand tool clusters, and when the first ratio is greater than or equal to a preset threshold value, determining that the sand tool clusters are 1 implicitly connected sand tool clusters; the first ratio is preferably set to 0.6.
Step S450B, traversing all the sand tool clusters, and counting the number of the implicit connection sand tool clusters in the sand table as an implicit connection index.
And step S500, acquiring a connectivity grade based on the explicit connectivity index and the implicit connectivity index, and acquiring a psychological analysis report according to the connectivity grade.
In this embodiment, the step S500 specifically includes:
in the explicit connection index, when the number of explicit connection sand tools is more than or equal to 4, the first connection grade is 3; when the number of the explicit connection sand tools is more than or equal to 2 and less than 4, the first connection grade is 2; when the number of the explicit connection sand tools is 1, the first connection grade is 1; when the number of the explicit connection sand tools is 0, the first connection grade is 0;
in the implicit connection index, when the number of implicit connection sand tool clusters is greater than or equal to 3, the second connection grade is 3; when the number of the implicit connection sand tool clusters is 2, the second connection grade is 2; when the number of the implicit connection sand tool clusters is 1, the second connection grade is 1; when the number of the implicit connection sand tool clusters is 0, the second connection grade is 0;
and taking the maximum value of the first connection grade and the second connection grade as the final connection grade of the sand table.
A second embodiment of the present invention is a system for judging the associativity of an object based on visual analysis, comprising: the device comprises an image acquisition module, a sand tool identification module, a sand tool primary classification module, a connectivity index judgment module and a connectivity grade judgment module:
the image acquisition module is configured to acquire a sand table visual image;
the sand tool identification module is configured to acquire sand tool information in the visual image through a sand tool identification algorithm based on the sand table visual image;
the sand tool primary classification module is configured to divide sand tools in the visual image into a connecting sand tool and a common sand tool based on the sand tool information;
the joint index judging module is configured to judge the explicit joint index of the sand tool based on the position information and the distribution area information of the connecting sand tool and the general sand tool;
selecting a preset sand tool which possibly has implicit connection based on the sand tool information of the common sand tool, and judging the implicit connection index of the sand tool based on the position information, the distribution area information and the orientation information of the sand tool which possibly has implicit connection;
and the associativity grade judging module is configured to obtain an associativity grade based on the explicit associativity index and the implicit associativity index and obtain a psychological analysis report according to the associativity grade.
An electronic apparatus according to a third embodiment of the present invention includes: at least one processor; and a memory communicatively coupled to at least one of the processors; wherein the memory stores instructions executable by the processor for implementing the above-described method for determining the associativity of an object based on visual analysis.
A computer-readable storage medium of a fourth embodiment of the present invention stores computer instructions for being executed by the computer to implement the method for determining the coupling property of an object based on visual analysis.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes and related descriptions of the storage device and the processing device described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The terms "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing or implying a particular order or sequence.
The terms "comprises," "comprising," or any other similar term are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.

Claims (7)

1. A method for determining the connectivity of an object based on visual analysis, the method comprising:
s100, acquiring a visual image of a sand table;
s200, acquiring sand tool information in the visual image through a sand tool identification algorithm based on the sand table visual image;
step S300, dividing the sand tools in the visual image into a connecting sand tool and a common sand tool based on the sand tool information; the connecting sand tools are of preset sand tool types which can connect other sand tools, and comprise bridges and roads;
step S400, judging the explicit associativity index of the sand tool based on the position information and the distribution area information of the connecting sand tool and the general sand tool;
the method specifically comprises the following steps:
step S410A, calculating a minimum circumscribed circle and a minimum circumscribed circle radius surrounding each of the connection sanders or the general sanders based on the position information of the connection sanders and the general sanders;
step S420A, calculating a first spatial distance between the current connecting sander and the current general sander based on the connecting sanders, and when the first spatial distance is smaller than the sum of the minimum circumscribed circle radius of the current connecting sander and the current general sander, determining that the current connecting sander is adjacent to the current general sander;
step S430A, if the number of the common sand tools adjacent to the current connecting sand tool is greater than or equal to 2, determining that the current connecting sand tool plays a coupling role as 1 explicit coupling sand tool;
step S440A, selecting another connected sand tool, repeating the steps S420A-S430A until all the connected sand tools are traversed, and obtaining the number of the explicit connected sand tools as an explicit connection index;
selecting a preset sand tool which possibly has implicit connection based on the sand tool information of the common sand tool, and judging the implicit connection index of the sand tool based on the position information, the distribution area information and the orientation information of the sand tool which possibly has implicit connection;
the method specifically comprises the following steps:
step S410B, selecting a preset sand tool which may have implicit connection; the sand tools where implicit linkages may exist include humans, animals and virtual characters;
step S420B, clustering each sand tool to obtain sand tool clusters;
step S430B, calculating the centroid position of the sand tool cluster based on the sand tool cluster, and judging the orientation angle of each sand tool, wherein if the orientation angle of the sand tool is pointing to the centroid of the sand tool cluster and the deviation angle is smaller than a preset threshold value, the orientation is judged to be correct;
step S440B, counting a first ratio of sand tools facing correctly in the sand tool clusters to the number of sand tools in the sand tool clusters, and when the first ratio is greater than or equal to a preset threshold value, determining that the sand tool clusters are 1 implicitly connected sand tool clusters;
step S450B, traversing all the sand tool clusters, and counting the number of the implicit connection sand tool clusters in the sand table as an implicit connection index;
and step S500, acquiring a connectivity grade based on the explicit connectivity index and the implicit connectivity index, and acquiring a psychological analysis report according to the connectivity grade.
2. The method for determining the associativity of an object based on visual analysis according to claim 1, wherein said step S420B includes:
clustering the sand tools by a DBSCAN clustering method, specifically, presetting a minimum neighborhood distance
Figure 439572DEST_PATH_IMAGE001
And minimum cluster sample point number
Figure DEST_PATH_IMAGE002
The distance between two points in the sand tool image is smaller than the minimum neighborhood distance
Figure 622291DEST_PATH_IMAGE001
If the density of the two points is up, the two points are judged to be the same temporary cluster;
if the number of sample points in the temporary cluster is larger than the minimum cluster sample point number
Figure 667608DEST_PATH_IMAGE002
And determining the temporary cluster as a clustered sand tool cluster.
3. The method of claim 2, further comprising a minimum neighborhood distance
Figure 62817DEST_PATH_IMAGE001
The self-adaptive adjustment method specifically comprises the following steps:
based on the position information and the distribution area information of the connecting sand tool and the common sand tool, the minimum circumscribed circle radius surrounding the current sand tool is obtained, and when judging whether the density of the two sand tools can reach, the minimum neighborhood distance is obtained
Figure 142768DEST_PATH_IMAGE001
Set to the sum of the two minimum circumscribed circle radii.
4. The method for judging the object connection property based on the visual analysis according to claim 1, wherein the step S500 is specifically as follows:
in the explicit connection index, when the number of explicit connection sand tools is more than or equal to 4, the first connection grade is 3; when the number of the explicit connection sand tools is more than or equal to 2 and less than 4, the first connection grade is 2; when the number of the explicit connection sand tools is 1, the first connection grade is 1; when the number of the explicit connection sand tools is 0, the first connection grade is 0;
in the implicit connection index, when the number of implicit connection sand tool clusters is greater than or equal to 3, the second connection grade is 3; when the number of the implicit connection sand tool clusters is 2, the second connection grade is 2; when the number of the implicit connection sand tool clusters is 1, the second connection grade is 1; when the number of the implicit connection sand tool clusters is 0, the second connection grade is 0;
and taking the maximum value of the first connection grade and the second connection grade as the final connection grade of the sand table.
5. A system for determining the connectivity of an object based on visual analysis, the system comprising: the device comprises an image acquisition module, a sand tool identification module, a sand tool primary classification module, a connectivity index judgment module and a connectivity grade judgment module:
the image acquisition module is configured to acquire a sand table visual image;
the sand tool identification module is configured to acquire sand tool information in the visual image through a sand tool identification algorithm based on the sand table visual image;
the sand tool primary classification module is configured to divide sand tools in the visual image into a connecting sand tool and a common sand tool based on the sand tool information; the connecting sand tools are of preset sand tool types which can connect other sand tools, and comprise bridges and roads;
the joint index judging module is configured to judge the explicit joint index of the sand tool based on the position information and the distribution area information of the connecting sand tool and the general sand tool;
the method specifically comprises the following steps:
calculating a minimum circumscribed circle and a minimum circumscribed circle radius surrounding each of the connection sandtools or the general sandtools based on the position information of the connection sandtools and the general sandtools;
calculating a first space distance between the current connecting sand tool and the current common sand tool based on the connecting sand tool, and judging that the current connecting sand tool is adjacent to the current common sand tool when the first space distance is smaller than the sum of the minimum circumscribed circle radius of the current connecting sand tool and the current common sand tool;
if the number of the common sand tools adjacent to the current connecting sand tool is more than or equal to 2, judging that the current connecting sand tool plays a coupling role and is used as 1 explicit coupling sand tool;
selecting another connected sand tool, traversing all the connected sand tools to obtain the number of the explicit connected sand tools as an explicit connectivity index;
selecting a preset sand tool which possibly has implicit connection based on the sand tool information of the common sand tool, and judging the implicit connection index of the sand tool based on the position information, the distribution area information and the orientation information of the sand tool which possibly has implicit connection;
the method specifically comprises the following steps:
selecting a preset sand tool which possibly has implicit connection; the sand tools where implicit linkages may exist include humans, animals and virtual characters;
clustering each sand tool to obtain a sand tool cluster;
calculating the position of the mass center of the sand tool cluster based on the sand tool cluster, judging the orientation angle of each sand tool, and if the orientation angle of the sand tool points to the mass center of the sand tool cluster where the sand tool cluster is located and the deviation angle is smaller than a preset threshold value, judging that the orientation is correct;
counting a first ratio of sand tools facing correctly in the sand tool clusters to the number of the sand tools in the sand tool clusters, and when the first ratio is greater than or equal to a preset threshold value, judging that the sand tool clusters are 1 implicit connection sand tool clusters;
traversing all the sand tool clusters, and counting the number of the implicit connection sand tool clusters in the sand table as an implicit connection index;
and the associativity grade judging module is configured to obtain an associativity grade based on the explicit associativity index and the implicit associativity index and obtain a psychological analysis report according to the associativity grade.
6. An electronic device, comprising: at least one processor; and a memory communicatively coupled to at least one of the processors; wherein the memory stores instructions executable by the processor for performing the method of determining object associativity based on visual analysis of any one of claims 1 to 4.
7. A computer-readable storage medium storing computer instructions for execution by the computer to implement the method for determining the associativity of an object based on visual analysis according to any one of claims 1 to 4.
CN202210091727.XA 2022-01-26 2022-01-26 Method, system and equipment for judging object connectivity based on visual analysis Active CN114120047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210091727.XA CN114120047B (en) 2022-01-26 2022-01-26 Method, system and equipment for judging object connectivity based on visual analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210091727.XA CN114120047B (en) 2022-01-26 2022-01-26 Method, system and equipment for judging object connectivity based on visual analysis

Publications (2)

Publication Number Publication Date
CN114120047A CN114120047A (en) 2022-03-01
CN114120047B true CN114120047B (en) 2022-04-08

Family

ID=80361526

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210091727.XA Active CN114120047B (en) 2022-01-26 2022-01-26 Method, system and equipment for judging object connectivity based on visual analysis

Country Status (1)

Country Link
CN (1) CN114120047B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239294A (en) * 2017-07-11 2017-10-10 王子南 A kind of establishment operating method of virtual sand table and its application
CN207950587U (en) * 2018-02-02 2018-10-12 长沙师范学院 Sandplay therapy sandbox
CN109920283A (en) * 2017-12-12 2019-06-21 王子南 A kind of simulation sand table system
WO2019119314A1 (en) * 2017-12-20 2019-06-27 王子南 Simulated sandbox system
CN110721387A (en) * 2019-11-04 2020-01-24 北京容大天成科技有限公司 3D digital psychological sand table implementation method and device, electronic equipment and psychological sand table
CN110916687A (en) * 2019-11-07 2020-03-27 苏志强 Virtual sand table psychological analysis processing method, storage medium and system
CN211132590U (en) * 2019-11-04 2020-07-31 北京容大天成科技有限公司 3D digital psychological sand table
CN111524578A (en) * 2020-06-19 2020-08-11 智恩陪心(北京)科技有限公司 Psychological assessment device, method and system based on electronic psychological sand table
CN111956240A (en) * 2020-07-29 2020-11-20 北京态极科技有限公司 Psychological analysis device and method of 3D real-scene simulation sand table based on wireless sensing technology
CN111973201A (en) * 2020-07-29 2020-11-24 北京塞欧思科技有限公司 Multi-dimensional virtual psychological sand table intelligent analysis method and device based on eye movement interaction

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN208384844U (en) * 2018-01-23 2019-01-15 张文卿 A kind of middle and primary schools' psychological health education carrying case
CN109993654A (en) * 2019-04-02 2019-07-09 王子南 A kind of cognition evaluation system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107239294A (en) * 2017-07-11 2017-10-10 王子南 A kind of establishment operating method of virtual sand table and its application
CN109920283A (en) * 2017-12-12 2019-06-21 王子南 A kind of simulation sand table system
WO2019119314A1 (en) * 2017-12-20 2019-06-27 王子南 Simulated sandbox system
CN207950587U (en) * 2018-02-02 2018-10-12 长沙师范学院 Sandplay therapy sandbox
CN110721387A (en) * 2019-11-04 2020-01-24 北京容大天成科技有限公司 3D digital psychological sand table implementation method and device, electronic equipment and psychological sand table
CN211132590U (en) * 2019-11-04 2020-07-31 北京容大天成科技有限公司 3D digital psychological sand table
CN110916687A (en) * 2019-11-07 2020-03-27 苏志强 Virtual sand table psychological analysis processing method, storage medium and system
CN111524578A (en) * 2020-06-19 2020-08-11 智恩陪心(北京)科技有限公司 Psychological assessment device, method and system based on electronic psychological sand table
CN111956240A (en) * 2020-07-29 2020-11-20 北京态极科技有限公司 Psychological analysis device and method of 3D real-scene simulation sand table based on wireless sensing technology
CN111973201A (en) * 2020-07-29 2020-11-24 北京塞欧思科技有限公司 Multi-dimensional virtual psychological sand table intelligent analysis method and device based on eye movement interaction

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Development and Validation of Healing Experience of Image in Sandplay Therapy Questionnaire;Bei-Rong, L等;《Chinese Journal of Clinical Psychology》;20121231;第20卷(第6期);第752-755页 *
从可视化的角度理解沙盘游戏;刘永贤;《校园心理》;20200430;第18卷(第2期);第163-165页 *

Also Published As

Publication number Publication date
CN114120047A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
US9928401B2 (en) System and method of biometric enrollment and verification
Roddy et al. Fingerprint features-statistical analysis and system performance estimates
US7151846B1 (en) Apparatus and method for matching fingerprint
US5631972A (en) Hyperladder fingerprint matcher
CN100356388C (en) Biocharacteristics fusioned identity distinguishing and identification method
US5239590A (en) Fingerprint verification method
US7236617B1 (en) Method and device for determining a total minutiae template from a plurality of partial minutiae templates
DE69832314T2 (en) Image matching system
Jain et al. On matching latent fingerprints
WO2004049242A3 (en) Systems and methods for managing and detecting fraud in image databases used with identification documents
EP0930580A2 (en) Method and device for registering and collating palm imprints
CN102782724A (en) Foreign object assessment device, foreign object assessment method, and foreign object assessment program
KR100214350B1 (en) Tenprint card selector and tenprint card preselector
EP1563446B1 (en) Method, device and computer program for detecting point correspondences in sets of points
CN112487867A (en) Visual constraint fingerprint identification method based on enhanced triangulation
Choi et al. On the evidential value of fingerprints
US9152867B2 (en) Use of relatively permanent pigmented or vascular skin mark patterns in images for personal identification
CN114120047B (en) Method, system and equipment for judging object connectivity based on visual analysis
Su et al. Evaluation of rarity of fingerprints in forensics
Egli Interpretation of partial fingermarks using an automated fingerprint identification system
Dass et al. Statistical models for assessing the individuality of fingerprints
JP2006277146A (en) Collating method and collating device
Liu et al. A feedback paradigm for latent fingerprint matching
Bhowmick et al. Determination of minutiae scores for fingerprint image applications
Yau et al. Fingerprint templates combination

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