# Image retrieval through a multibeam imaging sonar

I would like to know if anyone here has used the Blueview SDK (Linux) for retrieval of images from the pings obtained by a multibeam sonar (P450, P900, etc.) ? If so, I'd like to know why would anyone get a null head when I trying to retrieve the head (eventually for the pings to be converted to an image) using the BVT_GetHead() method. My snippet for retrieving the image from a .son file (some_son_data.son) is given below:

int main() {
BVTSonar son = BVTSonar_Create();
BVTSonar_Open(son, "FILE", "some_son_data.son");

if (NULL != son) cout << "son not null" << endl;
return 0;
}

• Do you have a link to any documentation on these functions, even a header file (".h" file) with the declaration for BVTSonar_GetHead() ? pastebin.com/rrq35rQB isn't exactly a reliable source. – David Cary Dec 7 '13 at 14:43
• Is maybe "some_son_data.son" a zero-byte file or otherwise not in the format BVTSonar_GetHead() expects? Is maybe "some_son_data.son" in some other directory that this program can't "see"? Does the file "some_son_data.son" even exist? – David Cary Dec 7 '13 at 16:58

We are using the P900 multibeam sonar.

So far our interface hasn't any problem. But we requested a new version of the library from teledyne which works now in our case.

sonar = new BVTSDK::Sonar();