16-bit imagery appears black when served through Image Server.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM013584
已提交
December 11, 2007
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.2
修正版本
N/A
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
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