From: cristy Date: Tue, 22 Apr 2014 01:27:24 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~2428 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3b58c5467446492211df21899498316db723a95;p=imagemagick --- diff --git a/MagickCore/matrix.c b/MagickCore/matrix.c index fbb7ecb91..d0752e4a3 100644 --- a/MagickCore/matrix.c +++ b/MagickCore/matrix.c @@ -50,6 +50,7 @@ #include "MagickCore/pixel-private.h" #include "MagickCore/resource_.h" #include "MagickCore/semaphore.h" +#include "MagickCore/thread-private.h" #include "MagickCore/utility.h" /* @@ -864,6 +865,37 @@ MagickExport void LeastSquaresAddTerms(double **matrix,double **vectors, % % % % % % +% M a t r i x T o I m a g e % +% % +% % +% % +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% MatrixToImage() returns a matrix as an image. +% +% The format of the MatrixToImage method is: +% +% Image *MatrixToImage(const MatrixInfo *matrix_info, +% ExceptionInfo *exception) +% +% A description of each parameter follows: +% +% o matrix_info: the matrix. +% +% o exception: return any errors or warnings in this structure. +% +*/ +MagickExport Image *MatrixToImage(const MatrixInfo *matrix_info, + ExceptionInfo *exception) +{ + return((Image *) NULL); +} + +/* +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% % +% % +% % % N u l l M a t r i x % % % % % diff --git a/MagickCore/matrix.h b/MagickCore/matrix.h index de88d2c21..97c9afdc1 100644 --- a/MagickCore/matrix.h +++ b/MagickCore/matrix.h @@ -29,6 +29,9 @@ extern MagickExport double **AcquireMagickMatrix(const size_t,const size_t), **RelinquishMagickMatrix(double **,const size_t); +extern MagickExport Image + *MatrixToImage(const MatrixInfo *,ExceptionInfo *)); + extern MagickExport MagickBooleanType GetMatrixElement(const MatrixInfo *,const ssize_t,const ssize_t,void *), NullMatrix(MatrixInfo *),