get_categories no__in

$categories = get_categories(array(
  'exclude' => $post_id,
));
Andrew Lautenbach