title: No class weka.filters.unsupervised.instance.imagefilter.BinaryPatternsPyramidFilter can be located on the Java class path
body: <p>I'm using following package for calling Weka functions from within Matlab <a href="https://github.com/NicholasMcCarthy/wekalab" rel="nofollow noreferrer">https://github.com/NicholasMcCarthy/wekalab</a></p>
  
  <p>and my code is</p>
  
  <pre><code>close all; clear all; clc;
  dbstop if error
  
   %%
   javaclasspath('C:\Program Files (x86)\Weka-3-8\weka.jar');
   javaaddpath('C:\Users\PC\wekafiles\packages\imageFilters\imageFilters.jar'); 
  
   %%
   import weka.filters.*
   import weka.filters.Filter.*
   import weka.filters.unsupervised.instance.imagefilter.*
   import weka.filters.unsupervised.instance.imagefilter.BinaryPatternsPyramidFilter.*
   import weka.classifiers.Classifier.*
   import weka.classifiers.functions.SMO.*
   import weka.classifiers.Evaluation.*
   import weka.core.Attribute.*
   import weka.core.FastVector.*
   import weka.core.Instances.*
   import weka.core.DenseInstance.*
   import weka.classifiers.Classifier.*
   import weka.classifiers.Evaluation.*
   import weka.core.converters.ArffLoader.*
   import weka.filters.unsupervised.instance.imagefilter.*
   import weka.core.converters.ConverterUtils.*;
  
    D = wekaLoadData('E:\pro\program\selectedPics\character\test.arff', 'ARFF');
  
    myFilter = wekaFilter('weka.filters.unsupervised.instance.imagefilter.BinaryPatternsPyramidFilter');
  
    filteredData = wekaApplyFilter(D, myFilter);
  </code></pre>
  
  <p>when i use the default filters of weka,</p>
  
  <pre><code>myFilter = wekaFilter('weka.filters.unsupervised.attribute.Standardize');
  </code></pre>
  
  <p>it works fine but when i use the installed package of weka (imageFilters) it give me this error</p>
  
  <pre><code>Error using javaObject
  </code></pre>
  
  <p><em>No class weka.filters.unsupervised.instance.imagefilter.BinaryPatternsPyramidFilter can be located on the Java class path</em></p>
  
  <p><strong>image filter (package) path:</strong> C:\Users\PC\wekafiles\packages\imageFilters</p>
  
  <p><strong>weka path:</strong> C:\Program Files (x86)\Weka-3-8</p>
  
  <p>Environment variable &amp; their paths:</p>
  
  <p>CLASSPATH</p>
  
  <blockquote>
    <p>C:\Program Files (x86)\Weka-3-8\weka.jar; 
    C:\Program Files(x86)\Weka-3-8\imageFilters\imageFilters.jar;
    C:\Users\PC\wekafiles\packages\imageFilters\src\main\java; 
    C:\Users\PC\wekafiles\packages\imageFilters\src\main\java\filters\unsupervised\instance\imagefilter;
    C:\Users\PC\wekafiles\packages\imageFilters\src\main\java\filters\unsupervised\instance; </p>
  </blockquote>
  
  <p>java</p>
  
  <blockquote>
    <p>C:\Program Files\Java\jre1.8.0_181\bin;</p>
  </blockquote>
  
  <p>PATH</p>
  
  <blockquote>
    <p>C:\Program Files\Java\jdk1.8.0_181\bin;</p>
  </blockquote>
  
  <p>PATH_HOME</p>
  
  <blockquote>
    <p>C:\Program Files\Java\jdk1.8.0_181;</p>
  </blockquote>