-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pixelfunctions integration #141
Closed
Closed
Changes from 15 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
cceed0b
Initial commit
avalentino 2cfd449
Improved the README.txt file
avalentino 29f6bd3
Remove unnecessary includes
avalentino 01e325c
Silence compiler warnings
avalentino 4038d40
Minor improvements
avalentino d7eaf5f
Add the MakeCompexPixelFunc that make a complex out of a real and ima…
alexamici 6648310
Merge remote-tracking branch 'bopen/master'
avalentino 4668088
Rename makecomplex into complex
avalentino ac7f70a
Fix floating point trunation in mod function (closes gh-3)
avalentino de11bcd
Prepare for integration in Gdal
jmichel-otb 67373d6
TEST: Removing those tests since they seem unrelated to the pixel fun…
jmichel-otb 8ffbb53
Merge branch 'pixelfunctions-import' into pixelfunctions-integration
jmichel-otb 9d18110
COMP: Adding pixelfunction file for compilation
jmichel-otb 22c92a8
COMP: Add prototypes for all functions
jmichel-otb a53f540
ENH: Register default pixel functions
jmichel-otb f0f79ef
ENH: Removing useless files (from PR review)
jmichel-otb bf13853
ENH: Remove code that only makes sense as part of a plugin (from PR r…
jmichel-otb 6f95e7d
ENH: Avoid ignoring c files (from PR review)
jmichel-otb 5e40669
ENH: Update makefile.vc as well (from PR review)
jmichel-otb d9fd29b
DOC: Adding a section about default pixel functions in vrt tutorial (…
jmichel-otb 0e14ea1
COMP: Make pixelfunctions static, and solve link error
jmichel-otb 66e3388
COMP: Add gdal_vrt.h include to get declaration of prototype for GDAL…
jmichel-otb 8783995
COMP: Fix include of gdal_vrt.h
jmichel-otb de301c3
TEST: Make numpy dependency optional (from PR review)
jmichel-otb 0345b9e
COMP: Trying to fix travis-ci compilation error
jmichel-otb e8cb1ae
TEST: Fixing test failing due to bad indent
jmichel-otb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*.c | ||
*.pyc | ||
*.o | ||
*.so | ||
*~ |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<VRTDataset rasterXSize="5" rasterYSize="6"> | ||
<VRTRasterBand dataType="CFloat32" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Product with complex conjugate</Description> | ||
<PixelFunctionType>cmul</PixelFunctionType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">cint_sar.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
<DstRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
</SimpleSource> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">cint_sar.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
<DstRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<VRTDataset rasterXSize="20" rasterYSize="20"> | ||
<VRTRasterBand dataType="Float32" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Product with complex conjugate</Description> | ||
<PixelFunctionType>cmul</PixelFunctionType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">uint16.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
<DstRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
</SimpleSource> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">int32.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
<DstRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<VRTDataset rasterXSize="20" rasterYSize="20"> | ||
<VRTRasterBand dataType="CFloat32" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Make complex</Description> | ||
<PixelFunctionType>complex</PixelFunctionType> | ||
<SourceTransferType>CFloat32</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">int32.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
<DstRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
</SimpleSource> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">int32.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
<DstRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="5" rasterYSize="6"> | ||
<VRTRasterBand dataType="CInt16" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>conjugate</Description> | ||
<PixelFunctionType>conj</PixelFunctionType> | ||
<SourceTransferType>CInt16</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">cint_sar.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
<DstRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="20" rasterYSize="20"> | ||
<VRTRasterBand dataType="Float64" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>conjugate</Description> | ||
<PixelFunctionType>conj</PixelFunctionType> | ||
<SourceTransferType>Int32</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">int32.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
<DstRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="20" rasterYSize="20"> | ||
<VRTRasterBand dataType="Float64" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>db to amplitude</Description> | ||
<PixelFunctionType>dB2amp</PixelFunctionType> | ||
<SourceTransferType>Float64</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">float32.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
<DstRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="20" rasterYSize="20"> | ||
<VRTRasterBand dataType="Float64" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>dB to power</Description> | ||
<PixelFunctionType>dB2pow</PixelFunctionType> | ||
<SourceTransferType>Float64</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">float32.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
<DstRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<VRTDataset rasterXSize="5" rasterYSize="6"> | ||
<VRTRasterBand dataType="CFloat32" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Difference</Description> | ||
<PixelFunctionType>diff</PixelFunctionType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">cint_sar.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
<DstRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
</SimpleSource> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">cfloat64.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
<DstRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<VRTDataset rasterXSize="5" rasterYSize="6"> | ||
<VRTRasterBand dataType="Float32" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Difference</Description> | ||
<PixelFunctionType>diff</PixelFunctionType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">int32.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
<DstRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
</SimpleSource> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">float32.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="10" yOff="10" xSize="5" ySize="6"/> | ||
<DstRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="5" rasterYSize="6"> | ||
<VRTRasterBand dataType="Float64" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Imaginary part</Description> | ||
<PixelFunctionType>imag</PixelFunctionType> | ||
<SourceTransferType>CFloat64</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">cint_sar.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
<DstRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="20" rasterYSize="20"> | ||
<VRTRasterBand dataType="Float32" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Imaginary part</Description> | ||
<PixelFunctionType>imag</PixelFunctionType> | ||
<SourceTransferType>Float32</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">float32.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
<DstRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="5" rasterYSize="6"> | ||
<VRTRasterBand dataType="Float64" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Intensity</Description> | ||
<PixelFunctionType>intensity</PixelFunctionType> | ||
<SourceTransferType>CFloat64</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">cint_sar.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
<DstRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="20" rasterYSize="20"> | ||
<VRTRasterBand dataType="Float32" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Intensity</Description> | ||
<PixelFunctionType>intensity</PixelFunctionType> | ||
<SourceTransferType>Float32</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">float32.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
<DstRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="5" rasterYSize="6"> | ||
<VRTRasterBand dataType="CFloat64" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Inverse</Description> | ||
<PixelFunctionType>inv</PixelFunctionType> | ||
<SourceTransferType>CFloat64</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">cint_sar.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
<DstRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="20" rasterYSize="20"> | ||
<VRTRasterBand dataType="Float64" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Inverse</Description> | ||
<PixelFunctionType>inv</PixelFunctionType> | ||
<SourceTransferType>Float64</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">float32.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
<DstRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="20" rasterYSize="20"> | ||
<VRTRasterBand dataType="Float32" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Log10</Description> | ||
<PixelFunctionType>log10</PixelFunctionType> | ||
<SourceTransferType>Float32</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">float32.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
<DstRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="5" rasterYSize="6"> | ||
<VRTRasterBand dataType="Float32" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Magnitude</Description> | ||
<PixelFunctionType>mod</PixelFunctionType> | ||
<SourceTransferType>CFloat64</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">cint_sar.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
<DstRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="20" rasterYSize="20"> | ||
<VRTRasterBand dataType="uint32" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Magnitude</Description> | ||
<PixelFunctionType>mod</PixelFunctionType> | ||
<SourceTransferType>Int32</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">int32.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
<DstRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<VRTDataset rasterXSize="5" rasterYSize="6"> | ||
<VRTRasterBand dataType="CFloat32" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Product</Description> | ||
<PixelFunctionType>mul</PixelFunctionType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">cint_sar.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
<DstRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
</SimpleSource> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">cint_sar.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
<DstRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<VRTDataset rasterXSize="20" rasterYSize="20"> | ||
<VRTRasterBand dataType="Float32" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Product</Description> | ||
<PixelFunctionType>mul</PixelFunctionType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">uint16.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
<DstRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
</SimpleSource> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">int32.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
<DstRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
</SimpleSource> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">float32.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
<DstRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="5" rasterYSize="6"> | ||
<VRTRasterBand dataType="Float64" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Phase</Description> | ||
<PixelFunctionType>phase</PixelFunctionType> | ||
<SourceTransferType>CFloat64</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">cint_sar.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
<DstRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="5" rasterYSize="6"> | ||
<VRTRasterBand dataType="Float64" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Phase</Description> | ||
<PixelFunctionType>phase</PixelFunctionType> | ||
<SourceTransferType>Float64</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">pixfun_imag_c.vrt</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
<DstRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="5" rasterYSize="6"> | ||
<VRTRasterBand dataType="Float64" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Real part</Description> | ||
<PixelFunctionType>real</PixelFunctionType> | ||
<SourceTransferType>CFloat64</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">cint_sar.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
<DstRect xOff="0" yOff="0" xSize="5" ySize="6"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="20" rasterYSize="20"> | ||
<VRTRasterBand dataType="Int32" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Real part</Description> | ||
<PixelFunctionType>real</PixelFunctionType> | ||
<SourceTransferType>CFloat64</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">int32.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
<DstRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<VRTDataset rasterXSize="20" rasterYSize="20"> | ||
<VRTRasterBand dataType="Float32" band="1" subClass="VRTDerivedRasterBand"> | ||
<Description>Square root</Description> | ||
<PixelFunctionType>sqrt</PixelFunctionType> | ||
<SourceTransferType>Float32</SourceTransferType> | ||
<SimpleSource> | ||
<SourceFilename relativeToVRT="1">float32.tif</SourceFilename> | ||
<SourceBand>1</SourceBand> | ||
<SrcRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
<DstRect xOff="0" yOff="0" xSize="20" ySize="20"/> | ||
</SimpleSource> | ||
</VRTRasterBand> | ||
</VRTDataset> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ignoring .c files seems dubious, as there are .c files in GDAL