Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F593
PicFileReader.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
schwarzt
Aug 27 2010, 7:34 PM
2010-08-27 19:34:16 (UTC+2)
Size
540 B
Referenced Files
None
Subscribers
None
PicFileReader.patch
View Options
Index: mitkPicFileWriter.cpp
===================================================================
--- mitkPicFileWriter.cpp (revision 25778)
+++ mitkPicFileWriter.cpp (working copy)
@@ -59,6 +59,12 @@
Image::Pointer input = const_cast<Image*>(this->GetInput());
+ if ( input.IsNull() )
+ {
+ std::cout << "Nothing to write: Input is NULL." << std::endl;
+ return;
+ }
+
mitkIpPicDescriptor * picImage = input->GetPic();
SlicedGeometry3D* slicedGeometry = input->GetSlicedGeometry();
if (slicedGeometry != NULL)
File Metadata
Details
Attached
Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
568
Default Alt Text
PicFileReader.patch (540 B)
Attached To
Mode
T5253: PicFileWriter does not give any feedback if no Image is set as Input
Attached
Detach File
Event Timeline
•
schwarzt
added a comment.
Aug 27 2010, 7:34 PM
2010-08-27 19:34:16 (UTC+2)
Comment Actions
Warning
Log In to Comment