Open jefferis opened 10 years ago
Incidentally we could translate overlap from the space of the data collection to JFRC2 space by the use of Jacobian determinants for the bridging registration.
Probably belongs in nat.templatebrains
or even in nat
at this point
At its simplest, this would take a thresholded image and a label field and return a data.frame with counts of each label and its overlap.
OK I think this should be implemented as nat::cmtk.statistics
(translating nat.as::CMTKStatistics) + a function in nat.templatebrains that coordinates thesholding etc.
So the status of this is that nat now has a nat::cmtk.statistics
function as of https://github.com/jefferis/nat/commit/8d2d7c6df0a5affa28b0c343328c5ba5854504ed but the other part of the solution (coordinating the thresholding) is not yet defined or implemented.
Would like either a function or simple examples showing how to calculate overlap with a label field.
Should we be including the VFB label field in e.g. JFRC2, FCWB, T1 and IS2 space?