View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013495 | VTK | (No Category) | public | 2012-10-08 08:00 | 2012-12-04 09:46 | ||||
Reporter | Seungbum Koo | ||||||||
Assigned To | David Gobbi | ||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | unable to reproduce | ||||||
Platform | OS | OS Version | |||||||
Product Version | 5.8.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0013495: 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() | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | ![]() ![]() ![]() | ||||||||
Relationships | |
Relationships |
Notes | |
(0029587) David Gobbi (developer) 2012-10-29 23:25 edited on: 2012-10-29 23:27 |
I cannot reproduce this bug. I grabbed a screenshot of your test image, resized it to 10x20, saved it as a png file, and displayed it with vtkImageActor. The result is shown in imageactor.png. The rendered result is identical to the original image (except for the border, which can be rendered by calling vtkImageActor->GetMapper()->BorderOn()). I suspect that the problem is due to incompatibility between your BMP file and the vtkBMPReader. Try using a different file format (PNG, TIFF, JPEG or PNM). |
Notes |
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 | |
2012-10-29 23:11 | David Gobbi | File Added: imageactor.png | |
2012-10-29 23:25 | David Gobbi | Note Added: 0029587 | |
2012-10-29 23:27 | David Gobbi | Note Edited: 0029587 | |
2012-12-04 09:45 | David Gobbi | Assigned To | => David Gobbi |
2012-12-04 09:45 | David Gobbi | Status | backlog => tabled |
2012-12-04 09:45 | David Gobbi | Status | tabled => closed |
2012-12-04 09:46 | David Gobbi | Resolution | open => unable to reproduce |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |