visit-dav / summer-projects

A place to manage activity on summer projects
1 stars 0 forks source link

New dir of imgvol files #30

Closed markcmiller86 closed 1 year ago

markcmiller86 commented 1 year ago

I wrote a script to scan for all directories containing more than 10 .tif, .tiff, .TIF, .TIFF, .BMP files and create imgvol files with suitable names and permissions from them.

I've put all of those files in /p/lustre1/miller86/ctdata/imgvol_files. You should be able to use these to look at any of the datasets we have. I have yet to confirm they are all working (recall sometimes we can get a crufty line of text in their we didn't want and that will cause VisIt to have trouble reading it).

/p/lustre1/miller86/ctdata/imgvol_files
sh-4.2$ ls -l *.imgvol
-rw-r--r-- 1 miller86 visit  900430 Jul 29 17:53 BigToe_4032x4032x8916.imgvol
-rw-r--r-- 1 miller86 visit  256105 Jul 29 17:53 BigToe_4x4x4_1008x1008x2227.imgvol
-rw-r--r-- 1 miller86 visit 1181089 Jul 29 17:53 PinkyToe_4032x4032x11039.imgvol
-rw-r--r-- 1 miller86 visit  638418 Jul 29 17:53 Toe_2_4032x4032x6515.imgvol
-rw-r--r-- 1 miller86 visit  714532 Jul 29 17:53 Toe_3_4_4032x4032x6871.imgvol
-rw-r--r-- 1 miller86 visit  158130 Jul 29 17:53 cor_0008_120kVp_512x512x502.imgvol
-rw-r--r-- 1 miller86 visit  103914 Jul 29 17:53 cor_0010_512x512x502.imgvol
-rw-r--r-- 1 miller86 visit  157628 Jul 29 17:53 cor_0010_80kVp_512x512x502.imgvol
-rw-r--r-- 1 miller86 visit   53550 Jul 29 17:53 sag_0006_120kVp_512x512x170.imgvol
-rw-r--r-- 1 miller86 visit   35190 Jul 29 17:53 sag_0006_512x512x170.imgvol
-rw-r--r-- 1 miller86 visit  103914 Jul 29 17:53 sag_0008_512x512x502.imgvol
-rw-r--r-- 1 miller86 visit   35190 Jul 29 17:53 sag_0009_512x512x170.imgvol
-rw-r--r-- 1 miller86 visit   53380 Jul 29 17:53 sag_0009_80kVp_512x512x170.imgvol
-rw-r--r-- 1 miller86 visit  102364 Jul 29 17:53 ur70_3_0004_120kVp_512x512x326.imgvol
-rw-r--r-- 1 miller86 visit   67156 Jul 29 17:53 ur70_3_0004_512x512x326.imgvol
-rw-r--r-- 1 miller86 visit  174312 Jul 29 17:53 ur70_3_0005_120kVp_upper_leg_512x512x538.imgvol
-rw-r--r-- 1 miller86 visit  110828 Jul 29 17:53 ur70_3_0005_512x512x538.imgvol
-rw-r--r-- 1 miller86 visit   67156 Jul 29 17:53 ur70_3_0007_512x512x326.imgvol
-rw-r--r-- 1 miller86 visit  102038 Jul 29 17:53 ur70_3_0007_80kVp_512x512x326.imgvol
markcmiller86 commented 1 year ago

BTW, I also scanned for dirs of .IMA files and then used a conversion script to create .tiff files next to them.

markcmiller86 commented 1 year ago

@corvette20 I know now why we are getting jumbled results. It looks like VTK (which is what VisIt is using to read the images) is not handling 12 bit data very well. We probably need to convert to 16 bit before we read it. This is causing VisIt to get jumbled results.