A star shaped domain We say that $\Omega$ is a star-shaped domain (with respect to the origin) of $\mathbb R ^n$ if : 
$\Omega  = \{x\in \mathbb R ^n : \left \| x \right \| < g(\frac{x}{\left \| x \right \|})\} $ and 
 $\partial \Omega  = \{x\in \mathbb R ^n : \left \| x \right \| = g(\frac{x}{\left \| x \right \|})\} $
with $g$ is a continuous, positive function on the unit ball.
I have two questions:
1) I know what star-shaped means Geometrically, but it doesn't get linked with the definition given above. Can you help me understand..
2)Is there a map (bijection) between $\Omega$ and the unit sphere $B$?
I appreciate your answers and your help.
EDIT: $g$ is a function on a unit sphere.
 A: Your definition is not the most used one. I was introduced to this one https://en.wikipedia.org/wiki/Star_domain . $S$ is called a star domain iff $\exists x_0 \in S, \forall x \in S, [x_0,x] \in S $. This one is quite intuitive : there is at least one point in $S$ from which you "see" every other point in $S$ (the "light" going through $S$). 
Those two definitions are not equivalent. I have issues with the hypothesis of $g$ being continuous. In $\mathbb{R}^2$, $A=[-1,1]\times \{0\}$ is a star domain according to my definition, but not according to yours. 
Intuitively, from what I see, any domain verifying your definition (except $\{0\}$) has a non-empty interior (to be proven or disproven, I didn't investigate).  Are you sure it is not a restriction of the definition of star-shaped domain? (something like non-empty interior star-shaped domain?) Or are you sure that you did not miss something, like a $\mathring \Omega$ somewhere in your definition ? (\mathring)
A: 0.
As far as I can understand the problem formulation, $g$ is not defined on the $n$–dimensional unit ball 
$$B^n = \{x\in\mathbb R^n:\|x\| \le 1\}$$ 
but rather on the ball's surface, that is on the $(n-1)$–dimensional (hyper)sphere 
$$S^{n-1} = \{x\in\mathbb R^n:\|x\| = 1\}$$
1.
For any $x \ne 0$,
$$\frac{x}{\left \| x \right \|}$$
represents a unit vector in the direction of $x$, identifying a single point on a unit sphere.
There is a value $g$ assigned to that point: $g\left(\frac{x}{\left \| x \right \|}\right)$.
The definition says, that $\Omega$ contains for each direction all such points $x$, whose distance from $0$ do not exceed the $g$ defined for that direction.
In other words, the domain is a union of (open-ended) line segments with a common beginning in $0$, whose lengths are defined by $g$.
If $g = r$ is constant, non-zero, then $\Omega$ will be an open ball of radius $r$.
If $g$ is 'close to constant', i.e. $|g - r| \le e$ for $0 \lt e \ll r$, we could say $\Omega$ is a ball of radius $r$ with hills & valeys not exceeding the height or depth of $e$.
2.
The $g$ function is positive. At each point $P$ belonging to a unit (hyper)sphere $S^{n-1}$ (hence $\|P\| = 1$):
$$g(P) > 0$$
then all points on a line segment between $0$ and $g(P)\cdot P$ belong to $\Omega$:
$$\{x\in\mathbb R^n: x = k\cdot P,\ 0 < k < g(P)\}\subset \Omega$$
So $\Omega$ contains a non-degenerate line segment, which is equipollent with $\mathbb R$, hence $\Omega$ cardinality is at least continuum.
On the other hand $\Omega \subset \mathbb R^n$, so its cardinality is at most continuum; which impiles $|\Omega|=\mathfrak C$.
The cardinality of both the unit sphere $S^{n-1}$ (provided $n\ge 2$) and the unit ball $B^n$ is also continuum, so a bijection between each of them and $\Omega$ certainly exists.
The bijection between the ball and $\Omega$ is straightforward: for any ray (half-line) starting at $0$ and meeting the unit sphere at point $P$, its initial segment of length $g(P)$ is a subset of $\Omega$ – so it's enough to scale the segment by $1/g(P)$ to obtain a unit segment; and a union of all unit segments starting at $0$ is a unit ball.
