FemtoScan Online SDK Documentation
function extract_section | ^
|
Get section points from 2-dimensional array.
- Source:
- ../fmutl/mathlp.h:302
- Author:
- ATC
- Version:
- 1.0
- Params:
| data
| source data
|
| w
| window width
|
| h
| window height
|
| xc
| center coordinate X
|
| yc
| center coordinate Y
|
| angle
| section angle (in radians)
|
| r
| section radius (if 0.0, r will be chosen automatically)
|
| _x0
| first section point X
|
| _y0
| first section point Y
|
| _x1
| last section point X
|
| _y1
| last section point Y
|
- Returns:
- extracted section points in array of shorts. This array should be freed with
@endlink.
- Code:
| public extern "C" FMUTL_API short * extract_section ( | const short * data , |
| | unsigned w , |
| | unsigned h , |
| | double xc , |
| | double yc , |
| | double angle , |
| | double r , |
| | unsigned * nsamp , |
| | int * _x0 = 0 , |
| | int * _y0 = 0 , |
| | int * _x1 = 0 , |
| | int * _y1 = 0 ) |
(C) Advanced Technologies Center, 2002-2006
For support contact us at fsdev@nanoscopy.net