]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Tue, 22 Apr 2014 01:27:24 +0000 (01:27 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Tue, 22 Apr 2014 01:27:24 +0000 (01:27 +0000)
MagickCore/matrix.c
MagickCore/matrix.h

index fbb7ecb91f6c74f77a944ee7260933d503d6b553..d0752e4a3f80a02d11814c51aea1bb2f2ff8cc58 100644 (file)
@@ -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"
 \f
 /*
@@ -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);
+}
+\f
+/*
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%                                                                             %
+%                                                                             %
+%                                                                             %
 %   N u l l M a t r i x                                                       %
 %                                                                             %
 %                                                                             %
index de88d2c21cabadfc7ed4162a071edad003f87a6f..97c9afdc16ca1af6b3c4adfad1a74a4c440ecb21 100644 (file)
@@ -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 *),