dicom + Hessian filter

Hi

i want to read series of dicom and apply the hessian filter but i get an error
when i use hessianFilter->SetInput(reader->GetInput()); because
it does not accept a reader of series of dicoms. I have read the dicoms in
several ways but it does not accept the dicom reader as an input
of the hessian filter

Is there any way to do it?

Thank you

Your code appears to be incorrect, reader->GetInput(), should be:
hessianFilter->SetInput(reader->GetOutput());