Fix sparce image decorder segmentation fault

Initialize _img_ptr before setting up subscribers.
Solve this issue.
#164