Back to Adaptive Vision Studio website
                
                    
	
		
	You are here: Start » Filter Reference » Geometric Image Transformations » cvResize
Resizes an image.
| Name | Type | Range | Description | |
|---|---|---|---|---|
![]()  | 
				inSrc | Image | Source image. | |
![]()  | 
				inDWidth | Integer | 0 - ![]()  | 
				Destination image width. If it is zero, it is computed as round of fx*src.cols. | 
![]()  | 
				inDHeight | Integer | 0 - ![]()  | 
				Destination image height. If it is zero, it is computed as round of fx*src.rows. | 
![]()  | 
				inFx | Real | 0.0 - ![]()  | 
				Scale factor along the horizontal axis. | 
![]()  | 
				inFy | Real | 0.0 - ![]()  | 
				Scale factor along the vertical axis. | 
![]()  | 
				inInterpolation | CvInterpolationMethod | Interpolation method. | |
![]()  | 
				outDst | Image | Output image. | |
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 | Input image must not be empty in cvResize. | 
| DomainError | Interpolation method must be one of following: NEAREST, LINEAR, AREA, CUBIC, LANCZOS4, in cvResize. | 
| DomainError | One of inDHeight an inFy must not be zero in cvResize. | 
| DomainError | One of inDWidth and inFx must not be zero in cvResize. | 
Complexity Level
This filter is available on Basic Complexity Level.



