[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] File sink file size mismatch problem.

From: Josh Stevens
Subject: [Discuss-gnuradio] File sink file size mismatch problem.
Date: Wed, 30 May 2012 15:04:48 -0400

Hello All,
      A couple of days ago i had installed a GNURadio digital image processing block that makes an image source and sink block available as displayed in the image below.
 Resource : https://github.com/a-w-s/GNURadio-DIP
 Flowgraph : http://i.imgur.com/1lJzD.png

The output of the image source and the input to the image sink are "floats" only and nothing else. I tried to collect pixel information into a file sink and i am successful at that but the problem comes in when the size of the input file size is not the same as the size of the file sink output.

The image is a basic black and white test image called lena.bmp whose file size is 65.0 KB. The link to which is also provided below ,
Resource to Image : https://www.google.com/search?q=lena+256+x+256&hl=en&prmd=imvns&source=lnms&tbm=isch&ei=_G7GT7vkC4rs8wSG99SaBg&sa=X&oi=mode_link&ct=mode&cd=2&sqi=2&ved=0CD8Q_AUoAQ&biw=1280&bih=827

The file size of the received file (file sink) is 76.0 KB.

The reason why I pay more attention to this is because i intend to calculate BER / Pixel Error Rate which would take into account a reference stream which in this case would be the file with the extra bits , and Image sink output ( or the demodulated output) .

Please feel free to ask me any questions that one might have .

Thanks and regards,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]