FL Black Frame Reject

FL_BlackFrameReject

FL_BlackFrameReject analyzes each image in a batch to detect the percentage of black pixels. Images with black pixel percentage exceeding the specified threshold are removed from the batch. Returns the filtered batch of images and counts of kept and rejected images. Useful for removing black frames, fades to black, or images with excessive dark regions.

Pack: ComfyUI_Fill-Nodes

custom_nodes.ComfyUI_Fill-Nodes

Inputs (6)

NameTypeRequired
imagesIMAGErequired
thresholdFLOATrequired
black_levelFLOATrequired
channelsCOMBOoptional
invertBOOLEANoptional
show_progressBOOLEANoptional

Outputs (3)

NameType
filtered_imagesIMAGE
kept_countINT
rejected_countINT