FemtoScan Online SDK Documentation
Resample image.
Function can perform as down-, as up-sampling. For resampling
bilinear algorithm is used.
All the parameters should be nonzero.
- Source:
- ../fmutl/mathlp.h:139
- Author:
- ATC
- Version:
- 1.0
- Params:
sdata
| source data, 16-bit signed integer.
|
sn1
| source data width.
|
sn2
| source data height.
|
tdata
| target data, 16-bit signed integer.
|
tn1
| target data width.
|
tn2
| target data height.
|
- Returns:
- true if resampling was successful.
- Code:
public extern "C" FMUTL_API bool resample ( | const short * sdata , |
| int sn1 , |
| int sn2 , |
| short * tdata , |
| int tn1 , |
| int tn2 ) |
(C) Advanced Technologies Center, 2002-2006
For support contact us at fsdev@nanoscopy.net