Back to Adaptive Vision Studio website
                
                    
	
		
	You are here: Start » Filter Reference » Geometric Image Transformations » cvInitUndistortRectifyMap
Computes the undistortion and rectification transformation map.
| Name | Type | Range | Description | |
|---|---|---|---|---|
![]()  | 
				inCameraMatrix | Matrix | Matrix with part of intrinsics camera parameters. | |
![]()  | 
				inDistCoeffs | Matrix | Coefficients of distortion. | |
![]()  | 
				inR | Matrix | Optional rectification transformation in the object space, 3x3 matrix. | |
![]()  | 
				inNewCameraMatrix | Matrix | ||
![]()  | 
				inMapWidth | Integer | 0 - ![]()  | 
				Width of output maps. | 
![]()  | 
				inMapHeight | Integer | 0 - ![]()  | 
				Height of output maps. | 
![]()  | 
				outMap1 | Matrix | Output x coordinates map. | |
![]()  | 
				outMap2 | Matrix | Output y coordinates map. | |
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
| Error type | Description | 
|---|---|
| DomainError | inCameraMatrix must not be empty in cvInitUndistortRectifyMap. | 
| DomainError | inNewCameraMatrix must be 4x3, 3x3, or empty matrix in cvInitUndistortRectifyMap. | 
| DomainError | inR must be 3x3 or empty matrix in cvInitUndistortRectifyMap. | 
| DomainError | Supported matrix sizes for inDistCoeffs are: 1x4, 4x1, 1x5, 5x1, 1x8, 8x1, 1x12, 12x1 in cvInitUndistortRectifyMap. | 
Complexity Level
This filter is available on Basic Complexity Level.



