Include alpha channel in edge detection filter
Remove superfluous main methods