[vtkusers] Readers read image with some kind of reveral?

ChenDawnWind cybfly1 at hotmail.com
Tue Apr 16 11:45:18 EDT 2013


Hi everyone,when i use the reader such as vtkJPEGReader to read one image file(see attachment) and extract the contour of the img, then read the result output and print the points with OpenCV.Then i found the image was not the way it used to be.In the attachment the original image is number 1, and the contour image is number 2.It is clear that the image reversal in some way.Cause i have to set the point of the contour in the 3D model, with this revesal the calculated center of the white target in the the original image was not suit the reveral image 2.  So i wanna know is there any way to avoid this revesal and to read file as it used to be?
Thanks!
DawnWind.ChenCSU 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130416/a110ef31/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: img.jpg
Type: image/jpeg
Size: 8949 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130416/a110ef31/attachment.jpg>


More information about the vtkusers mailing list