(A) The full similarity matrix (FSM) containing normalized mutual information (NMI) metrics between every possible pair of independent components (ICs) from different subjects. The purple lines separate ICs from different subjects, forming subject blocks in the FSM. ICs from different subjects are labeled using different colors. (B) The NMI metrics in the FSM are standardized into Z-scores within each row in each subject block. The resultant matrix, Zrow, is an asymmetric matrix. (C) The maximal values within each row in each subject block are identified, and all other values are set to zeros, forming a matrix Zmax. (D) Zmax is multiplied by its transpose, yielding a matrix W. In this step, the NMI values are set to zero in uni-directional correspondence cases, such as IC3 of subject 1 has the maximal similarity to IC3 among all components in subject 2, but the IC3 of subject 2 has the maximal similarity to IC2 among all from subject 1, as demonstrated in (C). The symmetric matrix W reflects only bi-directional correspondence between ICs from different subjects. Summing up the values in W along each row gives a value of popularity for each component, indicating its consistency across all subjects in terms of strength of bi-directional correspondence. The ICs from all subjects are ranked according to this popularity value. (E) The Zrow matrix in (B) is added to its own transpose to yield the matrix in (E), which contains (A) standardized NMI (SNMI), a metric reflecting the specificity of each NMI similarity value within all values within a subject block. The component with top popularity from (D), which is represented using a red line in this SNMI matrix, is used to align ICs from different subjects. (F) The local maximum in each subject block along the red line (top ranked component) is identified, as indicated by orange lines. The ICs corresponding to the local maxima are labeled at the edges of the matrix, with each color indicating a different subject. (G) The SNMI between every pair of the matched ICs is found in the cross between red and orange lines. (H) The SNMI values between the identified ICs are collected in the matrix, generating a maximal similarity matrix for the current group-level aligned component (AC). The selected ICs are then removed from the rank in (D) and the SNMI matrix in (E). The search continues from (E), until the component popularity rank is empty.