MCPcopy Create free account
hub / github.com/dengdan/seglink / distort_color

Function distort_color

preprocessing/ssd_vgg_preprocessing.py:123–173  ·  view source on GitHub ↗

Distort the color of a Tensor image. Each color distortion is non-commutative and thus ordering of the color ops matters. Ideally we would randomly permute the ordering of the color ops. Rather then adding that level of complication, we select a distinct ordering of color ops for ea

(image, color_ordering=0, fast_mode=True, scope=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

preprocess_for_trainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected