473,545 Members | 1,717 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Choosing a matrix library for image processing. Blitz++,MTL or others?

I'll swictch from Matlab to C++. So I want to find a matrix library of
C++, Whitch can process images conveniently as Matlab does.

I've googled, and found that Blitz++ and MTL are popular and powerful.
I want to know whitch of them fit for image processing better.
Or have other choices?
Any suggestion whill be appreciated.

Mar 22 '06 #1
6 2729
Guch wrote:
I'll swictch from Matlab to C++. So I want to find a matrix library of
C++, Whitch can process images conveniently as Matlab does.

I've googled, and found that Blitz++ and MTL are popular and powerful.
I want to know whitch of them fit for image processing better.
Or have other choices?
Any suggestion whill be appreciated.


Both.
Mar 22 '06 #2
Both?
But their function are mostly the same.

Mar 22 '06 #3
Maybe you should also have a look at the Adobe code:

http://opensource.adobe.com/group__asl__gil.html

Peter

Mar 22 '06 #4
What's adobe gil's advantage over Blitz++?
Is it efficient enough?

Mar 22 '06 #5
gil is specialized for images so there are functions which blitz does
not have (all the color stuff). I don't know the internals of gil (does
it use expression templates?). But if you ask there on the mailing list
or the forum I'm sure they'll aswer all you questions.

When you only need standard image manipulations I assume gil is the
better choice, but if you wanna implement complicated image
manipulation algorithms, then maybe blitz is better because it was
designed to make the implementation of complex calculations more
convenient than unsing pure C.

Mar 22 '06 #6
I remember that Intel also has some matrix library, optimized for Intel
processors (SIMD). I don't know what are the constrains from platform
portability point of view...

Catalin

Mar 22 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
22600
by: DeMarcus | last post by:
Hi, Is there any kind of "std::matrix<>" in the STL that is optimized for matrix operations, or do I have to do a std::vector< std::vector<someType> > myMatrix; Best regards Daniel
6
4321
by: Steven T. Hatton | last post by:
I bought Josuttis's book on the repeated recommendations of people in this newsgroup. http://www.josuttis.com/libbook/ One of the first things I looked up was the std::valarray<>. And what I read is that he questions the worth of the valarray. http://www.cs.bsu.edu/homepages/peb/cplusplus/headers/valarray.htm
4
1968
by: Pat | last post by:
I am looking for some matrix operation C++ library. Any suggestion? Thanks.
13
5847
by: Havatcha | last post by:
Does anyone know of a decent (free/easy to use) C++ library for manipulating matrices and caculating eigenvalues, eigenvectors and so on? I intend to add some Principal Component Analysis functionality to some software. Any recommendations appreciated.
15
13249
by: christopher diggins | last post by:
Here is some code I wrote for Matrix multiplication for arbitrary dimensionality known at compile-time. I am curious how practical it is. For instance, is it common to know the dimensionality of matricies at compile-time? Any help would be appreciated. Hopefully this code comes in useful for someone, let me know if you find it useful, or if...
2
451
by: MrPolite | last post by:
I'm using a 5x5 convolution matrix to do some image processing. (I don't really know much about image processing). I lose 2 pixels from the edges of the image. When I apply any 5x5 matrix in photoshop however, it doesn't lose any pixels around the edges. So I'm wondering what is usually done with the edge pixels when using a convolution...
20
5193
by: Frank-O | last post by:
Hi , Recently I have been commited to the task of "translating" some complex statistical algorithms from Matlab to C++. The goal is to be three times as fast as matlab ( the latest) . I've used various techniques ( loop unrolling, loop jamming...) and tried some matrix libraries : newmat (slow for large matrix) , STL (fast but ..not...
3
2144
by: Holgerson | last post by:
Hi everybody, I wonder if someone knows how to implement an operator* into NRVec and/ or NRMat, respectively, that can perform these kind of operations: Matrix*Vector and Vector*Matrix. Thanks a lot, Holger
6
3761
by: ProtossLee | last post by:
Hi, I am currently working on a project for image processing. a double matrix m1(1300X1000) need to be converted into bitmap and displayed on screen. so far I've made the following code: For i = 1 To 1300 For j = 1 To 1000 Sgl = Matrix(i, j) color = CInt(255 * (Sgl - SglMin) / (SglMax - SglMin))
0
7453
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7647
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7802
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7742
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5958
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4940
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3441
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1007
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
692
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.