Skip to content

Commit 66d1067

Browse files
43792 - add glaresCheckParams (#288)
1 parent d4c7d0c commit 66d1067

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

common.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,3 +503,18 @@ components:
503503
type: integer
504504
ResultStatus:
505505
type: integer
506+
507+
GlaresCheckParams:
508+
title: "GlaresCheckParams"
509+
type: object
510+
properties:
511+
imgMarginPart:
512+
type: number
513+
format: float
514+
description: "Margin from the edges of the image. 0.35 = 35%"
515+
example: 0.35
516+
maxGlaringPart:
517+
type: number
518+
format: float
519+
description: "The maximum allowable part of the area occupied by the glare. The same: 0.06 = 6%"
520+
example: 0.0

p-process.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,8 @@ components:
717717
type: array
718718
items:
719719
$ref: "./rt-image-quality.yml#/components/schemas/InputImageQualityChecks"
720+
glaresCheckParams:
721+
$ref: "./common.yml#/components/schemas/GlaresCheckParams"
720722

721723
ProcessRequestImage:
722724
title: "ProcessRequestImage"

0 commit comments

Comments
 (0)