[vtk-developers] [VTK 0013495]: vtkImageActor image shift

Mantis Bug Tracker mantis at public.kitware.com
Mon Oct 8 08:00:26 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.vtk.org/Bug/view.php?id=13495 
====================================================================== 
Reported By:                Seungbum Koo
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   13495
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   high
Status:                     backlog
Project:                    TBD 
Type:                       incorrect functionality 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-10-08 08:00 EDT
Last Modified:              2012-10-08 08:00 EDT
====================================================================== 
Summary:                    vtkImageActor image shift
Description: 
Image is shifted by one or two pixels in vtkImageActor. It is observed in 5.8.0
and 5.10.0. When I tested it using a color picture then it looks like color
layers shift differently.

Attached is a test result using a 20x10 pixel BMP image (24bit, made in
PhotoShop) with some grids. Left image is the original image and the right image
is the image on vtkImageActor through the following pipeline. You can see a
strangely shifted image.

vtkBMPReader
vtkImageShiftScale
vtkImageShiftScale.SetOutputScalarTypeToUnsignedChar()
vtkImageData
vtkImageActor
vtkImageActor.InterpolateOff()
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-10-08 08:00 Seungbum Koo   New Issue                                    
2012-10-08 08:00 Seungbum Koo   File Added: vtkimageactor_problem.PNG           
        
======================================================================




More information about the vtk-developers mailing list