Pixel Value
Brief Description
Get the value of a pixel.
Tags
Miscellaneous, Utilities, Coordinates, Raster
Long Description
This application gives the value of a selected pixel. There are three ways to designate a pixel, with its index, its physical coordinate (in the physical space attached to the image), and with geographical coordinate system. Coordinates will be interpreted differently depending on which mode is chosen.
Parameters
Input Image (in): Input image
X coordinate (coordx): This will be the X coordinate interpreted depending on the chosen mode
Y coordinate (coordy): This will be the Y coordinate interpreted depending on the chosen mode
Coordinate system used to designate the pixel (mode): Different modes can be selected, default mode is Index.
Index (index): This mode uses the given coordinates as index to locate the pixel.
Image physical space (physical): This mode interprets the given coordinates in the image physical space.
EPSG coordinates (epsg): This mode interprets the given coordinates in the specified geographical coordinate system by the EPSG code.
EPSG code (mode.epsg.code): This code is used to define a geographical coordinate system. If no system is specified, WGS84 (EPSG : 4326) is used by default.
Channels (cl): Displayed channels
Pixel Value (value): Pixel radiometric value
Load otb application from xml file (inxml): Load otb application from xml file
Save otb application to xml file (outxml): Save otb application to xml file
Limitations
None
Authors
OTB-Team
See also
Example of use
in: QB_Toulouse_Ortho_XS.tif
coordx: 50
coordy: 100
cl: Channel1
otbcli_PixelValue -in QB_Toulouse_Ortho_XS.tif -coordx 50 -coordy 100 -cl Channel1