problem convolving a 3d image - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

problem convolving a 3d image

chaitu_bitschaitu_bits Posts: 1Member
I need to convolve a 3d image with LM filter bank. Here the function lm_classifier returns the LML filter bank of size 49x49x48. a1 is a 3d image of dimensions 25x25x3. I am getting the following error on using conv2()

img1=imread('a1.jpg');
img2=lm_classifier;
>> img1=double(img1);
>> img3=conv2(img2,img1,'valid');
??? Function 'conv2' is not defined for values of class 'double' and attributes 'full 3d real'.

Someone please reply at the earliest;

Comments

Sign In or Register to comment.