# Get Multiple Vertical Seam Correction Coefs

This API can be used to get the coefficients of the specified vertical seams.

# Request Path

{CLTPlatform-ip}:8086/advancedSeam/getMultiVerticalSeamSeamCoef

  • Replace {CLTPlatform-ip} with the corresponding IP address.
  • The request port is 8086.

# Protocol

HTTP

# Method

POST

# Request Parameters

  • Set the Content-Type of the request body to application/json.
Parameter Name Description Required Type Data Dictionary Restriction Example
command Command type Yes [string] advancedSeam/getMultiVerticalSeamSeamCoef
data Data Yes [object]
data>>verticalSeamArray An array of vertical seam coefficients Yes [array]
data>>verticalSeamArray>>x x Yes [int] 0
data>>verticalSeamArray>>y y Yes [int] 0
data>>verticalSeamArray>>width Width Yes [int] 1
data>>verticalSeamArray>>length Length Yes [int] 16
data>>verticalSeamArray>>containReceiverArray Yes [array]
data>>verticalSeamArray>>containReceiverArray>>processorIndex Sender index (starts from 0) Yes [int] 0
data>>verticalSeamArray>>containReceiverArray>>portIndex Network port index Yes [int] 0
data>>verticalSeamArray>>containReceiverArray>>receiverIndex Receiver card index Yes [int] 0

# Request Example

{
    "command": "advancedSeam/getMultiVerticalSeamSeamCoef",
    "data": {
        "verticalSeamArray": [{
            "x": 0,
            "y": 0,
            "width": 1,
            "length": 16,
            "containReceiverArray": [{
                "processorIndex": 0,
                "portIndex": 0,
                "receiverIndex": 0
            }]
        }]
    }
}

# Response

Parameter Name Description Required Type Data Dictionary Restriction Example
command Command type Yes [string] advancedSeam/getMultiVerticalSeamSeamCoef
code Status code Yes [int] 20000
message Message Yes [string] Common_Success
data Data Yes [object]
data>>verticalSeamArray An array of vertical seam coefficients Yes [array]
data>>verticalSeamArray>>x x Yes [int] 0
data>>verticalSeamArray>>y y Yes [int] 0
data>>verticalSeamArray>>width Width Yes [int] 1
data>>verticalSeamArray>>length Length Yes [int] 16
data>>verticalSeamArray>>seamCoefArray Array of coefficients (flot type), which size is equal to width*height. Coefficients' range: [0.504,1.492] or 0 Yes [array] [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0]

# Response Example

{
    "command": "advancedSeam/getMultiVerticalSeamSeamCoef",
    "code": 20000,
    "message": "Common_Success",
    "data": {
        "verticalSeamArray": [{
            "x": 0,
            "y": 0,
            "width": 1,
            "length": 16,
            "seamCoefArray": [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0]
        }]
    }
}

# Detailed Description