Moving object extraction with or without human extraction (Matlab)