Please enable JavaScript to view this site.

GeoDict User Guide 2025

Sample to 8 / 16 Bit

Use the Sample to 8 / 16 Bit tool to convert the sample image to an 8-bit or 16-bit format. Then, each pixel in the image will be represented by an 8- or 16-bit value, respectively.

The current image format is displayed at the top of the panel. In this example, the Image has 8-bit gray values. Therefore, each pixel contains a gray value between 0 and 255. For a 16-bit image, the values range from 0 to 65,535, representing 216 distinct values.

Enter the Minimal Gray Value and the Maximal Gray Value for the image to be sampled. These values adjust the gray value range for the 8- or 16-bit images. From the Sample to Range pull-down menu, select either 8 Bits or 16 Bits.

Note-KnowHow

Know how! Converting from a 16-bit to an 8-bit format reduces the large data size of 16-bit images. The gray value range shrinks from 0-65,535 to 0-255.

Selecting 16 Bits increases the bit depth from 8 to 16.

Click Apply to sample the image using the current settings.

The following images show an example for changing the gray value range in an 8-bit image of a Berea sandstone. Here, the contrast between solid phases (mid and bright gray values) and pore space (dark gray values) increases by reducing the original gray value range to 70-200 instead of 0-255.

The following images illustrate how to adjust the gray value range in an 8-bit Berea sandstone image. Reducing the original gray value range of 0-255 to 70-200 increases the contrast between solid phases (mid and bright gray values) and pore space (dark gray values).

Note-KnowHow

Know how! You can Save your current settings for this tool as Start-Up Settings . The next time you process an image, these settings will be automatically loaded and filled into the parameter fields. You can also load the Built-In Default Settings available in GeoDict. If you change any settings and want to revert to your saved start-up settings, click the corresponding button to Load the Start-Up Settings .

©2025 created by Math2Market GmbH / Imprint / Privacy Policy