A significant target detection method, system, electronic device, and storage medium
Through the methods of latent representation learning and popular regularization, the problem of the independent and identical distribution assumption of multi-view features is solved, the intrinsic relationship between features is captured, the impact of noise is reduced, and the accuracy and robustness of saliency detection are improved.
Patent Information
- Application Number
- CN202310571710.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-19
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2043-05-19
AI Technical Summary
Existing unsupervised salient target detection methods assume that multi-view features are independent and identically distributed, cannot fully utilize the intrinsic connections between features, and are easily affected by noisy features and samples, resulting in poor performance.
The method of latent representation learning and popularity regularization is used to reduce the impact of noise, capture the intrinsic correlation between features, and retain the local popularity structure in the latent space by constructing the affinity matrix and latent representation learning matrix of multi-view features to generate The final feature saliency map.
It improves the accuracy and robustness of saliency detection, enhances the differentiation between the target and the background, reduces noise interference, and improves the detection effect.
Smart Images

Figure CN116630651B
Abstract
Description
Technical Field
[0001] The present invention relates to a significant target detection method, system, electronic equipment and storage medium, and belongs to the technical field of image detection and data processing. Background Art
[0002] Salient object detection aims to accurately segment objects of interest from a single scene or perform co-saliency detection from multiple images. In recent years, salient object detection has become a hot topic in the field of computer vision due to its great application potential in multimedia applications such as image segmentation, image retrieval, image compression, image recognition or classification. Depending on whether labeled information is used, salient object detection algorithms can be roughly divided into supervised and unsupervised methods. Although supervised methods, especially deep learning salient detection methods, can usually achieve satisfactory performance, they heavily rely on a large number of labeled training images. In contrast, unsupervised methods have the advantage of greater flexibility based on high-level prior knowledge or low-level features.
[0003] Many salient object detection algorithms have been developed by combining bottom-up low-level salient cues (color, gradient, boundary, etc.) with top-down high-level prior knowledge. R. Achanta et al. in the article "Frequency-tuned salient region detection" (in: Proc. IEEE Conf. Comput. Vision Pattern Recogn., 2009, pp. 1597–1604.) constructed a frequency adjustment model to calculate the salient map based on the prior color contrast. The methods proposed by C. Tang et al. in the article "Frequency-tuned salient region detection based on weighted low-rank matrix recovery" (in: Proc. IEEE Conf. Comput. Vision Pattern Recogn., 2009, pp. 1597–1604) and H. Peng et al. in the article "Salient object detection via structured matrix decomposition" (IEEE Trans. Pattern Anal. Mach. Intell. 39 (4) (2017) 818–832.) effectively combine center priors with low-level features to locate salient objects, process center and color priors, and background priors are also incorporated into the salient detection model. Y. Wei et al. measure saliency by geodesic distance to the boundary region (Geodesic saliency using background priors, in: Proc. Eur. Conf. Comput. Vis., 2012, pp. 29–42.). In the article "A unified approach to salient object detection via low rank matrix recovery" (in: Proc. IEEE Conf. Comput. Vis. Pattern Recog., 2012, pp. 2296–2303.), X. Shen et al. introduced low-level features and top-down priors into a unified model based on robust principal component analysis (RPCA).C. Lang et al. integrated multiple priors into region-level saliency map generation in the article "Saliency detection by multitask sparsity pursuit" (IEEE Trans. Image Process 21(3)(2012) 1327–1338.). S. Huo et al. established a special linear feedback control system model in the article "Linear feedback control system based salient object detection" (IEEE Trans. Multimedia 20(6)(2018) 1350–1364.), in which the saliency map is generated by inputting multiple saliency cues and image features. H. Li et al. proposed a kernel density-based nonparametric saliency detection model in the article "Co-salient object detection from multiple images" (IEEE Trans. Multimedia 15(8)(2013) 1896–1909.), in which the pixel likelihood measure and saliency measure are used to calculate the pixel-by-pixel saliency map. S. Goferman et al., in the article "Context-aware saliency detection" (in: Proc. IEEE Conf. Comput. Vis. Pattern Recog., 2010, pp. 1915–1926.), developed a context-aware salient region extraction method based on local and global contrast, introducing multi-scale contrast, center-surround histogram and color space distribution into the conditional random model to improve the quality of the salient map. In addition, global contrast that extracts features from transform domains, such as wavelets and Fourier transforms, has also been used for saliency detection.
[0004] Although previous unsupervised saliency detection methods have achieved promising performance in various applications, there are still two problems in existing methods. First, salient multi-view features are under the assumption of independent and identical distribution; however, this assumption is invalid in the real world because salient target multi-view features usually come from different textures; even if multi-view features come from the same texture, they are often affected by external conditions, such as target illumination changes; therefore, true multi-view features are not only associated with high-dimensional features, but also have intrinsic connections with each other, but this interconnected information is not fully utilized for saliency detection. Second, previous methods focus too much on directly measuring the saliency of multi-view features, and the performance of these methods is usually affected by noisy features and samples. Summary of the invention
[0005] In order to solve these problems, the present invention proposes a salient object detection method, system, electronic device, and storage medium.
[0006] A first aspect of the present invention discloses a method for detecting a salient object, the method comprising:
[0007] Get the original image;
[0008] According to the SLIC algorithm, the original image is used to generate a super-pixel image and a diffusion model of the foreground and background, and a multi-view feature space matrix Y of the original image is extracted from the super-pixel image. The multi-view feature space matrix includes multiple view feature vectors (y1, y2, ... y i , i is an integer greater than or equal to 2);
[0009] The feature space of the multi-view feature is represented by a potential representation learning matrix U, a transformation parameter matrix P of the multi-view feature space matrix is constructed, a similarity affinity matrix S of the multiple view feature vectors is constructed, and a minimization objective function model of the original image saliency detection is constructed by using the multi-view feature space matrix Y, the transformation parameter matrix P, the potential representation learning matrix U, and the similarity affinity matrix S;
[0010] According to the minimization objective function model, the transformation parameter matrix P and the potential representation learning matrix U are solved, and the transformation parameter matrix P and the potential representation learning matrix U are multiplied and fused with the diffusion model of the foreground and background to generate the final feature saliency map, thereby completing the saliency detection of the original image.
[0011] According to the method of the first aspect of the present invention, the multiple view feature vectors (y1, y2, ... y i , i is an integer greater than or equal to 2) any view feature vector y i They all include color features, texture features, and gradient features.
[0012] According to the method of the first aspect of the present invention, the color feature includes: the average RGB channel of each superpixel, the H chroma of each superpixel in HSV, the S saturation of each superpixel in HSV, and the V brightness of each superpixel in HSV; the texture feature includes: the Gabor feature of each superpixel, and the controllable pyramid feature of each superpixel.
[0013] According to the method of the first aspect of the present invention, the minimization objective function model includes a first objective function, and the first objective function is:
[0014]
[0015] in, Represents the norm operation of YP-U.
[0016] According to the method of the first aspect of the present invention, the minimization objective function model includes a second objective function, and the second objective function is:
[0017]
[0018] in, represents the norm operation of YP-U; ||P|| 2,1 represents the l2 norm regularization of the transformation parameter matrix P; α represents ||P|| 2,1 The sparsity parameter of ||P|| 2,1 Perform sparsity control.
[0019] According to the method of the first aspect of the present invention, the minimization objective function model includes a third objective function, and the third objective function construction process includes:
[0020] Construct a similarity matrix H, which is used to characterize the similarity and correlation between multi-view feature data;
[0021] Construct the objective function for latent representation learning: Among them, β is a parameter used to balance the learning of latent representations and the saliency in the latent space;
[0022] Construct the third objective function:
[0023]
[0024] in, represents the norm operation of YP-U; ||P|| 2,1 represents the l2 norm regularization of the transformation parameter matrix P; α represents ||P|| 2,1 The sparsity parameter of ||P|| 2,1 Perform sparsity control; Indicates H-UU TNorm operation of .
[0025] According to the method of the first aspect of the present invention, the minimization objective function model includes a fourth objective function, and the construction process of the fourth objective function includes:
[0026] Construct an affinity matrix S that represents the similarity between multi-view features. The construction formula of the affinity matrix S is as follows:
[0027]
[0028] Among them, p i and p j denote the i-th and j-th multi-view features respectively, ||p i -p j || 2 is the square of the Euclidean distance between two multi-view features, Π k (p i ),Π k (p j ) represent the geometric k-nearest nodes, and σ is a width parameter;
[0029] According to the affinity matrix S, a diagonal matrix D is constructed. The diagonal elements in the diagonal matrix D are The other elements in D are 0, and the Laplace matrix L = DS is further constructed;
[0030] Construct a popular regularization function: Where χ is the parameter of the regularization of the local popular geometry structure in the feature space that balances the multi-view features, and Tr represents the matrix (P T Y T LYP) trace;
[0031] The fourth objective function is constructed according to the third objective function and the popular regularization function:
[0032]
[0033] Among them, the transformation parameter matrix (P) and the potential representation learning matrix (U) are solved according to Φ(P,U) to complete the saliency detection of the original image.
[0034] A second aspect of the present invention discloses a salient object detection system, the system comprising:
[0035] A first processing module is configured to obtain an original image;
[0036] The second processing module is configured to generate a super-pixel image and a diffusion model of the foreground and the background from the original image according to the SLIC algorithm, and extract a multi-view feature space matrix Y of the original image in the super-pixel image, where the multi-view feature space matrix includes a plurality of view feature vectors (y1, y2, ..., yi, where i is an integer greater than or equal to 2);
[0037] The third processing module is configured to use a potential representation learning matrix U to represent the feature space of the multi-view feature, construct a transformation parameter matrix P of the multi-view feature space matrix, construct a similarity affinity matrix S of the multiple view feature vectors, and construct a minimization objective function model of the original image saliency detection using the multi-view feature space matrix Y, the transformation parameter matrix P, the potential representation learning matrix U, and the similarity affinity matrix S;
[0038] The fourth processing module is configured to solve the transformation parameter matrix P and the potential representation learning matrix U according to the minimization objective function model, multiply the transformation parameter matrix P and the potential representation learning matrix U, and fuse them with the diffusion model of the foreground and background to generate a final feature saliency map to complete the saliency detection of the original image.
[0039] The system according to the second aspect of the present invention is used to implement the steps in any one of the salient object detection methods in the first aspect of the present disclosure.
[0040] The third aspect of the present invention discloses an electronic device. The electronic device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps in any one of the salient object detection methods in the first aspect of the present disclosure are implemented.
[0041] The fourth aspect of the present invention discloses a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any one of the salient object detection methods in the first aspect of the present disclosure are implemented.
[0042] In summary, the solution proposed by the present invention has the following technical effects:
[0043] A method based on salient object detection is proposed. In this work, a method based on latent representation learning and popular regularization is proposed. Specifically, a traditional affinity graph is constructed to characterize the interconnection of multi-view features, and latent representation learning is embedded in the salient object detection framework to reduce the negative impact of affinity graphs and noisy connections. At the same time, the features are modeled in a latent learning space, which can not only characterize the image structure but also serve as label information to guide the saliency detection process. In addition, the affinity matrix is also used to preserve the local popular structure of the original image in the feature transformation space. We summarize the main contributions of the scheme as follows:
[0044] 1) Taking advantage of the fact that multi-view features are not independent and identically distributed, a saliency detection model is constructed in which the affinity matrix represents the interconnection of multi-view features.
[0045] 2) Latent representation learning is embedded into the task of unsupervised saliency detection, reducing the negative impact of the affinity matrix and the noisy connection, which can not only characterize the local structure of the image, but also serve as label information to guide the saliency detection process. In other words, in this way, latent representation learning can capture the intrinsic correlation between multi-view features and enhance the robustness to noise interference in the similarity matrix.
[0046] 3) The affinity matrix is used to preserve the local popular structure of the original image in the feature transformation space, enhancing the differentiation between the target and the background. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0048] Figure 1 is a flow chart of a salient object detection method according to an embodiment of the present invention;
[0049] Figure 2 is a structural diagram of a salient object detection system according to an embodiment of the present invention;
[0050] Figure 3 The figure is a structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0052] A first aspect of the present invention discloses a salient object detection method. Figure 1 FIG. 1 is a flow chart of a salient object detection method according to an embodiment of the present invention. Figure 1 As shown, the method includes:
[0053] Step S1, obtaining an original image;
[0054] Step S2, generating a super-pixel image and diffusion models of foreground and background from the original image according to the SLIC algorithm, extracting a multi-view feature space matrix Y of the original image in the super-pixel image, the multi-view feature space matrix including a plurality of view feature vectors (y1, y2, ..., yi, where i is an integer greater than or equal to 2);
[0055] Step S3, using the latent representation learning matrix U to represent the feature space of the multi-view feature, constructing the transformation parameter matrix P of the multi-view feature space matrix, constructing the similarity affinity matrix S of the multiple view feature vectors, and constructing the minimization objective function model of the original image saliency detection using the multi-view feature space matrix Y, the transformation parameter matrix P, the latent representation learning matrix U, and the similarity affinity matrix S;
[0056] Step S4, solving the transformation parameter matrix P and the potential representation learning matrix U according to the minimization objective function model, multiplying the transformation parameter matrix P and the potential representation learning matrix U and fusing them with the diffusion model of the foreground and background to generate the final feature saliency map, and completing the saliency detection of the original image.
[0057] Specifically, by constructing a minimization objective function model for saliency detection of original images, the similarity affinity matrix S can be used to represent the similarity of feature vectors of multiple views, revealing the connectivity between multi-view features; the feature space of multi-view features is represented by the latent representation learning matrix U, which reduces the negative impact of the affinity matrix and noise connection, and can not only represent the local structure of the image, but also serve as label information to guide the saliency detection process; the similarity affinity matrix S is used to retain the local popular structure of the original image in the feature transformation space, enhancing the differentiation between the target and the background; the saliency detection accuracy is higher and the detection effect is better.
[0058] In step S2, a super-pixel image and diffusion models of foreground and background are generated from the original image according to the SLIC algorithm, and a multi-view feature space matrix Y of the original image is extracted from the super-pixel image. The multi-view feature space matrix includes multiple view feature vectors (y1, y2, ..., yi, where i is an integer greater than or equal to 2).
[0059] In some embodiments, the multiple view feature vectors (y1, y2, ... y i , i is an integer greater than or equal to 2) any view feature vector y i They all include color features, texture features, and gradient features.
[0060] Specifically, the multi-view features of the superpixel image are set to include color features, texture features, and gradient features, which can characterize the view features from different types of image features, fully extract the feature information of the image, and improve the accuracy of salient feature detection.
[0061] In some embodiments, the color feature includes: the average RGB channel of each superpixel, the H chroma in HSV of each superpixel, the S saturation in HSV of each superpixel, and the V brightness in HSV of each superpixel; the texture feature includes: the Gabor feature of each superpixel, and the controllable pyramid feature of each superpixel.
[0062] Specifically, if a region is different from its surrounding areas in image appearance, it may be salient. First, the SLIC algorithm is executed to segment the input image into M non-overlapping superpixels Q = {Q1, Q2, ..., Q M}, for each superpixel Q i , and then extract 53-dimensional features to form a multi-view feature matrix, Corresponding to each type of features.
[0063] Table 1 Details of multi-view features
[0064] Feature Description Dim Color Features 5 Average RGB channels per superpixel 3 H chromaticity in HSV for each superpixel 1 Saturation of each superpixel in HSV 1 Texture features 48 Gabor features of each superpixel 36 Controllable pyramid features for each superpixel 12
[0065] In step S3, the feature space of the multi-view feature is represented by the latent representation learning matrix U, the transformation parameter matrix P of the multi-view feature space matrix is constructed, the similarity affinity matrix S of the multiple view feature vectors is constructed, and the minimization objective function model of the original image saliency detection is constructed using the multi-view feature space matrix Y, the transformation parameter matrix P, the latent representation learning matrix U, and the similarity affinity matrix S.
[0066] In some embodiments, the minimization objective function model includes a first objective function, and the first objective function is:
[0067]
[0068] in, Represents the norm operation of YP-U.
[0069] In some embodiments, the minimization objective function model includes a second objective function, and the second objective function is:
[0070]
[0071] in, represents the norm operation of YP-U; ||P|| 2,1 represents the l2 norm regularization of the transformation parameter matrix P; α represents ||P||2,1 The sparsity parameter of ||P|| 2,1 Perform sparsity control.
[0072] In some embodiments, the minimization objective function model includes a third objective function, and the third objective function construction process includes:
[0073] Construct a similarity matrix H, which is used to characterize the similarity and correlation between multi-view feature data;
[0074] Construct the objective function for latent representation learning: Among them, β is a parameter used to balance the learning of latent representations and the saliency in the latent space;
[0075] Construct the third objective function:
[0076]
[0077] in, represents the norm operation of YP-U; ||P|| 2,1 represents the l2 norm regularization of the transformation parameter matrix P; α represents ||P|| 2,1 The sparsity parameter of ||P|| 2,1 Perform sparsity control; Indicates H-UU T Norm operation of .
[0078] In some embodiments, the minimization objective function model includes a fourth objective function, and the construction process of the fourth objective function includes:
[0079] Construct an affinity matrix S that represents the similarity between multi-view features. The construction formula of the affinity matrix S is as follows:
[0080]
[0081] Among them, p i and p j denote the i-th and j-th multi-view features respectively, ||p i -p j || 2 is the square of the Euclidean distance between two multi-view features, Π k (p i ),Π k (p j ) represent the geometric k-nearest nodes, and σ is a width parameter;
[0082] According to the affinity matrix S, a diagonal matrix D is constructed. The diagonal elements in the diagonal matrix D are The other elements in D are 0, and the Laplace matrix L = DS is further constructed;
[0083] Construct a popular regularization function: Where χ is the parameter of the regularization of the local popular geometry structure in the feature space that balances the multi-view features, and Tr represents the matrix (P T Y T LYP) trace;
[0084] The fourth objective function is constructed according to the third objective function and the popular regularization function:
[0085]
[0086] Among them, the transformation parameter matrix P and the potential representation learning matrix U are solved according to Φ(P,U) to complete the saliency detection of the original image.
[0087] Specifically, since the latent representations encode some hidden properties of the multi-view feature space, they should be related to certain features of the multi-view feature space. Therefore, we take the latent representation learning matrix U as a constraint and model the content of the data through multivariate linear regression:
[0088]
[0089] In the above equation, Y∈Ω n×d is the multi-view feature space matrix, is a sample in the i-th row, P∈Ω d×c is a transformation parameter matrix. ||P(i,:)||2 is an l2 norm, which represents the l2 norm of the i-th row vector and can be regarded as a feature weight because it reflects the importance of the i-th feature in the latent space. If the i-th feature participates in the representation of other features in the latent space, it must be important. Therefore, row sparsity is expected to be used to regularize the sparse matrix P. To achieve this goal, we add the l of P 2,1- norm regularization term, uniting all latent factors and obtaining the following model:
[0090]
[0091] Among them, the parameter α controls the sparsity of the model.
[0092] By combining the objective function of latent representation learning in the equation, the objective function of embedding latent representation learning into saliency detection can be expressed as:
[0093]
[0094] Among them, β is a parameter that balances the learning of latent representations and the saliency in the latent space, and the similarity matrix H represents the similarity and correlation between data.
[0095] Recent studies have shown that global pairwise sample similarity and local geometric structure are crucial for saliency detection, while preserving local popular structure is even more important for unsupervised saliency detection. In the above equation (3), we hope to preserve the local popular geometric structure of the multi-view feature space in the latent space, so a graph Laplacian regularization term is added, and the objective function of our final unsupervised saliency detection through latent representation learning and popular regularization can be modeled as follows:
[0096]
[0097] Where χ is the parameter of the regularization of the balanced local popular geometry structure; L is the Laplace matrix, L = DS, and D is a diagonal matrix S is the affinity matrix that measures the similarity between nodes and is calculated according to the following equation:
[0098]
[0099] Among them, p i and p j The i-th and j-th multi-view features, respectively, ||p i -p j || 2 is the square of the Euclidean distance between two multi-view features; Π k (p i ),Π k (p j ) represents the geometric k-nearest node, and σ is a width parameter.
[0100] In this work, we also use the exponential function in Eq. Obtain the similarity matrix H for the latent representation with symmetric non-negative matrix factorization. The only difference between H and S is that all elements in H are non-zero values for describing the similarity between each multi-view feature, while S is sparse for capturing the local structure of multi-view features, which is crucial in unsupervised learning. The feature transformation parameter matrix P and the latent representation matrix U can be obtained by minimizing the objective function Φ(P,U).
[0101] When P is fixed, the latent representation learning stage is not only associated with the similarity matrix H, but also with the multi-view features Y. Without label information, it is difficult to evaluate the feature correlation of nodes. Compared with the scarce label information, the similarity information between nodes can be easily calculated by using some distance metrics, such as Euclidean distance and cosine distance. On the one hand, since some noise features are mixed in the multi-view features, there are some inaccurate noise similarity values, which have a negative impact on saliency detection; on the other hand, for a certain image, the same feature set is used to represent the target in the image, so there is a homogeneity effect. The target information in the image will affect and depend on the latent representation from the data association structure.
[0102] Therefore, we can embed latent representation learning into saliency detection, in this way, the negative impact of noisy similarity values in latent representation learning is mitigated, and good latent representations can in turn help saliency detection. In other words, these two stages can cooperate and promote each other, in this way, the learned latent representation can capture the intrinsic correlation between multi-view features and is more robust to noisy similarities in the similarity matrix.
[0103] We will describe in detail how to solve the optimization problem of equation. The objective function in equation (4), both P and U are not convex at the same time, but when one of the variables is fixed, equation (4) is convex. In addition, since l 2,1-norm Regularization, it is also not smooth. We design an alternative iterative algorithm to solve this optimization problem.
[0104] Optimization algorithm:
[0105] The idea of the iterative algorithm includes two sub-problems: we first fix the variable U and calculate the optimal P. Then fix P and calculate the optimal U.
[0106] Subproblem 1: When U is fixed, solve P.
[0107] When U is fixed, the objective function is convex and P can be obtained by solving the following optimization problem,
[0108]
[0109] The above equation (6) can be solved by iterative reweighted least squares algorithm. For the IRLS algorithm, we need to introduce a diagonal matrix Λ∈Ω n×n , and the i-th diagonal element is:
[0110]
[0111] Then equation (6) can be transformed into a weighted least squares problem:
[0112]
[0113] By taking the derivative function With respect to P and setting it to zero, we have
[0114] Y T (YP-U)+αΛP+χY T LYP=0 (9)
[0115] Then in closed form the solution P can be obtained by
[0116]
[0117] 3.1.2 Subproblem 2: When P is fixed, solve U
[0118] When P is fixed, U can be obtained by solving the following optimization problem:
[0119]
[0120] The Lagrange multiplier method is used to solve the problem. To this end, we set the Lagrange multiplier Θ∈Ω n×c For the constraint U ≥ 0, we construct the Lagrangian function as follows:
[0121]
[0122] Find the derivative For U equal to zero, we have
[0123] -2YP+2U-4βHU+4βUU T U+Θ=0 (13)
[0124] According to the Quinn-Tucker condition Θ ij U ij = 0, we have
[0125]
[0126] The algorithm procedure is as follows:
[0127]
[0128] Update g1 by g1=g1+1
[0129] End while
[0130] Update U using Eq.(13)
[0131] Update g2 by g2=g2+1
[0132] End while
[0133] Update
[0134] A second aspect of the present invention discloses a salient object detection system. Figure 2 is a structural diagram of a salient object detection system according to an embodiment of the present invention; Figure 2 As shown, the system 200 includes:
[0135] The first processing module 201 is configured to obtain an original image;
[0136] The second processing module 202 is configured to generate a super-pixel image and diffusion models of foreground and background from the original image according to the SLIC algorithm, and extract a multi-view feature space matrix Y of the original image in the super-pixel image, where the multi-view feature space matrix includes multiple view feature vectors (y1, y2, ..., yi, where i is an integer greater than or equal to 2);
[0137] The third processing module 203 is configured to use a potential representation learning matrix U to represent the feature space of the multi-view feature, construct a transformation parameter matrix P of the multi-view feature space matrix, construct a similarity affinity matrix S of the multiple view feature vectors, and construct a minimization objective function model of the original image saliency detection using the multi-view feature space matrix Y, the transformation parameter matrix P, the potential representation learning matrix U, and the similarity affinity matrix S;
[0138] The fourth processing module 204 is configured to solve the transformation parameter matrix P and the potential representation learning matrix U according to the minimization objective function model, multiply the transformation parameter matrix P and the potential representation learning matrix U, and fuse them with the diffusion model of the foreground and background to generate a final feature saliency map, thereby completing the saliency detection of the original image.
[0139] Figure 3 is a structural diagram of an electronic device according to an embodiment of the present invention, such as Figure 3As shown, the electronic device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, near field communication (NFC) or other technologies. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covered on the display screen, or a button, a trackball or a touch pad set on the housing of the electronic device, or an external keyboard, touch pad or mouse, etc.
[0140] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a structural diagram of the part related to the technical solution of the present disclosure, and does not constitute a limitation on the electronic device to which the technical solution of the present application is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0141] The fourth aspect of the present invention discloses a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps in any one of the steps in the method for constructing an electromagnetic map in the first aspect of the present disclosure.
[0142] Please note that the technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification. The above embodiments only express several implementation methods of the present application, and their descriptions are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that for ordinary technicians in this field, without departing from the concept of the present application, several variations and improvements can be made, which all belong to the scope of protection of the present application. Therefore, the scope of protection of the patent in this application shall be based on the attached claims.
Claims
1. A method for detecting a salient object, the method comprising: Generate a super-pixel image and a diffusion model of the foreground and background from the original image, extract a multi-view feature space matrix Y of the original image in the super-pixel image, and the multi-view feature space matrix includes multiple view feature vectors (y1, y2, ... y i ), i is an integer greater than or equal to 2; Using a potential representation learning matrix U to represent the feature space of the multi-view features, constructing a transformation parameter matrix P of the multi-view feature space matrix and a similarity affinity matrix S of the multiple view feature vectors, and constructing a minimization objective function model of the original image saliency detection using the multi-view feature space matrix Y, the transformation parameter matrix P, the potential representation learning matrix U and the similarity affinity matrix S; Solving the transformation parameter matrix P and the potential representation learning matrix U according to the minimization objective function model, multiplying the transformation parameter matrix P and the potential representation learning matrix U and fusing them with the diffusion model of the foreground and background to generate a final feature saliency map; The minimization objective function model includes a first objective function, a second objective function, a third objective function and a fourth objective function, and the first objective function is: in, represents the norm operation of YP-U; The second objective function is: Among them, ||P|| 2,1 represents the l2 norm regularization of the transformation parameter matrix P; α represents ||P|| 2,1 The sparsity parameter of ||P|| 2,1 Perform sparsity control; The third objective function construction process includes: Construct a similarity matrix H, which is used to characterize the similarity and correlation between multi-view feature data; Construct the objective function for latent representation learning: Among them, β is a parameter used to balance the learning of latent representations and the saliency in the latent space; Construct the third objective function: in, Indicates H-UU T Norm operation of ; The construction process of the fourth objective function includes: An affinity matrix S is constructed to characterize the similarity between multi-view features. The construction formula of the affinity matrix S is as follows: Among them, p i and p j denote the i-th and j-th multi-view features respectively, ||p i -p j || 2 is the square of the Euclidean distance between two multi-view features, Π k (p i ),Π k (p j ) represent the geometric k-nearest nodes, and σ is a width parameter; According to the affinity matrix S, a diagonal matrix D is constructed, and the diagonal elements in the diagonal matrix D are The other elements in D are 0, and the Laplace matrix L = DS is further constructed; Constructing popular regularization function: XTr(P T Y T LYP), where χ is the parameter of the regularization of the local popular geometry structure of the feature space that balances the multi-view features, and Tr represents the matrix (P T Y T LYP) trace; The fourth objective function is constructed according to the third objective function and the popular regularization function: stU≥0.
2. According to the method for detecting a salient object in claim 1, the multiple view feature vectors (y1, y2, ... y i ) includes color features, texture features, and gradient features.
3. According to the method for detecting a salient object in claim 2, the color feature comprises: Average RGB channels per superpixel, H chroma per superpixel in HSV, S saturation per superpixel in HSV, and V brightness per superpixel in HSV; The texture features include: Gabor features of each superpixel and controllable pyramid features of each superpixel.
4. A salient object detection system, characterized in that: The system comprises: A first processing module is configured to obtain an original image; The second processing module is configured to generate a super-pixel image and a diffusion model of the foreground and the background from the original image, and extract a multi-view feature space matrix Y of the original image in the super-pixel image, wherein the multi-view feature space matrix includes a plurality of view feature vectors (y1, y2, ..., y i ), i is an integer greater than or equal to 2; A third processing module is configured to characterize the feature space of the multi-view feature using a potential representation learning matrix U, construct a transformation parameter matrix P of the multi-view feature space matrix, construct a similarity affinity matrix S of the multiple view feature vectors, and construct a minimization objective function model of the original image saliency detection using the multi-view feature space matrix Y, the transformation parameter matrix P, the potential representation learning matrix U, and the similarity affinity matrix S; A fourth processing module is configured to solve the transformation parameter matrix P and the potential representation learning matrix U according to the minimization objective function model, multiply the transformation parameter matrix P and the potential representation learning matrix U, and fuse them with the diffusion model of the foreground and background to generate a final feature saliency map, thereby completing the saliency detection of the original image; The minimization objective function model includes a first objective function, a second objective function, a third objective function and a fourth objective function, and the first objective function is: in, represents the norm operation of YP-U; The second objective function is: Among them, ||P|| 2,1 represents the l2 norm regularization of the transformation parameter matrix P; α represents ||P|| 2,1 The sparsity parameter of ||P|| 2,1 Perform sparsity control; The third objective function construction process includes: Construct a similarity matrix H, which is used to characterize the similarity and correlation between multi-view feature data; Construct the objective function for latent representation learning: Among them, β is a parameter used to balance the learning of latent representations and the saliency in the latent space; Construct the third objective function: in, Indicates H-UU T Norm operation of ; The construction process of the fourth objective function includes: An affinity matrix S is constructed to characterize the similarity between multi-view features. The construction formula of the affinity matrix S is as follows: Among them, p i and p j denote the i-th and j-th multi-view features respectively, ||p i -p j || 2 is the square of the Euclidean distance between two multi-view features, Π k (p i ),Π k (p j ) represent the geometric k-nearest nodes, and σ is a width parameter; According to the affinity matrix S, a diagonal matrix D is constructed, and the diagonal elements in the diagonal matrix D are The other elements in D are 0, and the Laplace matrix L = DS is further constructed; Constructing popular regularization function: XTr(P T Y T LYP), where χ is the parameter of the regularization of the local popular geometry structure of the feature space that balances the multi-view features, and Tr represents the matrix (P T Y T LYP) trace; The fourth objective function is constructed according to the third objective function and the popular regularization function: stU≥0.
5. An electronic device, characterized in that: The electronic device includes a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the steps in a significant target detection method described in any one of claims 1 to 3 are implemented.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the salient object detection method described in any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Coupled hydrocarbon polymers and process for their preparation
EP0002012A1
Multi-scale diffusion salient target detection method based on background and target prior
CN108549891A
A method and system for image saliency target detection
CN109509191A
Image saliency target detection method based on low-rank matrix recovery
CN110503113A
Image saliency detection method and system, terminal and readable storage medium
CN113159025A
