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> vtkImageToStructuredPoints i2sp = new vtkImageToStructuredPoints();<br> i2sp.SetInputConnection(imgMagnitude.GetOutputPort());<br> i2sp.SetVectorInput(pad.GetOutput());<br> i2sp.Update
();<br><br> // subpixel them<br> vtkSubPixelPositionEdgels spe = new vtkSubPixelPositionEdgels();<br> spe.SetInputConnection(gf.GetOutputPort());<br> spe.SetGradMaps(i2sp.GetOutput()); ### here is the error ###
<br><br>-- <br>Dário Oliveira