For the tongue data:
Explanation Explanation.doc.
Original resolution: 920/752/30
Z-Scale parameter for this tongue dataset = 8
Bounding box = 104 to 807 on the x direction, 96 to 607 on the y direction, 0 to 232 on the z direction (after applying z-scale)

The bounding box of the z-scaled contours has coordinates from (0,0,0) to (703,511,232)
Padding of 5 is applied uniformly on all the 6 sides.
Padded Box starts from (BoundingBoxOrigin - (PAD/RES) * (1,1,1)) to (BoundingBoxEnd + (PAD/RES) * (1,1,1))
Output dataset is sampled at a resolution of 1/5
For Tongue data, PAD = 5, RES = 1/5. So Padded Box has coordinates from (-25,-25,-25) to (728, 536, 257) Trilinear interpolation is used to determine the in-out status of query points which have been mapped back in the contour volume.
After applying triliear interpolation on the 3D dataset above, and considering boundary conditions we get the sampled padded z-scaled box which has coordinates from (0,0,0) to (151,113,57)


The distance fields of the 58 slides produced are ....


distimage0000.png.
distimage0001.png.
distimage0002.png.
distimage0003.png.
distimage0004.png.
distimage0005.png.
distimage0006.png.
distimage0007.png.
distimage0008.png.
distimage0009.png.
distimage0010.png.
distimage0011.png.
distimage0012.png.
distimage0013.png.
distimage0014.png.
distimage0015.png.
distimage0016.png.
distimage0017.png.
distimage0018.png.
distimage0019.png.
distimage0020.png.
distimage0021.png.
distimage0022.png.
distimage0023.png.
distimage0024.png.
distimage0025.png.
distimage0026.png.
distimage0027.png.
distimage0028.png.
distimage0029.png.
distimage0030.png.
distimage0031.png.
distimage0032.png.
distimage0033.png.
distimage0034.png.
distimage0035.png.
distimage0036.png.
distimage0037.png.
distimage0038.png.
distimage0039.png.
distimage0040.png.
distimage0041.png.
distimage0042.png.
distimage0043.png.
distimage0044.png.
distimage0045.png.
distimage0046.png.
distimage0047.png.
distimage0048.png.
distimage0049.png.
distimage0050.png.
distimage0051.png.
distimage0052.png.
distimage0053.png.
distimage0054.png.
distimage0055.png.
distimage0056.png.
distimage0057.png.


The contour images of the above 58 slides produced...


contour0000.png.
contour0001.png.
contour0002.png.
contour0003.png.
contour0004.png.
contour0005.png.
contour0006.png.
contour0007.png.
contour0008.png.
contour0009.png.
contour0010.png.
contour0011.png.
contour0012.png.
contour0013.png.
contour0014.png.
contour0015.png.
contour0016.png.
contour0017.png.
contour0018.png.
contour0019.png.
contour0020.png.
contour0021.png.
contour0022.png.
contour0023.png.
contour0024.png.
contour0025.png.
contour0026.png.
contour0027.png.
contour0028.png.
contour0029.png.
contour0030.png.
contour0031.png.
contour0032.png.
contour0033.png.
contour0034.png.
contour0035.png.
contour0036.png.
contour0037.png.
contour0038.png.
contour0039.png.
contour0040.png.
contour0041.png.
contour0042.png.
contour0043.png.
contour0044.png.
contour0045.png.
contour0046.png.
contour0047.png.
contour0048.png.
contour0049.png.
contour0050.png.
contour0051.png.
contour0052.png.
contour0053.png.
contour0054.png.
contour0055.png.
contour0056.png.
contour0057.png.


Follwing are Distance fields with contours over them.


distcontourimage0.dist.png.
distcontourimage1.dist.png.
distcontourimage2.dist.png.
distcontourimage3.dist.png.
distcontourimage4.dist.png.
distcontourimage5.dist.png.
distcontourimage6.dist.png.
distcontourimage7.dist.png.
distcontourimage8.dist.png.
distcontourimage9.dist.png.
distcontourimage10.dist.png.
distcontourimage11.dist.png.
distcontourimage12.dist.png.
distcontourimage13.dist.png.
distcontourimage14.dist.png.
distcontourimage15.dist.png.
distcontourimage16.dist.png.
distcontourimage17.dist.png.
distcontourimage18.dist.png.
distcontourimage19.dist.png.
distcontourimage20.dist.png.
distcontourimage21.dist.png.
distcontourimage22.dist.png.
distcontourimage23.dist.png.
distcontourimage24.dist.png.
distcontourimage25.dist.png.
distcontourimage26.dist.png.
distcontourimage27.dist.png.
distcontourimage28.dist.png.
distcontourimage29.dist.png.
distcontourimage30.dist.png.
distcontourimage31.dist.png.
distcontourimage32.dist.png.
distcontourimage33.dist.png.
distcontourimage34.dist.png.
distcontourimage35.dist.png.
distcontourimage36.dist.png.
distcontourimage37.dist.png.
distcontourimage38.dist.png.
distcontourimage39.dist.png.
distcontourimage40.dist.png.
distcontourimage41.dist.png.
distcontourimage42.dist.png.
distcontourimage43.dist.png.
distcontourimage44.dist.png.
distcontourimage45.dist.png.
distcontourimage46.dist.png.
distcontourimage47.dist.png.
distcontourimage48.dist.png.
distcontourimage49.dist.png.
distcontourimage50.dist.png.
distcontourimage51.dist.png.
distcontourimage52.dist.png.
distcontourimage53.dist.png.
distcontourimage54.dist.png.
distcontourimage55.dist.png.
distcontourimage56.dist.png.
distcontourimage57.dist.png.


To generate the contours first the following black and white images are created. Here, white depicts all those points with a positive value. Performing edge detection on these images we generate the contours as shown above. The contour are those points where positive value meets the negative values.

b_wedge0000.png.
b_wedge0001.png.
b_wedge0002.png.
b_wedge0003.png.
b_wedge0004.png.
b_wedge0005.png.
b_wedge0006.png.
b_wedge0007.png.
b_wedge0008.png.
b_wedge0009.png.
b_wedge0010.png.
b_wedge0011.png.
b_wedge0012.png.
b_wedge0013.png.
b_wedge0014.png.
b_wedge0015.png.
b_wedge0016.png.
b_wedge0017.png.
b_wedge0018.png.
b_wedge0019.png.
b_wedge0020.png.
b_wedge0021.png.
b_wedge0022.png.
b_wedge0023.png.
b_wedge0024.png.
b_wedge0025.png.
b_wedge0026.png.
b_wedge0027.png.
b_wedge0028.png.
b_wedge0029.png.
b_wedge0030.png.
b_wedge0031.png.
b_wedge0032.png.
b_wedge0033.png.
b_wedge0034.png.
b_wedge0035.png.
b_wedge0036.png.
b_wedge0037.png.
b_wedge0038.png.
b_wedge0039.png.
b_wedge0040.png.
b_wedge0041.png.
b_wedge0042.png.
b_wedge0043.png.
b_wedge0044.png.
b_wedge0045.png.
b_wedge0046.png.
b_wedge0047.png.
b_wedge0048.png.
b_wedge0049.png.
b_wedge0050.png.
b_wedge0051.png.
b_wedge0052.png.
b_wedge0053.png.
b_wedge0054.png.
b_wedge0055.png.
b_wedge0056.png.
b_wedge0057.png.
To consider uniform padding conditions, resolution of the 3D array is 152/114/58. This is the resolution of the distance volume.
padedtongueoutput.smf. (This is the tongue model created from the volume dataset with the resolution: 152/114/58).
padedtonguevolume.vol. (This is the corresponding volume file for the above dataset)

Withoutdistancetongueoutput.smf. (This is the tongue model created from the volume dataset with the resolution: 152/114/58, it is produced only from the interpolated values, distance from ANN not considered here).
Withoutdistancetongueoutput.vol. (This is the corresponding volume file for the above dataset)

Withoutinterpolationtongueoutput1.smf. (This is the tongue model created from the volume dataset with the resolution: 152/114/58, it is produced only from the distance from ANN and 0.57 is subtarcted from each distance value, interpolated values not considered here).
Withoutinterpolationtongueoutput1.vol. (This is the corresponding volume file for the above dataset)

Withoutinterpolationtongueoutput2.smf. (This is the tongue model created from the volume dataset with the resolution: 152/114/58, it is produced only from the distance from ANN and 1.57 is subtarcted from each distance value, interpolated values not considered here).
Withoutinterpolationtongueoutput2.vol. (This is the corresponding volume file for the above dataset)

Withoutinterpolationtongueoutput3.smf. (This is the tongue model created from the volume dataset with the resolution: 152/114/58, it is produced only from the distance from ANN and 2.57 is subtarcted from each distance value, interpolated values not considered here).
Withoutinterpolationtongueoutput3.vol. (This is the corresponding volume file for the above dataset)


-----------------------------------------------------------------------------------------------