Hi friends.<br>I'm here trying to make the Canny example run in java, bur I had a problem and I haven't found a solution in the mailing list. I don't know if it's a dumb error. In the documentation, the method vtkImageToStructuredPoints.GetOutput
() should return a 
vtkStructuredPoints type, but in reality it's returning a vtkImageData type. <br><br>Does anyone know what's happening? I'd reaaly apreciate any help.<br><br>thanks in advance.<br><br>here is the part of the code where the error is:
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtkImageToStructuredPoints i2sp = new vtkImageToStructuredPoints();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i2sp.SetInputConnection(imgMagnitude.GetOutputPort());<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i2sp.SetVectorInput(pad.GetOutput());<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i2sp.Update
();<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // subpixel them<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; vtkSubPixelPositionEdgels spe = new vtkSubPixelPositionEdgels();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; spe.SetInputConnection(gf.GetOutputPort());<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; spe.SetGradMaps(i2sp.GetOutput());&nbsp; ### here is the error ###
<br><br>-- <br>Dário Oliveira