Skip to content

bill2239/ranktransform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ranktransform

perform rank transform or census transform to image, make it invariant to illumination changes, it is interesting to actually visualize how transform does
rank transform: adding up the number of neighbors that larger than central pixel
census transform : assigning neighbors that larger than central pixel to 1, 0 otherwise, and aggregate bits to value

To run this code

python rank_transform.py input_imgpath output_imgpath transform_type

original image:   alt text rank transform:
alt text
census transform:
alt text

About

performing rank and census transform in Python and see how it looks like

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors

Languages