POST
|
If you refer to the above comment, I get degradation too even when I use default values such as Polyorder1 and Nearest neighbor sampling.
... View more
11-07-2017
05:23 AM
|
0
|
1
|
1097
|
POST
|
Wow thanks Dan - I will try to play around with these environment variables and see if it fixes anything. Yes I can confirm that the degradation is not a result of viewing tool. I don't have the exact histograms right now but I recall that after warping, my histogram is shifted to the right and I have a whole block of intensities that I never had before. Is there another tool I can use to make a transformation like this other than warp? Dan_Patterson
... View more
11-07-2017
05:22 AM
|
0
|
0
|
1097
|
POST
|
Hi Dan! Thanks for your reply. However, like I mentioned, I am using Arcgis 9.3 which does not have a WarpFromFile tool. The help files for ArcGIS Desktop Help 9.3 - Warp (Data Management) that I am using is this one. Even if I use all the default values such as: gp.CellSize = 0.00001 gp.Warp_management(inputImage, sourcePoints, targetPoints, outputImage, "POLYORDER1", "NEAREST") The outputImage still loses intensity and degrades. The CellSize does not get restricted to the value that I want either. Does anyone know why that is so? Dan_Patterson cdspatial https://community.esri.com/groups/arcgis-data-reviewer?sr=search&searchId=3c33e42c-3ff0-4c00-8310-3e4aa8e1a3db&searchIndex=0
... View more
11-07-2017
02:38 AM
|
0
|
5
|
1097
|
POST
|
Hi, I am using Arcgic 9.3 and had a question regarding the Warp (Data Management) tool. Whenever I warp an image using the Warp (Data Management) tool, it reduces the contrast of my pixels and reduces the black intensities on my panchromatic image even though I have forced the CellSize. This is my code (takes about 1 min to run): import arcgisscripting gp = arcgisscripting.create(9.3) gp.CellSize = 0.00001 gp.Warp_management(inputImage, sourcePoints, targetPoints, outputImage, "POLYORDER1", "CUBIC") However, it works fine using Map Algebra but the code takes a lot longer to run (4-5 mins per image). import arcgisscripting gp = arcgisscripting.create(9.3) gp.CheckOutExtension("Spatial") warp = "warp(inputImage, linkFile, 1, CUBIC, #, 0.00001)" gp.SingleOutputMapAlgebra_sa(warp, outputImage) Is there somewhere I can force some environment variables that would prevent Warp (Data Management) from losing pixels/degrading my image? Much help would be appreciated as I have been banging my head a long time on this. Thanks!
... View more
11-06-2017
03:36 PM
|
0
|
7
|
1302
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|