Browse Source

更新 'utils.cpp'

孙武 1 day ago
parent
commit
d4e5a3577b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      utils.cpp

+ 3 - 0
utils.cpp

@@ -100,6 +100,9 @@ int applyInvertMask(unsigned short* input, unsigned char* pmask, int Width, int
 }
 
 
+//input:rawdata
+//pmask:collimatorMask
+//output:ForegroundMask  后续计算窗宽窗位传入ForegroundMask
 int getForegroundMask(unsigned short* input, unsigned char* pmask, int Width, int Height, unsigned char* output)
 {
 	if (!input || !pmask || !output) {