![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Generates a binary image with oriented lines. More...
| IPSDKIPLUTILITY_API ipsdk::image::ImagePtr | ipsdk::imaproc::util::buildLines2dImg (const ipsdk::ipUInt64 sizeX, const ipsdk::ipUInt64 sizeY, const ipsdk::ipReal32 theta, const ipsdk::ipReal32 offset) |
| wrapper function for Generates a binary image with oriented lines More... | |
| IPSDKIPLUTILITY_API void | ipsdk::imaproc::util::buildLines2dImg (const ipsdk::ipReal32 theta, const ipsdk::ipReal32 offset, const image::ImagePtr &pOutBinImg) |
| wrapper function for Generates a binary image with oriented lines More... | |
Generates a binary image with oriented lines.
This algorithm generates an image of oriented lines with an angle theta, expressed in radians. One of the generated line is centered in the image and the other are shifted by a distance multiple of offset
Here is an example of generation of a 100x100 image with lines oriented with an angle of 20° and spaced by a step of 30 pixels.
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InOutputImg2dSize | [Input] output image 2d size | X |
| ipsdk::imaproc::attr::InTheta | [Input] 2d orientation for processing operation | X |
| ipsdk::imaproc::attr::InOffset | [Input] Offset. Used for instance by shading correction algorithm | X |
| ipsdk::imaproc::attr::OutBinImg | [Output] binary image for processing operation | customOutput (_pOutBinImg, outputBuild2d(_pInOutputImg2dSize)) |
Global rule description for algorithm :
ipsdk::imaproc::customImageProperty (_pOutBinImg,
ipsdk::imaproc::util::matchROI2d (_pInOutputImg2dSize))
| IPSDKIPLUTILITY_API ipsdk::image::ImagePtr ipsdk::imaproc::util::buildLines2dImg | ( | const ipsdk::ipUInt64 | sizeX, |
| const ipsdk::ipUInt64 | sizeY, | ||
| const ipsdk::ipReal32 | theta, | ||
| const ipsdk::ipReal32 | offset | ||
| ) |
wrapper function for Generates a binary image with oriented lines
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLUTILITY_API void ipsdk::imaproc::util::buildLines2dImg | ( | const ipsdk::ipReal32 | theta, |
| const ipsdk::ipReal32 | offset, | ||
| const image::ImagePtr & | pOutBinImg | ||
| ) |
wrapper function for Generates a binary image with oriented lines
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14