Main Content

double

Convert TIFF tag property values to row vector of doubles

Description

example

tiffTagValue = double(rpctag) returns a 92-element row vector of class double, representing the values of the TIFF tag. This is the format required to write the property values to a TIFF file.

Examples

collapse all

Create an RPCCoefficientTag object and view the object summary display.

rpctag = map.geotiff.RPCCoefficientTag
rpctag = 
  RPCCoefficientTag with properties:

                BiasErrorInMeters: -1
              RandomErrorInMeters: -1
                       LineOffset: 0
                     SampleOffset: 0
           GeodeticLatitudeOffset: 0
          GeodeticLongitudeOffset: 0
             GeodeticHeightOffset: 0
                        LineScale: 1
                      SampleScale: 1
            GeodeticLatitudeScale: 1
           GeodeticLongitudeScale: 1
              GeodeticHeightScale: 1
        LineNumeratorCoefficients: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
      LineDenominatorCoefficients: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
      SampleNumeratorCoefficients: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
    SampleDenominatorCoefficients: [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]

Call the RPCCoefficientTag class method double to convert the object into a vector of doubles. View the result.

tifftagvalues = double(rpctag)
tifftagvalues = 1×92

    -1    -1     0     0     0     0     0     1     1     1     1     1     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0     0

Input Arguments

collapse all

Rational Polynomial Coefficients (RPC) TIFF tag property values, specified as an RPCCoefficientTag object.

Example: tifftagvalues = double(rpctag);

Output Arguments

collapse all

Rational Polynomial Coefficients (RPC) TIFF tag property values, returned as 92-element vector of class double.

Version History

Introduced in R2015b