Class SaigePhotometricStereoOption
Inheritance
object
SaigePhotometricStereoOption
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SaigeVision.ImageProcess.Deep.PhotometricStereo
Assembly: SaigeVision.ImageProcess.Deep.dll
Syntax
public class SaigePhotometricStereoOption
Constructors
View SourceSaigePhotometricStereoOption(ModeFlags, ShaderFlags, int, int, int, int, int, int, int)
Declaration
public SaigePhotometricStereoOption(ModeFlags mode, ShaderFlags shader = ShaderFlags.LEVEL2, int contrast = 10, int brightness = 0, int elevation = 30, int tileTop = 90, int tileBottom = 270, int tileLeft = 180, int tileRight = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| ModeFlags | mode | |
| ShaderFlags | shader | |
| int | contrast | |
| int | brightness | |
| int | elevation | |
| int | tileTop | |
| int | tileBottom | |
| int | tileLeft | |
| int | tileRight |
Properties
View SourceBrightness
후처리 시 이미지의 전체적인 밝기 정도를 조절
Declaration
public int Brightness { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Contrast
후처리 시 이미지의 대비 정도를 조절
Declaration
public int Contrast { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Elevation
촬영 시 이미지 중심점으로부터 조명까지의 고도각 (elevation angle)을 degree 단위로 표현한 값
Declaration
public int Elevation { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Mode
ModeFlags: 후처리모드를 설정하기 위한 파라미터 SHAPE: 흡집 검사에 적합 GRADIENT_X: 표면의 X방향 경사 변화도를 나타냄 GRADIENT_Y: 표면의 Y방향 경사 변화도를 나타냄 ALBEDO: 표면 반사도를 검사
Declaration
public ModeFlags Mode { get; set; }
Property Value
| Type | Description |
|---|---|
| ModeFlags |
Shader
후처리 시 shading을 어느 정도로 가할지를 나타내는 파라미터. level 수치가 높을수록 더욱 부드럽고 입체적인 결과 이미지를 생성 높은 level을 사용할 경우 연산 시간이 최대 30% 까지 증가할 수 있습니다.
Declaration
public ShaderFlags Shader { get; set; }
Property Value
| Type | Description |
|---|---|
| ShaderFlags |
Tilt_Degree_Bottom
광원의 방향입니다. SetImage 할 때 bottom으로 들어가는 이미지와 매칭되어 설정됩니다. 이미지 우측이 0도, 반시계 방향
Declaration
public int Tilt_Degree_Bottom { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Tilt_Degree_Left
광원의 방향입니다. SetImage 할 때 left으로 들어가는 이미지와 매칭되어 설정됩니다. 이미지 우측이 0도, 반시계 방향
Declaration
public int Tilt_Degree_Left { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Tilt_Degree_Right
광원의 방향입니다. SetImage 할 때 right으로 들어가는 이미지와 매칭되어 설정됩니다. 이미지 우측이 0도, 반시계 방향
Declaration
public int Tilt_Degree_Right { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Tilt_Degree_Top
광원의 방향입니다. SetImage 할 때 top으로 들어가는 이미지와 매칭되어 설정됩니다. 이미지 우측이 0도, 반시계 방향
Declaration
public int Tilt_Degree_Top { get; set; }
Property Value
| Type | Description |
|---|---|
| int |