public class OrientedLineStrelFactory extends Object implements OrientedStrelFactory
Constructor and Description |
---|
OrientedLineStrelFactory(double length)
Constructs a new oriented line factory, that will generate lines with
approximately the given length.
|
Modifier and Type | Method and Description |
---|---|
OrientedLineStrel |
createStrel(double theta)
Creates a new instance of OrientedLineStrel with the length stored
internally and the orientation given as argument.
|
public OrientedLineStrelFactory(double length)
length
- the length of the lines to be generatedpublic OrientedLineStrel createStrel(double theta)
createStrel
in interface OrientedStrelFactory
theta
- the orientation of the resulting structuring element, in
degreesOrientedStrelFactory.createStrel(double)
Copyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.