Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:01:20

0001 /*
0002   Copyright @ 1999 ImageMagick Studio LLC, a non-profit organization
0003   dedicated to making software imaging solutions freely available.
0004   
0005   You may not use this file except in compliance with the License.  You may
0006   obtain a copy of the License at
0007   
0008     https://imagemagick.org/script/license.php
0009   
0010   Unless required by applicable law or agreed to in writing, software
0011   distributed under the License is distributed on an "AS IS" BASIS,
0012   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013   See the License for the specific language governing permissions and
0014   limitations under the License.
0015 
0016   MagickCore feature methods.
0017 */
0018 #ifndef MAGICKCORE_FEATURE_H
0019 #define MAGICKCORE_FEATURE_H
0020 
0021 #if defined(__cplusplus) || defined(c_plusplus)
0022 extern "C" {
0023 #endif
0024 
0025 /*
0026   Haralick texture features.
0027 */
0028 typedef struct _ChannelFeatures
0029 {
0030   double
0031     angular_second_moment[4],
0032     contrast[4],
0033     correlation[4],
0034     variance_sum_of_squares[4],
0035     inverse_difference_moment[4],
0036     sum_average[4],
0037     sum_variance[4],
0038     sum_entropy[4],
0039     entropy[4],
0040     difference_variance[4],
0041     difference_entropy[4],
0042     measure_of_correlation_1[4],
0043     measure_of_correlation_2[4],
0044     maximum_correlation_coefficient[4];
0045 } ChannelFeatures;
0046 
0047 extern MagickExport ChannelFeatures
0048   *GetImageFeatures(const Image *,const size_t,ExceptionInfo *);
0049 
0050 extern MagickExport Image
0051   *CannyEdgeImage(const Image *,const double,const double,const double,
0052     const double,ExceptionInfo *),
0053   *HoughLineImage(const Image *,const size_t,const size_t,const size_t,
0054     ExceptionInfo *),
0055   *MeanShiftImage(const Image *,const size_t,const size_t,const double,
0056     ExceptionInfo *);
0057 
0058 #if defined(__cplusplus) || defined(c_plusplus)
0059 }
0060 #endif
0061 
0062 #endif