于imagesc相当于用C? [英] Imagesc equivalent in C?
问题描述
我与真正的448 * 448元素的矩阵工作(签约)的数据,并希望在C显示为灰度图像,因为我用MATLAB做了于imagesc
。谁能告诉我这是最快和最简单的库或code,从C中的矩阵显示器的灰度图像?
Hi I am working with a matrix of 448*448 elements of real(signed) data and wanted to display it as grayscale image in C as i did in MATLAB using imagesc
. Can anyone tell me which is the fastest and easiest library or code to display the grayscale image from the matrix in C?
感谢。
推荐答案
看一看 CIMG 。虽然不是C,但C ++,这应该是能够做到你想要什么。当然,除非C ++是你一个大诺诺。不论它是最快最简单的还是不是我敢自称。你必须明白这一点你自己。
Have a look at CImg. Although not C but C++, that should be able to do what you want. Unless of course C++ is a big nono for you. Whether or not it is fastest or easiest is not something I dare to claim. You'll have to figure that out yourself.
这篇关于于imagesc相当于用C?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!