Research Article
A Data Mining Approach for Visual and Analytical Identification of Neurorehabilitation Ranges in Traumatic Brain Injury Cognitive Rehabilitation
| Input | | Anxm matrix of red(0)/green(1) elements obtained after FT-SAP : | | MAXROW maximum number of rows | | MAXCOL maximum number of columns | | Output | | NRR maxrowxmaxcolumn | | First pass | | For each column from bottom to top | | Repeat | | Number green element incrementally | | Until a red element is found Restart numbering | | Second pass | | For each row from left to right | | NRRrows = 0 #Number of rows of the NRR solution so far | | Repeat | | If element >= MAXCOL | | Increment NRRrows | | NRR = NRR + NRR[element] | | Else NRRrows = 0 | | Until NRRrows = MAXROW | | Return NRR |
|