Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Image processing

For general discussion related FlowStone

Image processing

Postby markholtuk » Mon Apr 04, 2011 5:54 pm

Will it be possible to connect images to the code component and/or other modules to do image processing/analysis?

Thanks,

Mark
markholtuk
 
Posts: 8
Joined: Wed Mar 23, 2011 11:45 pm

Re: Image processing

Postby markholtuk » Wed Apr 06, 2011 8:35 am

Is the question too difficult or vague to understand?
markholtuk
 
Posts: 8
Joined: Wed Mar 23, 2011 11:45 pm

Re: Image processing

Postby markholtuk » Fri Apr 08, 2011 2:24 pm

Somewhat disappointed that somebody in the know can't answer this. I guess I'll have to take it as a no. A shame really.
markholtuk
 
Posts: 8
Joined: Wed Mar 23, 2011 11:45 pm

Re: Image processing

Postby Morph » Fri Apr 08, 2011 3:15 pm

You can't connect images directly to a code primitive. Code primitive is for streams at sample-rate like audio. Better is to use the green primitives for image data to keep the cpu down. However it is also possible to "hop" in the code primitive to make it process slower.
Morph
 
Posts: 53
Joined: Tue Jul 13, 2010 1:59 pm

Re: Image processing

Postby markholtuk » Mon Apr 11, 2011 12:43 pm

Thanks for the reply morph. Thought I was talking to myself for a while there :D

I've been using Synthmaker for a while now, so I know a bit about data flow. Just learning Flowstone now and would love to do in depth image processing. It's my day job and I currently use Mathematica which makes it difficult to distribute programs that I've written, since it's an expensive program for others to have just for that.

So is there are an image to float module? I've looked, but can't find it.

Cheers,

Mark
markholtuk
 
Posts: 8
Joined: Wed Mar 23, 2011 11:45 pm

Re: Image processing

Postby Morph » Mon Apr 11, 2011 1:54 pm

I don't know what data do you want to read from the image? There is Colour Detection, get Pixel, Motion Detect, Bitmap Size, Canny Edge Detect primitives..
Morph
 
Posts: 53
Joined: Tue Jul 13, 2010 1:59 pm

Re: Image processing

Postby markholtuk » Mon Apr 11, 2011 1:59 pm

Ideally, I'd like a float array of (r,g,b) intensity values or failing that (h,s,b). No real need for pixel co-ordinates as long as the data remain as an array that can be manipulated mathematically and can be output as a new image. Note that I'm talking about static images (single and/or stacks) here, rather than video streams.
markholtuk
 
Posts: 8
Joined: Wed Mar 23, 2011 11:45 pm

Re: Image processing

Postby Morph » Mon Apr 11, 2011 2:08 pm

It should be possible using Get Pixel to scan and write the colours to an array..
Morph
 
Posts: 53
Joined: Tue Jul 13, 2010 1:59 pm

Re: Image processing

Postby markholtuk » Mon Apr 11, 2011 2:13 pm

OK, I'll have a look at that. Thanks very much for your help!
markholtuk
 
Posts: 8
Joined: Wed Mar 23, 2011 11:45 pm

Re: Image processing

Postby DSP » Mon Apr 11, 2011 3:01 pm

One of the issues with processing video is the shear amount of data to process, and usually any video processing needs to be low level and optimized to get the throughput. If you have a specific application, I would check out what functions 'OpenCV' http://opencv.willowgarage.com/wiki/Welcome has available as this is what FlowStone uses for it's image processing. Then maybe present a good case to have it implemented in FlowStone.
DSP
 
Posts: 150
Joined: Fri May 14, 2010 10:55 pm

Next

Return to General

Who is online

Users browsing this forum: Google [Bot] and 58 guests