Match stable diffusion result's histogram to image's

This commit is contained in:
Anders Haglund
2022-11-23 14:50:58 -08:00
parent 0b00fffe13
commit 8e408640a4
6 changed files with 62 additions and 0 deletions

View File

@@ -175,6 +175,7 @@ export interface Settings {
sdSeed: number
sdSeedFixed: boolean // true: use sdSeed, false: random generate seed on backend
sdNumSamples: number
sdMatchHistograms: boolean
// For OpenCV2
cv2Radius: number
@@ -278,6 +279,7 @@ export const settingStateDefault: Settings = {
sdSeed: 42,
sdSeedFixed: true,
sdNumSamples: 1,
sdMatchHistograms: false,
// CV2
cv2Radius: 5,