2010-03-10 12:48:40     Image Viewer at host development side.

Document created by Aaronwu Employee on Aug 20, 2013
Version 1Show Document
  • View in full screen mode

2010-03-10 12:48:40     Image Viewer at host development side.

Prasanth Rajagopal (INDIA)

Message: 87052   

 

Hi,

 

I need to view an image stored in Blackfin memory. This has to be done at the Linux host development side, while debugging an application running on Blackfin. My eclipse-galileo workstation on a Suse platform is running smoothly, so if I can have a viewer on eclipse, it would be just great! Does anyone know of a plugin to do the same? I thought of asking this in eclipse forums, but then I thought someone might have already tried this for Blackfin. As an example, there is one Image Viewer GUI available with VDSP IDDE, and if somebody has used it - that is exactly the stuff I am looking for, but on a Linux host.

 

Thanks for your time.

 

Regards

Prasanth.

QuoteReplyEditDelete

 

 

2010-03-10 12:51:36     Re: Image Viewer at host development side.

Mike Frysinger (UNITED STATES)

Message: 87054   

 

there is nothing currently from our side.  best bet at this time is to ask in the eclipse forums.

QuoteReplyEditDelete

 

 

2010-03-11 12:04:44     Re: Image Viewer at host development side.

Prasanth Rajagopal (INDIA)

Message: 87101   

 

Thanks Mike.

 

I have posted this question in Eclipse Forum, and if I am ever succesful, I would definitely share the same here.

 

The project I am working on, acquires a 'fingerprint' image, so while developing the driver or testing the hardware, I need to constantly swipe the finger - and make sure that it: first aquires an image, and second icomes with low grains. Therefore I need to view the image for every run of the test application.

 

While developing/debugging a multimedia application on an embedded Linux target, traditionally how does one 'view' a captured image - at the host side? Is there another way I can do this, perhaps outside eclipse (this might be more of Linux topic than Blackfin-uClinux specific, but Blackfin is being targetted for multimedia applications, and can run complex image processing algorithms, so I am curious about what approach people usually take)?

 

Thanks in advance!

 

Regards

Prasanth.

QuoteReplyEditDelete

 

 

2010-03-11 13:17:47     Re: Image Viewer at host development side.

Mike Frysinger (UNITED STATES)

Message: 87102   

 

i vaguelly recall someone saying that BIRT provided something, but i was never able to find out what.

 

in terms of Linux, the typical debug cycle would be to capture the image, save it to the filesystem (which could be RAM backed so you dont thrash flash), and then copy it back to their PC and view it there.  you can run a NFS or Samba server on the Blackfin to simplify the board<->PC transfer, but FTP/RCP/SCP works just as well for many.

QuoteReplyEditDelete

 

 

2010-03-11 17:53:10     Re: Image Viewer at host development side.

Robert Cochran (UNITED STATES)

Message: 87103   

 

If you don't mind doing a little programming, then you might want to take a look at the Java ImageIO package for reading & display and maybe JMF to move the data between hosts.

 

Open up a socket on blackfin and stream the data to a Java app running inside Eclipse.  That's probably what I would do.

 

Lots of different image formats are supported:   java.sun.com/javase/technologies/desktop/media/

 

 

 

Good luck

QuoteReplyEditDelete

 

 

2010-03-13 11:29:25     Re: Image Viewer at host development side.

Prasanth Rajagopal (INDIA)

Message: 87175   

 

Thanks again Mike and Robert.

 

I would start with what MIke is suggesting. Should I insert the captured raw pixel data in to a .bmp file, through my device driver - using FileIO?

 

I did hit searches on Java Image Viewer and ecipse, so I might look out for that as well (though tool programming is my last attempt).

 

- Prasanth

QuoteReplyEditDelete

 

 

2010-03-18 00:33:07     Re: Image Viewer at host development side.

Prasanth Rajagopal (INDIA)

Message: 87360   

 

Hi,

 

I do have a reference case for my work now. Somebody ported the project to ARM, and he used what Mike was talking about - mounting arm file system remotely via sshfs, and then viewing the image file at host.

 

- Prasanth.

QuoteReplyEditDelete

 

 

2010-03-18 15:58:52     Re: Image Viewer at host development side.

Prasanth Rajagopal (INDIA)

Message: 87429   

 

Somebody who ported the particular code to an ARM platform infomed me that, he overcame the Image Viewer problem - by mounting arm file system remotely via sshfs.

 

- Prasanth.

QuoteReplyEditDelete

 

 

2010-03-18 16:02:15     Re: Image Viewer at host development side.

Prasanth Rajagopal (INDIA)

Message: 87430   

 

Please ignore my last mail. Didn't mean to duplicate the replies (somehow I missed my last reply!)

 

- Prasanth.

Attachments

    Outcomes