16-bit imagery appears black when served through Image Server.
Last Published: August 25, 2014No Product Found
Bug ID Number
NIM013584
Submitted
December 11, 2007
Last Modified
June 5, 2024
Applies to
No Product Found
Version found
9.2
Version Fixed
N/A
Status
Fixed
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
Workaround
1. Work through steps 1-5.2. When the Stretch and Gamma window is presented increase the Gamma value to 5 or higher.3. Click Next through the final windows.The service will appear as color rather than all black.1. Create an Image Service of the 16 bit rasters.2. Open the "Image Service Properties" and select "service processes" 3. Add "stretching" to the right frame.4. Open the stretching process Stretch the Image as followsInput;Under RGB/Gray,Min: 0Lower: 0.1Upper: 5Max: 255Output values: keep as it isGamma: 1.5Click OK.Refresh the service with the Pan tool. 5. Select all Service Overviews in the Service table.6. Navigate to Image Service> Advanced > optimize > service overviews > remove > pixel type "all"7. Navigate to the ISDef’s and open them with Notepad. Navigate to these file in Windows Explorer.8. Change all “<BitDepth>8</BitDepth>” to “<BitDepth>16</BitDepth>”.9. Open the "raster properties" for the service. 10. In the raster properties window, click the "general" node.11. Change the Pixel type to 16 bit unsigned integer12. Change Bit depth to 1613. Click OK.14. Under the "Image Service Properties" button select the service definition node.15. Change the Definition of pixel prior to Service Process:Pixel type: 16 bit unsigned integerBit depth: 1616. Click on the Output definition node17. Change the following options:Pixel type: 16 bit unsigned integerBit depth: 1618. Image Service > Advanced > optimize > service overviews> define > OK 19. Image Service > Advanced > build20. Image Service > Advanced > compile