From ibr_ex at yahoo.com Thu Sep 1 04:20:24 2016 From: ibr_ex at yahoo.com (Ibraheem) Date: Thu, 1 Sep 2016 01:20:24 -0700 (MST) Subject: [ITK-users] QVtkWidget beginner questions In-Reply-To: References: <1472626890697-37451.post@n7.nabble.com> Message-ID: <1472718024262-37456.post@n7.nabble.com> Many thanks Matt for your response and answers. Matt McCormick-3 wrote >> 1- Is there a way to filter and write all the images at once instead of >> using the for loop? > To write to an image series in general, there is an > itk::ImageSeriesWriter. I tried this: reader->SetFileNames(inputNames->GetInputFileNames() ); // get all slices reader->Update(); // filtering : get threshold filterThresh->SetInput( reader->GetOutput() ); QString thVals=ui->ThVal->text(); int ut= thVals.toInt() ; filterThresh->ThresholdAbove(ut); filterThresh->SetOutsideValue(0); filterThresh->Update(); // Convert to VTK image using ImageToVTKImageFilter vtkImgF->SetInput(filterThresh->GetOutput (sliceID)); but it does not work. With adding sliceID the program crash. Without it, I get only the first slice. How can i get a specific slice from the filter output? Matt McCormick-3 wrote >> 2- Writing the way I did make the output volume lost some origin >> information i.e value, 0,0 . What did I do wrong? > Writing DICOMs (correctly) is currently a very tricky endeavour. There > are currently some experiments underway to make this easier. However, > until that time, it is recommended to use another format, like > MetaImage, for writing files. I will try this later. Matt McCormick-3 wrote >> 3- I read some posts about using QVtkWidget2 and QVtkWidget3 but I >> couldn't find them in my vtk build, is there some options I missed when I >> built vtk? >> 4- How can I display a specific plane instead of the axial slices e.g. >> display a coronal slice. >> 5- How can I get the voxel information when I point in the QVTkWidget? >> I >> am not sure if the mapping I used is correct. > These questions are welcome, but the VTK mailing list is a better > place to discuss these issues. You are right. About question four, isn't it possible to create an itk image from a collected voxels (this is the part I don't know) then convert it to vtk image like I did in the example? Best regards! -- View this message in context: http://itk-users.7.n7.nabble.com/QVtkWidget-beginner-questions-tp37451p37456.html Sent from the ITK - Users mailing list archive at Nabble.com. From matt.mccormick at kitware.com Thu Sep 1 09:45:56 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Thu, 1 Sep 2016 09:45:56 -0400 Subject: [ITK-users] QVtkWidget beginner questions In-Reply-To: <1472718024262-37456.post@n7.nabble.com> References: <1472626890697-37451.post@n7.nabble.com> <1472718024262-37456.post@n7.nabble.com> Message-ID: Hi Ibraheem, On Thu, Sep 1, 2016 at 4:20 AM, Ibraheem via Insight-users wrote: > Many thanks Matt for your response and answers. > > Matt McCormick-3 wrote >>> 1- Is there a way to filter and write all the images at once instead of >>> using the for loop? >> To write to an image series in general, there is an >> itk::ImageSeriesWriter. > > I tried this: > reader->SetFileNames(inputNames->GetInputFileNames() ); // get all > slices > reader->Update(); > // filtering : get threshold > filterThresh->SetInput( reader->GetOutput() ); > QString thVals=ui->ThVal->text(); > int ut= thVals.toInt() ; > filterThresh->ThresholdAbove(ut); > filterThresh->SetOutsideValue(0); > filterThresh->Update(); > // Convert to VTK image using ImageToVTKImageFilter > vtkImgF->SetInput(filterThresh->GetOutput (sliceID)); > but it does not work. With adding sliceID the program crash. Without it, I > get only the first slice. How can i get a specific slice from the filter > output? Briefly reviewing the code, a few suggestions come to mind: - Set all filenames to the ImageSeriesReader (instead of just one) - Call ->UpdateLargestPossibleRegion() at the end of the pipeline instead of just ->Update() when multiple pipeline calls are made to ensure the LargestPossibleRegion is reset in the pipeline. - Check out https://itk.org/Doxygen/html/Examples_2IO_2DicomSeriesReadImageWrite2_8cxx-example.html for another example. > You are right. About question four, isn't it possible to create an itk image > from a collected voxels (this is the part I don't know) then convert it to > vtk image like I did in the example? Yes! More information and tips can be found here: https://blog.kitware.com/how-to-connect-itk-and-vtk-pipelines/ https://itk.org/ITKExamples/src/Bridge/VtkGlue/ConvertAnitkImageTovtkImageData/Documentation.html Hope this helps, Matt From Roy.Harnish at ucsf.edu Thu Sep 1 17:39:42 2016 From: Roy.Harnish at ucsf.edu (Harnish, Roy) Date: Thu, 1 Sep 2016 21:39:42 +0000 Subject: [ITK-users] PyBuffer memory consumption Message-ID: Hi, I'm resurrecting a thread that I ran across trying to debug what looks to be a memory leak when using PyBuffer: https://itk.org/pipermail/insight-users/2009-May/030386.html If I repeatedly assign the output of itk.PyBuffer[ImageType].GetImageFromArray() to the same python variable name, more and more memory is consumed by the process. Wondering if anyone knows how to get this memory released? Here's some example code based on the linked thread that should reproduce the problem: import itk import numpy as np import resource M = [] for i in range(200): M.append(resource.getrusage(resource.RUSAGE_SELF).ru_maxrss) ImageType = itk.Image[itk.D, 3] converter = itk.PyBuffer[ImageType] inputNumpyVolume = np.ones((100, 100, 100)) inputVolume = converter.GetImageFromArray(inputNumpyVolume) # inputVolume.Delete() print M Any suggestions much appreciated. Roy -------------- next part -------------- An HTML attachment was scrubbed... URL: From Roy.Harnish at ucsf.edu Thu Sep 1 18:44:27 2016 From: Roy.Harnish at ucsf.edu (Harnish, Roy) Date: Thu, 1 Sep 2016 22:44:27 +0000 Subject: [ITK-users] PyBuffer memory consumption In-Reply-To: References: Message-ID: Hi Again, I've played with it more and have another example that shows differences in memory usage depending on the interplay between calls to numpy.ones() and converter.GetImageFromArray(inputNumpyVolume): import itk import numpy as np import resource import matplotlib.pyplot as plt ImageType = itk.Image[itk.D, 3] converter = itk.PyBuffer[ImageType] # adding +1 to numpy created once inputNumpyVolume = np.ones([100,100,100]) M = [] n = 10 for i in range(n): inputNumpyVolume += 1 inputVolume = converter.GetImageFromArray(inputNumpyVolume) M.append(resource.getrusage(resource.RUSAGE_SELF).ru_maxrss) X = range(n) plt.plot(X,M,'o', color='red') # creating new numpy volume each time M = [] for i in range(n): inputNumpyVolume = np.ones([100,100,100]) inputVolume = converter.GetImageFromArray(inputNumpyVolume) M.append(resource.getrusage(resource.RUSAGE_SELF).ru_maxrss) X = [x + n for x in range(n)] plt.plot(X,M,'o', color='green') # creating new numpy volume but not calling converter.GetImageFromArray(inputNumpyVolume) M = [] for i in range(n): inputNumpyVolume = np.ones([100,100,100]) M.append(resource.getrusage(resource.RUSAGE_SELF).ru_maxrss) X = [x + 2*n for x in range(n)] plt.plot(X,M,'o', color='blue') plt.savefig("PyBufferMem.png") plt.show() Thanks for taking a look. Roy ________________________________ From: Insight-users [insight-users-bounces at itk.org] on behalf of Harnish, Roy [Roy.Harnish at ucsf.edu] Sent: Thursday, September 01, 2016 2:39 PM To: insight-users at itk.org Subject: [ITK-users] PyBuffer memory consumption Hi, I'm resurrecting a thread that I ran across trying to debug what looks to be a memory leak when using PyBuffer: https://itk.org/pipermail/insight-users/2009-May/030386.html If I repeatedly assign the output of itk.PyBuffer[ImageType].GetImageFromArray() to the same python variable name, more and more memory is consumed by the process. Wondering if anyone knows how to get this memory released? Here's some example code based on the linked thread that should reproduce the problem: import itk import numpy as np import resource M = [] for i in range(200): M.append(resource.getrusage(resource.RUSAGE_SELF).ru_maxrss) ImageType = itk.Image[itk.D, 3] converter = itk.PyBuffer[ImageType] inputNumpyVolume = np.ones((100, 100, 100)) inputVolume = converter.GetImageFromArray(inputNumpyVolume) # inputVolume.Delete() print M Any suggestions much appreciated. Roy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PyBufferMem.png Type: image/png Size: 13455 bytes Desc: PyBufferMem.png URL: From dominik.hofer at gmail.com Mon Sep 5 10:00:20 2016 From: dominik.hofer at gmail.com (dominik) Date: Mon, 5 Sep 2016 07:00:20 -0700 (MST) Subject: [ITK-users] SimpleITK GetGDCMSeriesFileNames() useSeriesDetails not found Message-ID: <1473084020088-7589159.post@n2.nabble.com> Hey guys, I've been trying to open a multi-series DICOM file in SimpleITK, but when I try to execute GetGDCMSeriesFileNames it throws this error: GetGDCMSeriesFileNames() got an unexpected keyword argument 'useSeriesDetails' in the docs it clearly says that this is a parameters for this function. My code is as follows: reader = sitk.ImageSeriesReader() dicom_seriesIDs = reader.GetGDCMSeriesIDs(path_dce) dicom_names = reader.GetGDCMSeriesFileNames(path_dce, dicom_seriesIDs[20], useSeriesDetails=True) The version of SimpleITK is 0.9.1 When I try to execute the function without useSeriesDetails, it always takes the first series from the DICOM file, regardless of the ID. Does anyone know this problem or any other way to load multiple-series DICOM files? Cheers! -- View this message in context: http://itk-insight-users.2283740.n2.nabble.com/SimpleITK-GetGDCMSeriesFileNames-useSeriesDetails-not-found-tp7589159.html Sent from the ITK Insight Users mailing list archive at Nabble.com. From tammy.diprima at stonybrook.edu Mon Sep 5 13:31:58 2016 From: tammy.diprima at stonybrook.edu (Tammy Diprima) Date: Mon, 5 Sep 2016 13:31:58 -0400 Subject: [ITK-users] Convert ITK image to cv::Mat image Message-ID: Greetings! Hope everyone is having a good day... So... we are passing around a grayscale image... and we're using unsigned in (as opposed to unsigned char): typedef itk::Image itkUIntImageType; typedef itkUIntImageType itkLabelImageType; I need to convert it to cv::Mat in order to pass it to another program: cv::Mat resultImage = itk::OpenCVImageBridge::ITKImageToCVMat< itkLabelImageType >( m_objectLabelImage ); The problem is, the compiler is telling me "OpenCV does not support the input pixel type". So my question is -- is this true? Can I only convert from unsigned char? Would a good solution be to: A) Convert from one pixel type to another, or B) Or can I just read in the m_objectLabelImage to an Image::Pointer thing that is of type unsigned char? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Mon Sep 5 15:07:07 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Mon, 5 Sep 2016 15:07:07 -0400 Subject: [ITK-users] Convert ITK image to cv::Mat image In-Reply-To: References: Message-ID: Hi Tammy, the docs list unsigned short and int, but not unsigned int. I don't know whether this int is equal to short or long. But from \ITK-git\Modules\Video\BridgeOpenCV\include\itkOpenCVImageBridge.hxx, line 50 these are supported cases: IPL_DEPTH_8U IPL_DEPTH_8S IPL_DEPTH_16U IPL_DEPTH_16S IPL_DEPTH_32F IPL_DEPTH_64F To convert to 16U (which is closest to your 32U), you should use cast filter (that's your option A). Regards, D?enan On Mon, Sep 5, 2016 at 1:31 PM, Tammy Diprima wrote: > Greetings! Hope everyone is having a good day... > > So... we are passing around a grayscale image... and we're using unsigned > in (as opposed to unsigned char): > typedef itk::Image itkUIntImageType; > typedef itkUIntImageType itkLabelImageType; > > I need to convert it to cv::Mat in order to pass it to another program: > cv::Mat resultImage = itk::OpenCVImageBridge::ITKImageToCVMat< > itkLabelImageType >( m_objectLabelImage ); > > The problem is, the compiler is telling me "OpenCV does not support the > input pixel type". > > So my question is -- is this true? Can I only convert from unsigned char? > Would a good solution be to: > A) Convert from one pixel type to another, or > B) Or can I just read in the m_objectLabelImage to an Image::Pointer > thing that is of type unsigned char? > > Thanks! > > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From weiliu620 at gmail.com Mon Sep 5 17:25:38 2016 From: weiliu620 at gmail.com (Wei Liu) Date: Mon, 5 Sep 2016 17:25:38 -0400 Subject: [ITK-users] Open surface mesh construction from feature map Message-ID: Hi ITK users, I'm trying to detect (possibly multiple) open surface in a 3D volume. Suppose I have a filter that give me a 3D feature map (e.g. the probability of each voxel being on the surface), where should I go from this feature map to construct smooth open surfaces? I did some search. It seems most of existing examples construct isosurface mesh from a binary volume (or distance map from it). The binary volume usually has a closed surface on the object boundary, so it is different from my problem of open surface. I can probably calculate the normal of the surface at each voxel, if that helps. I guess I should do some skeleton extraction and get a 'thin' set of voxels on the surface, and use some filters in ITK or VTK(new to VTK but willing to learn if necessary) to convert binary volumes to surface meshes, and do some smoothing, filling holes etc. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From brad at lowekamp.net Mon Sep 5 18:26:19 2016 From: brad at lowekamp.net (Bradley Lowekamp) Date: Mon, 5 Sep 2016 18:26:19 -0400 Subject: [ITK-users] SimpleITK GetGDCMSeriesFileNames() useSeriesDetails not found In-Reply-To: <1473084020088-7589159.post@n2.nabble.com> References: <1473084020088-7589159.post@n2.nabble.com> Message-ID: Hello, There is a SWIG problem with using overloaded functions with keyword arguments. Please try to just use positional argument and not keyword. Also note SimpleITK 0.10 has been released. HTH Brad > On Sep 5, 2016, at 10:00 AM, dominik wrote: > > Hey guys, > > I've been trying to open a multi-series DICOM file in SimpleITK, but when I > try to execute GetGDCMSeriesFileNames it throws this error: > > GetGDCMSeriesFileNames() got an unexpected keyword argument > 'useSeriesDetails' > > in the docs it clearly says that this is a parameters for this function. > > My code is as follows: > > reader = sitk.ImageSeriesReader() > dicom_seriesIDs = reader.GetGDCMSeriesIDs(path_dce) > dicom_names = reader.GetGDCMSeriesFileNames(path_dce, dicom_seriesIDs[20], > useSeriesDetails=True) > > The version of SimpleITK is 0.9.1 > > When I try to execute the function without useSeriesDetails, it always takes > the first series from the DICOM file, regardless of the ID. > > Does anyone know this problem or any other way to load multiple-series DICOM > files? > > Cheers! > > > > -- > View this message in context: http://itk-insight-users.2283740.n2.nabble.com/SimpleITK-GetGDCMSeriesFileNames-useSeriesDetails-not-found-tp7589159.html > Sent from the ITK Insight Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users From tammy.diprima at stonybrook.edu Mon Sep 5 18:46:47 2016 From: tammy.diprima at stonybrook.edu (Tammy Diprima) Date: Mon, 5 Sep 2016 18:46:47 -0400 Subject: [ITK-users] Convert ITK image to cv::Mat image In-Reply-To: References: Message-ID: Hi D?enan, Yes, that makes sense. Thanks very much for your help. - Tammy On 5 September 2016 at 15:07, D?enan Zuki? wrote: > Hi Tammy, > > the docs > list > unsigned short and int, but not unsigned int. I don't know whether this int > is equal to short or long. But from \ITK-git\Modules\Video\ > BridgeOpenCV\include\itkOpenCVImageBridge.hxx, line 50 these are > supported cases: > IPL_DEPTH_8U > IPL_DEPTH_8S > IPL_DEPTH_16U > IPL_DEPTH_16S > IPL_DEPTH_32F > IPL_DEPTH_64F > > To convert to 16U (which is closest to your 32U), you should use cast > filter (that's > your option A). > > Regards, > D?enan > > On Mon, Sep 5, 2016 at 1:31 PM, Tammy wrote: > >> Greetings! Hope everyone is having a good day... >> >> So... we are passing around a grayscale image... and we're using unsigned >> int (as opposed to unsigned char): >> typedef itk::Image itkUIntImageType; >> typedef itkUIntImageType itkLabelImageType; >> >> I need to convert it to cv::Mat in order to pass it to another program: >> cv::Mat resultImage = itk::OpenCVImageBridge::ITKImageToCVMat< >> itkLabelImageType >( m_objectLabelImage ); >> >> The problem is, the compiler is telling me "OpenCV does not support the >> input pixel type". >> >> So my question is -- is this true? Can I only convert from unsigned char? >> Would a good solution be to: >> A) Convert from one pixel type to another, or >> B) Or can I just read in the m_objectLabelImage to an Image::Pointer >> thing that is of type unsigned char? >> >> Thanks! >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From franciscolopezdelafranca at gmail.com Tue Sep 6 03:29:33 2016 From: franciscolopezdelafranca at gmail.com (Francisco Lopez de la Franca) Date: Tue, 6 Sep 2016 09:29:33 +0200 Subject: [ITK-users] Unsubscription request does not work Message-ID: Hi everybody, I'm trying to unsubscribe from the ITK mailing list from https://itk.org/mailman/options/community I enter my e-mail address and press the 'unsubscribe' button and the message 'the confirmation message has been sent' is returned, but it never arrives to my e-mail box. Please, does anyone know another way to unsubscribe from the list? Thank you very much. Regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Tue Sep 6 08:56:08 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Tue, 6 Sep 2016 08:56:08 -0400 Subject: [ITK-users] Unsubscription request does not work In-Reply-To: References: Message-ID: Hi Francisco, have you checked your spam folder? Have you tried logging into mailman before clicking unsubscribe? Regards, D?enan On Tue, Sep 6, 2016 at 3:29 AM, Francisco Lopez de la Franca < franciscolopezdelafranca at gmail.com> wrote: > Hi everybody, > I'm trying to unsubscribe from the ITK mailing list from > https://itk.org/mailman/options/community > I enter my e-mail address and press the 'unsubscribe' button and the > message 'the confirmation message has been sent' is returned, but it never > arrives to my e-mail box. > Please, does anyone know another way to unsubscribe from the list? > Thank you very much. > Regards. > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Tue Sep 6 09:17:13 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Tue, 6 Sep 2016 09:17:13 -0400 Subject: [ITK-users] Open surface mesh construction from feature map In-Reply-To: References: Message-ID: Hi Wei, you should calculate the peak of your probability so you have "thin" layer of voxels representing your surface. Coupled with the knowledge of the normal, it would then be only the matter of determining connectivity for the voxels to generate triangles of the mesh. And yes, you should use VTK for mesh storage and later filtering (such as smoothing). You could look at Canny filter 's source code for an example in ITK of how to do thinning. HTH, D?enan On Mon, Sep 5, 2016 at 5:25 PM, Wei Liu wrote: > Hi ITK users, > > I'm trying to detect (possibly multiple) open surface in a 3D volume. > Suppose I have a filter that give me a 3D feature map (e.g. the probability > of each voxel being on the surface), where should I go from this feature > map to construct smooth open surfaces? > > I did some search. It seems most of existing examples construct isosurface > mesh from a binary volume (or distance map from it). The binary volume > usually has a closed surface on the object boundary, so it is different > from my problem of open surface. > > I can probably calculate the normal of the surface at each voxel, if that > helps. > > I guess I should do some skeleton extraction and get a 'thin' set of > voxels on the surface, and use some filters in ITK or VTK(new to VTK but > willing to learn if necessary) to convert binary volumes to surface meshes, > and do some smoothing, filling holes etc. > > Thanks! > > > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From franciscolopezdelafranca at gmail.com Wed Sep 7 01:37:08 2016 From: franciscolopezdelafranca at gmail.com (Francisco Lopez de la Franca) Date: Wed, 7 Sep 2016 07:37:08 +0200 Subject: [ITK-users] Unsubscription request does not work In-Reply-To: References: Message-ID: Hi Dzenan, It does not arrive in the spam folder either. The problem on logging is that I try to do it and do not remember the password. I try the reminder option to reset my password and the message does not arrive either. That's why I only want to unsubscribe. I donot know if sending a typical e-mail with UNSUBSCRIBE subject or something like that could work. Thanks. 2016-09-06 14:56 GMT+02:00 dzenanz [via ITK Insight Users] < ml-node+s2283740n7589166h81 at n2.nabble.com>: > Hi Francisco, > > have you checked your spam folder? Have you tried logging into mailman > before clicking unsubscribe? > > Regards, > D?enan > > On Tue, Sep 6, 2016 at 3:29 AM, Francisco Lopez de la Franca <[hidden > email] > wrote: > >> Hi everybody, >> I'm trying to unsubscribe from the ITK mailing list from >> https://itk.org/mailman/options/community >> I enter my e-mail address and press the 'unsubscribe' button and the >> message 'the confirmation message has been sent' is returned, but it never >> arrives to my e-mail box. >> Please, does anyone know another way to unsubscribe from the list? >> Thank you very much. >> Regards. >> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> >> > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://itk-insight-users.2283740.n2.nabble.com/ITK- > users-Unsubscription-request-does-not-work-tp7589165p7589166.html > To start a new topic under ITK Insight Users, email > ml-node+s2283740n2283740h75 at n2.nabble.com > To unsubscribe from ITK Insight Users, click here > > . > NAML > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From franciscolopezdelafranca at gmail.com Wed Sep 7 01:37:29 2016 From: franciscolopezdelafranca at gmail.com (=?UTF-8?Q?Francisco_L=C3=B3pez-Franca?=) Date: Tue, 6 Sep 2016 22:37:29 -0700 (MST) Subject: [ITK-users] Unsubscription request does not work In-Reply-To: References: Message-ID: Hi Dzenan, It does not arrive in the spam folder either. The problem on logging is that I try to do it and do not remember the password. I try the reminder option to reset my password and the message does not arrive either. That's why I only want to unsubscribe. I donot know if sending a typical e-mail with UNSUBSCRIBE subject or something like that could work. Thanks. 2016-09-06 14:56 GMT+02:00 dzenanz [via ITK Insight Users] < ml-node+s2283740n7589166h81 at n2.nabble.com>: > Hi Francisco, > > have you checked your spam folder? Have you tried logging into mailman > before clicking unsubscribe? > > Regards, > D?enan > > On Tue, Sep 6, 2016 at 3:29 AM, Francisco Lopez de la Franca <[hidden > email] > wrote: > >> Hi everybody, >> I'm trying to unsubscribe from the ITK mailing list from >> https://itk.org/mailman/options/community >> I enter my e-mail address and press the 'unsubscribe' button and the >> message 'the confirmation message has been sent' is returned, but it never >> arrives to my e-mail box. >> Please, does anyone know another way to unsubscribe from the list? >> Thank you very much. >> Regards. >> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> >> > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > http://itk-insight-users.2283740.n2.nabble.com/ITK- > users-Unsubscription-request-does-not-work-tp7589165p7589166.html > To start a new topic under ITK Insight Users, email > ml-node+s2283740n2283740h75 at n2.nabble.com > To unsubscribe from ITK Insight Users, click here > > . > NAML > > -- View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Unsubscription-request-does-not-work-tp7589165p7589168.html Sent from the ITK Insight Users mailing list archive at Nabble.com. From matt.mccormick at kitware.com Wed Sep 7 11:13:25 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Wed, 7 Sep 2016 11:13:25 -0400 Subject: [ITK-users] Unsubscription request does not work In-Reply-To: References: Message-ID: Hi Francisco, Make sure to send the request to the "insight-users" list (the one to which you are currently posting). The unsubscribe link is in the footer: http://public.kitware.com/mailman/listinfo/insight-users HTH, Matt On Wed, Sep 7, 2016 at 1:37 AM, Francisco L?pez-Franca wrote: > Hi Dzenan, > It does not arrive in the spam folder either. > The problem on logging is that I try to do it and do not remember the > password. I try the reminder option to reset my password and the message > does not arrive either. That's why I only want to unsubscribe. > I donot know if sending a typical e-mail with UNSUBSCRIBE subject or > something like that could work. > Thanks. > > 2016-09-06 14:56 GMT+02:00 dzenanz [via ITK Insight Users] < > ml-node+s2283740n7589166h81 at n2.nabble.com>: > >> Hi Francisco, >> >> have you checked your spam folder? Have you tried logging into mailman >> before clicking unsubscribe? >> >> Regards, >> D?enan >> >> On Tue, Sep 6, 2016 at 3:29 AM, Francisco Lopez de la Franca <[hidden >> email] > wrote: >> >>> Hi everybody, >>> I'm trying to unsubscribe from the ITK mailing list from >>> https://itk.org/mailman/options/community >>> I enter my e-mail address and press the 'unsubscribe' button and the >>> message 'the confirmation message has been sent' is returned, but it never >>> arrives to my e-mail box. >>> Please, does anyone know another way to unsubscribe from the list? >>> Thank you very much. >>> Regards. >>> >>> _____________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Kitware offers ITK Training Courses, for more information visit: >>> http://www.kitware.com/products/protraining.php >>> >>> Please keep messages on-topic and check the ITK FAQ at: >>> http://www.itk.org/Wiki/ITK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/insight-users >>> >>> >> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> >> >> ------------------------------ >> If you reply to this email, your message will be added to the discussion >> below: >> http://itk-insight-users.2283740.n2.nabble.com/ITK- >> users-Unsubscription-request-does-not-work-tp7589165p7589166.html >> To start a new topic under ITK Insight Users, email >> ml-node+s2283740n2283740h75 at n2.nabble.com >> To unsubscribe from ITK Insight Users, click here >> >> . >> NAML >> >> > > > > > -- > View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ITK-users-Unsubscription-request-does-not-work-tp7589165p7589168.html > Sent from the ITK Insight Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users From weiliu620 at gmail.com Wed Sep 7 11:43:19 2016 From: weiliu620 at gmail.com (Wei Liu) Date: Wed, 7 Sep 2016 11:43:19 -0400 Subject: [ITK-users] Open surface mesh construction from feature map In-Reply-To: References: Message-ID: D?enan, thanks for the reply. I have no experience in mesh generation or surface construction, so I try to use filters in ITK/VTK. vtkDelaunay3D seems for closed surface. Do you know any filter for open surface? >From your email it seems straightforward to generate mesh given point clouds with normal vectors. I don't trust my own implementation, but I'll give it a try if I couldn't find any filters. Do you know any papers, or example implementations, either inside or outside of ITK community? Thanks again, On Tue, Sep 6, 2016 at 9:17 AM, D?enan Zuki? wrote: > Hi Wei, > > you should calculate the peak of your probability so you have "thin" layer > of voxels representing your surface. Coupled with the knowledge of the > normal, it would then be only the matter of determining connectivity for > the voxels to generate triangles of the mesh. And yes, you should use VTK > for mesh storage and later filtering (such as smoothing). > > You could look at Canny filter > 's > source code for an example in ITK of how to do thinning. > > HTH, > D?enan > > On Mon, Sep 5, 2016 at 5:25 PM, Wei Liu wrote: > >> Hi ITK users, >> >> I'm trying to detect (possibly multiple) open surface in a 3D volume. >> Suppose I have a filter that give me a 3D feature map (e.g. the probability >> of each voxel being on the surface), where should I go from this feature >> map to construct smooth open surfaces? >> >> I did some search. It seems most of existing examples construct >> isosurface mesh from a binary volume (or distance map from it). The binary >> volume usually has a closed surface on the object boundary, so it is >> different from my problem of open surface. >> >> I can probably calculate the normal of the surface at each voxel, if that >> helps. >> >> I guess I should do some skeleton extraction and get a 'thin' set of >> voxels on the surface, and use some filters in ITK or VTK(new to VTK but >> willing to learn if necessary) to convert binary volumes to surface meshes, >> and do some smoothing, filling holes etc. >> >> Thanks! >> >> >> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From will.schroeder at kitware.com Wed Sep 7 11:47:25 2016 From: will.schroeder at kitware.com (Will Schroeder) Date: Wed, 7 Sep 2016 11:47:25 -0400 Subject: [ITK-users] Open surface mesh construction from feature map In-Reply-To: References: Message-ID: Wei- FYI- I have an initial implementation in a VTK remote module (vtkPointCloud) of an isosurface algorithm that can generate open surfaces (typically from truncated distance functions). If you have some data I can use it for testing and debugging purposes.... Best, W On Wed, Sep 7, 2016 at 11:43 AM, Wei Liu wrote: > D?enan, thanks for the reply. I have no experience in mesh generation or > surface construction, so I try to use filters in ITK/VTK. > > vtkDelaunay3D seems for closed surface. Do you know any filter for open > surface? > > From your email it seems straightforward to generate mesh given point > clouds with normal vectors. I don't trust my own implementation, but I'll > give it a try if I couldn't find any filters. Do you know any papers, or > example implementations, either inside or outside of ITK community? > > Thanks again, > > On Tue, Sep 6, 2016 at 9:17 AM, D?enan Zuki? wrote: > >> Hi Wei, >> >> you should calculate the peak of your probability so you have "thin" >> layer of voxels representing your surface. Coupled with the knowledge of >> the normal, it would then be only the matter of determining connectivity >> for the voxels to generate triangles of the mesh. And yes, you should use >> VTK for mesh storage and later filtering (such as smoothing). >> >> You could look at Canny filter >> 's >> source code for an example in ITK of how to do thinning. >> >> HTH, >> D?enan >> >> On Mon, Sep 5, 2016 at 5:25 PM, Wei Liu wrote: >> >>> Hi ITK users, >>> >>> I'm trying to detect (possibly multiple) open surface in a 3D volume. >>> Suppose I have a filter that give me a 3D feature map (e.g. the probability >>> of each voxel being on the surface), where should I go from this feature >>> map to construct smooth open surfaces? >>> >>> I did some search. It seems most of existing examples construct >>> isosurface mesh from a binary volume (or distance map from it). The binary >>> volume usually has a closed surface on the object boundary, so it is >>> different from my problem of open surface. >>> >>> I can probably calculate the normal of the surface at each voxel, if >>> that helps. >>> >>> I guess I should do some skeleton extraction and get a 'thin' set of >>> voxels on the surface, and use some filters in ITK or VTK(new to VTK but >>> willing to learn if necessary) to convert binary volumes to surface meshes, >>> and do some smoothing, filling holes etc. >>> >>> Thanks! >>> >>> >>> >>> _____________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Kitware offers ITK Training Courses, for more information visit: >>> http://www.kitware.com/products/protraining.php >>> >>> Please keep messages on-topic and check the ITK FAQ at: >>> http://www.itk.org/Wiki/ITK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/insight-users >>> >>> >> > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > -- William J. Schroeder, PhD Kitware, Inc. - Building the World's Technical Computing Software 28 Corporate Drive Clifton Park, NY 12065 will.schroeder at kitware.com http://www.kitware.com (518) 881-4902 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mattghall at gmail.com Wed Sep 7 12:00:56 2016 From: mattghall at gmail.com (soolijoo) Date: Wed, 7 Sep 2016 09:00:56 -0700 (MST) Subject: [ITK-users] Linker problems since Ubuntu 16.04 upgrade Message-ID: <1473264056179-7589172.post@n2.nabble.com> Hi, I've just upgraded to Ubuntu 16.04 from 14.04 and am having some strange linker problems with my code. Using the same CMakeLists.txt as previously the compiler is finding the ITK headers but the build fails during the linking phase. This is happening even for extremely simple, hello world type examples. For example the following code: #include "itkImage.h" #include int main(int argc, char** argv){ typedef itk::Image ImageType; ImageType::Pointer image = ImageType::New(); std::cout << "Hey there, ITK!" << std::endl; return 0; } with this CMakeLists.txt file: cmake_minimum_required(VERSION 2.8) project(SimpleMutInfo) find_package(ITK REQUIRED) include(${ITK_USE_FILE}) if(ITKVtGlue_LOADED) find_package(VTK REQUIRED) include(${VTK_USE_FILE}) endif() add_executable(SimpleMutInfo simpleMutInfo.cpp) MESSAGE(${ITK_LIBRARIES}) MESSAGE(${CMAKE_INSTALL_PREFIX}) MESSAGE(${ITK_DIR}) if( "${ITK_VERSION_MAJOR}" LESS 4 ) target_link_libraries(SimpleMutInfo ITKReview ${ITK_LIBRARIES}) else( "${ITK_VERSION_MAJOR}" LESS 4 ) target_link_libraries(SimpleMutInfo ${ITK_LIBRARIES}) endif( "${ITK_VERSION_MAJOR}" LESS 4 ) completes the cmake apparently correctly: -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/matt/CodingProjects/sandbox/mutInfo/itk/helloItk but gives the following compiler error: Scanning dependencies of target HelloItk [ 50%] Building CXX object CMakeFiles/HelloItk.dir/helloItk.cpp.o [100%] Linking CXX executable HelloItk CMakeFiles/HelloItk.dir/helloItk.cpp.o: In function `itk::MemoryAllocationError::MemoryAllocationError(std::__cxx11::basic_string, std::allocator > const&, unsigned int, std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&)': helloItk.cpp:(.text._ZN3itk21MemoryAllocationErrorC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjS8_S8_[_ZN3itk21MemoryAllocationErrorC5ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjS8_S8_]+0x35): undefined reference to `itk::ExceptionObject::ExceptionObject(std::__cxx11::basic_string, std::allocator > const&, unsigned int, std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&)' collect2: error: ld returned 1 exit status CMakeFiles/HelloItk.dir/build.make:204: recipe for target 'HelloItk' failed make[2]: *** [HelloItk] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/HelloItk.dir/all' failed make[1]: *** [CMakeFiles/HelloItk.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 I've confirmed that the i've installed all four ubuntu packages mentioned here: https://blog.kitware.com/itk-packages-in-linux-distributions/ (including the python bindings) The itk libs seem to be in /usr/local/lib but for some reason the linker isn't seeing them. Anyone got any ideas? -- View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Linker-problems-since-Ubuntu-16-04-upgrade-tp7589172.html Sent from the ITK Insight Users mailing list archive at Nabble.com. From blowekamp at mail.nih.gov Wed Sep 7 12:13:24 2016 From: blowekamp at mail.nih.gov (Lowekamp, Bradley (NIH/NLM/LHC) [C]) Date: Wed, 7 Sep 2016 16:13:24 +0000 Subject: [ITK-users] Linker problems since Ubuntu 16.04 upgrade In-Reply-To: <1473264056179-7589172.post@n2.nabble.com> References: <1473264056179-7589172.post@n2.nabble.com> Message-ID: <7A6B8EFF-F1FF-4B50-BF84-422CC10AB97F@mail.nih.gov> Hello, You are using the installed Ubuntu version? Because I see ?cxx11? in the string symbol below, I think there may be a miss match between the C++ versions used to compile ITK and what you use here in this example. I would try to determine which compiler and flags your ubuntu version of ITK was compiled with and try to use the same. Alternatively, you could just compile ITK from source. HTH, Brad > On Sep 7, 2016, at 12:00 PM, soolijoo wrote: > > Hi, > > I've just upgraded to Ubuntu 16.04 from 14.04 and am having some strange > linker problems with my code. > > Using the same CMakeLists.txt as previously the compiler is finding the ITK > headers but the build fails during the linking phase. This is happening even > for extremely simple, hello world type examples. For example the following > code: > > #include "itkImage.h" > #include > > int main(int argc, char** argv){ > > typedef itk::Image ImageType; > > ImageType::Pointer image = ImageType::New(); > > std::cout << "Hey there, ITK!" << std::endl; > > return 0; > > } > > > with this CMakeLists.txt file: > > cmake_minimum_required(VERSION 2.8) > > project(SimpleMutInfo) > > find_package(ITK REQUIRED) > include(${ITK_USE_FILE}) > if(ITKVtGlue_LOADED) > find_package(VTK REQUIRED) > include(${VTK_USE_FILE}) > endif() > > add_executable(SimpleMutInfo simpleMutInfo.cpp) > > MESSAGE(${ITK_LIBRARIES}) > > MESSAGE(${CMAKE_INSTALL_PREFIX}) > MESSAGE(${ITK_DIR}) > > if( "${ITK_VERSION_MAJOR}" LESS 4 ) > target_link_libraries(SimpleMutInfo ITKReview ${ITK_LIBRARIES}) > else( "${ITK_VERSION_MAJOR}" LESS 4 ) > target_link_libraries(SimpleMutInfo ${ITK_LIBRARIES}) > endif( "${ITK_VERSION_MAJOR}" LESS 4 ) > > > completes the cmake apparently correctly: > -- The C compiler identification is GNU 5.4.0 > -- The CXX compiler identification is GNU 5.4.0 > -- Check for working C compiler: /usr/bin/cc > -- Check for working C compiler: /usr/bin/cc -- works > -- Detecting C compiler ABI info > -- Detecting C compiler ABI info - done > -- Detecting C compile features > -- Detecting C compile features - done > -- Check for working CXX compiler: /usr/bin/c++ > -- Check for working CXX compiler: /usr/bin/c++ -- works > -- Detecting CXX compiler ABI info > -- Detecting CXX compiler ABI info - done > -- Detecting CXX compile features > -- Detecting CXX compile features - done > -- Configuring done > -- Generating done > -- Build files have been written to: > /home/matt/CodingProjects/sandbox/mutInfo/itk/helloItk > > > but gives the following compiler error: > Scanning dependencies of target HelloItk > [ 50%] Building CXX object CMakeFiles/HelloItk.dir/helloItk.cpp.o > [100%] Linking CXX executable HelloItk > CMakeFiles/HelloItk.dir/helloItk.cpp.o: In function > `itk::MemoryAllocationError::MemoryAllocationError(std::__cxx11::basic_string std::char_traits<char>, std::allocator > const&, unsigned int, > std::__cxx11::basic_string, > std::allocator > const&, std::__cxx11::basic_string std::char_traits<char>, std::allocator > const&)': > helloItk.cpp:(.text._ZN3itk21MemoryAllocationErrorC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjS8_S8_[_ZN3itk21MemoryAllocationErrorC5ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjS8_S8_]+0x35): > undefined reference to > `itk::ExceptionObject::ExceptionObject(std::__cxx11::basic_string std::char_traits<char>, std::allocator > const&, unsigned int, > std::__cxx11::basic_string, > std::allocator > const&, std::__cxx11::basic_string std::char_traits<char>, std::allocator > const&)' > collect2: error: ld returned 1 exit status > CMakeFiles/HelloItk.dir/build.make:204: recipe for target 'HelloItk' failed > make[2]: *** [HelloItk] Error 1 > CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/HelloItk.dir/all' > failed > make[1]: *** [CMakeFiles/HelloItk.dir/all] Error 2 > Makefile:83: recipe for target 'all' failed > make: *** [all] Error 2 > > > I've confirmed that the i've installed all four ubuntu packages mentioned > here: > https://blog.kitware.com/itk-packages-in-linux-distributions/ > (including the python bindings) > > The itk libs seem to be in /usr/local/lib but for some reason the linker > isn't seeing them. > > Anyone got any ideas? > > > > > > > > > -- > View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Linker-problems-since-Ubuntu-16-04-upgrade-tp7589172.html > Sent from the ITK Insight Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users From grothausmann.roman at mh-hannover.de Thu Sep 8 06:36:40 2016 From: grothausmann.roman at mh-hannover.de (Grothausmann, Roman Dr.) Date: Thu, 8 Sep 2016 12:36:40 +0200 Subject: [ITK-users] Testing ITK/VTK/PV contributions with (kitware) Gitlab-CI Message-ID: Dear mailing list members, Just getting to know Gitlab-CI, I am wondering whether it is possible to test contributions to ITK/VTK/PV with Gitlab-CI from gitlab.com or gitlab.kitware.com. As far as I understand, this basically needs runners, in this case specific to ITK/VTK/PV. Since kitware has done CI even before the use of gitlab, I wonder if the former testing environments are available for use with Gitlab-CI and if so how to use them. For example, none of my contributions to the ITK/VTK/Midas Journals got into the testing phase even though marked for testing during submission. So a possibility to use Gitlab-CI to test the compilation and to run the project test would be really great, especially for continued development and testing on other OSs. Specifically, for e.g. testing my FacetAnalyser contribution (http://www.midasjournal.org/browse/publication/951 https://gitlab.com/romangrothausmann/FacetAnalyser) I would need a runner environment with PV, VTK and ITK ideally for Linux, MacOS and Windows. Thanks for any comments and hints. Roman -- Dr. Roman Grothausmann Tomographie und Digitale Bildverarbeitung Tomography and Digital Image Analysis Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 Medizinische Hochschule Hannover Carl-Neuberg-Str. 1 D-30625 Hannover Tel. +49 511 532-2900 From tammy.diprima at stonybrook.edu Thu Sep 8 09:34:27 2016 From: tammy.diprima at stonybrook.edu (Tammy Diprima) Date: Thu, 8 Sep 2016 09:34:27 -0400 Subject: [ITK-users] Convert image, part 2 Message-ID: I've just been told that I'm not allowed to convert the 32U to 16U because of risk of distortion. I figured it *should* be ok, since it's one channel. So what I've been tasked to do, is iterate through the pixels and copy each to a new cv::Mat_ image. And I'm doing this conversion in order to pass this ITK image as a parameter to someone else's program that takes an opencv image as a parameter. Right now I'm an image-processing noobie, so I'd like your option. *Do* I have to worry about distortion in this case? How can I prove it? It's grayscale. *Is* the pixel iteration a good idea? I don't know why we're using 32U for grayscale in the first place; there's no way we're going to have more than 255 objects... Thanks, Tammy On 5 September 2016 at 18:46, Tammy wrote: Hi D?enan, > > > Yes, that makes sense. Thanks very much for your help. > > > - Tammy > > > On 5 September 2016 at 15:07, D?enan Zuki? wrote: > >> Hi Tammy, >> >> the docs >> list >> unsigned short and int, but not unsigned int. I don't know whether this int >> is equal to short or long. But from \ITK-git\Modules\Video\BridgeO >> penCV\include\itkOpenCVImageBridge.hxx, line 50 these are supported >> cases: >> IPL_DEPTH_8U >> IPL_DEPTH_8S >> IPL_DEPTH_16U >> IPL_DEPTH_16S >> IPL_DEPTH_32F >> IPL_DEPTH_64F >> >> To convert to 16U (which is closest to your 32U), you should use cast >> filter (that's >> your option A). >> >> Regards, >> D?enan >> >> On Mon, Sep 5, 2016 at 1:31 PM, Tammy wrote: >> >>> Greetings! Hope everyone is having a good day... >>> >>> So... we are passing around a grayscale image... and we're using >>> unsigned int (as opposed to unsigned char): >>> typedef itk::Image itkUIntImageType; >>> typedef itkUIntImageType itkLabelImageType; >>> >>> I need to convert it to cv::Mat in order to pass it to another program: >>> cv::Mat resultImage = itk::OpenCVImageBridge::ITKImageToCVMat< >>> itkLabelImageType >( m_objectLabelImage ); >>> >>> The problem is, the compiler is telling me "OpenCV does not support the >>> input pixel type". >>> >>> So my question is -- is this true? Can I only convert from unsigned >>> char? >>> Would a good solution be to: >>> A) Convert from one pixel type to another, or >>> B) Or can I just read in the m_objectLabelImage to an Image::Pointer >>> thing that is of type unsigned char? >>> >>> Thanks! >>> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Thu Sep 8 09:43:11 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Thu, 8 Sep 2016 09:43:11 -0400 Subject: [ITK-users] Convert image, part 2 In-Reply-To: References: Message-ID: Hi Tammy, I think a better way would be to add support for IPL_DEPTH_32S and (if allowed by OpenCV) IPL_DEPTH_32U. It should not be hard, follow what is being done for IPL_DEPTH_16U and IPL_DEPTH_16S (unsigned and signed short) in ITK's BridgeOpenCV module and add analogous code for int. Once you are satisfied with how it works, contribute a patch to ITK so others can benefit from your improvements. Regards, D?enan On Thu, Sep 8, 2016 at 9:34 AM, Tammy Diprima wrote: > I've just been told that I'm not allowed to convert the 32U to 16U because > of risk of distortion. > > I figured it *should* be ok, since it's one channel. > > So what I've been tasked to do, is iterate through the pixels and copy > each to a new cv::Mat_ image. And I'm doing this conversion in order > to pass this ITK image as a parameter to someone else's program that takes > an opencv image as a parameter. > > Right now I'm an image-processing noobie, so I'd like your option. *Do* > I have to worry about distortion in this case? How can I prove it? It's > grayscale. *Is* the pixel iteration a good idea? I don't know why we're > using 32U for grayscale in the first place; there's no way we're going to > have more than 255 objects... > > Thanks, > Tammy > > > On 5 September 2016 at 18:46, Tammy wrote: > > Hi D?enan, >> >> >> Yes, that makes sense. Thanks very much for your help. >> >> >> - Tammy >> >> >> On 5 September 2016 at 15:07, D?enan Zuki? wrote: >> >>> Hi Tammy, >>> >>> the docs >>> >>> list unsigned short and int, but not unsigned int. I don't know whether >>> this int is equal to short or long. But from \ITK-git\Modules\Video\BridgeO >>> penCV\include\itkOpenCVImageBridge.hxx, line 50 these are supported >>> cases: >>> IPL_DEPTH_8U >>> IPL_DEPTH_8S >>> IPL_DEPTH_16U >>> IPL_DEPTH_16S >>> IPL_DEPTH_32F >>> IPL_DEPTH_64F >>> >>> To convert to 16U (which is closest to your 32U), you should use cast >>> filter (that's >>> your option A). >>> >>> Regards, >>> D?enan >>> >>> On Mon, Sep 5, 2016 at 1:31 PM, Tammy wrote: >>> >>>> Greetings! Hope everyone is having a good day... >>>> >>>> So... we are passing around a grayscale image... and we're using >>>> unsigned int (as opposed to unsigned char): >>>> typedef itk::Image itkUIntImageType; >>>> typedef itkUIntImageType itkLabelImageType; >>>> >>>> I need to convert it to cv::Mat in order to pass it to another program: >>>> cv::Mat resultImage = itk::OpenCVImageBridge::ITKImageToCVMat< >>>> itkLabelImageType >( m_objectLabelImage ); >>>> >>>> The problem is, the compiler is telling me "OpenCV does not support the >>>> input pixel type". >>>> >>>> So my question is -- is this true? Can I only convert from unsigned >>>> char? >>>> Would a good solution be to: >>>> A) Convert from one pixel type to another, or >>>> B) Or can I just read in the m_objectLabelImage to an Image::Pointer >>>> thing that is of type unsigned char? >>>> >>>> Thanks! >>>> >>>> > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Thu Sep 8 10:09:33 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Thu, 8 Sep 2016 10:09:33 -0400 Subject: [ITK-users] Linker problems since Ubuntu 16.04 upgrade In-Reply-To: <7A6B8EFF-F1FF-4B50-BF84-422CC10AB97F@mail.nih.gov> References: <1473264056179-7589172.post@n2.nabble.com> <7A6B8EFF-F1FF-4B50-BF84-422CC10AB97F@mail.nih.gov> Message-ID: Something similar happened to me when I switched from 14.04 to 16.04. You need to compile both ITK and the program which links against it using the same compiler i.e. you need to recompile ITK (do a clean build). Regards, D?enan On Wed, Sep 7, 2016 at 12:13 PM, Lowekamp, Bradley (NIH/NLM/LHC) [C] < blowekamp at mail.nih.gov> wrote: > Hello, > > You are using the installed Ubuntu version? > > Because I see ?cxx11? in the string symbol below, I think there may be a > miss match between the C++ versions used to compile ITK and what you use > here in this example. > > I would try to determine which compiler and flags your ubuntu version of > ITK was compiled with and try to use the same. > > Alternatively, you could just compile ITK from source. > > HTH, > Brad > > > > > > On Sep 7, 2016, at 12:00 PM, soolijoo wrote: > > > > Hi, > > > > I've just upgraded to Ubuntu 16.04 from 14.04 and am having some strange > > linker problems with my code. > > > > Using the same CMakeLists.txt as previously the compiler is finding the > ITK > > headers but the build fails during the linking phase. This is happening > even > > for extremely simple, hello world type examples. For example the > following > > code: > > > > #include "itkImage.h" > > #include > > > > int main(int argc, char** argv){ > > > > typedef itk::Image ImageType; > > > > ImageType::Pointer image = ImageType::New(); > > > > std::cout << "Hey there, ITK!" << std::endl; > > > > return 0; > > > > } > > > > > > with this CMakeLists.txt file: > > > > cmake_minimum_required(VERSION 2.8) > > > > project(SimpleMutInfo) > > > > find_package(ITK REQUIRED) > > include(${ITK_USE_FILE}) > > if(ITKVtGlue_LOADED) > > find_package(VTK REQUIRED) > > include(${VTK_USE_FILE}) > > endif() > > > > add_executable(SimpleMutInfo simpleMutInfo.cpp) > > > > MESSAGE(${ITK_LIBRARIES}) > > > > MESSAGE(${CMAKE_INSTALL_PREFIX}) > > MESSAGE(${ITK_DIR}) > > > > if( "${ITK_VERSION_MAJOR}" LESS 4 ) > > target_link_libraries(SimpleMutInfo ITKReview ${ITK_LIBRARIES}) > > else( "${ITK_VERSION_MAJOR}" LESS 4 ) > > target_link_libraries(SimpleMutInfo ${ITK_LIBRARIES}) > > endif( "${ITK_VERSION_MAJOR}" LESS 4 ) > > > > > > completes the cmake apparently correctly: > > -- The C compiler identification is GNU 5.4.0 > > -- The CXX compiler identification is GNU 5.4.0 > > -- Check for working C compiler: /usr/bin/cc > > -- Check for working C compiler: /usr/bin/cc -- works > > -- Detecting C compiler ABI info > > -- Detecting C compiler ABI info - done > > -- Detecting C compile features > > -- Detecting C compile features - done > > -- Check for working CXX compiler: /usr/bin/c++ > > -- Check for working CXX compiler: /usr/bin/c++ -- works > > -- Detecting CXX compiler ABI info > > -- Detecting CXX compiler ABI info - done > > -- Detecting CXX compile features > > -- Detecting CXX compile features - done > > -- Configuring done > > -- Generating done > > -- Build files have been written to: > > /home/matt/CodingProjects/sandbox/mutInfo/itk/helloItk > > > > > > but gives the following compiler error: > > Scanning dependencies of target HelloItk > > [ 50%] Building CXX object CMakeFiles/HelloItk.dir/helloItk.cpp.o > > [100%] Linking CXX executable HelloItk > > CMakeFiles/HelloItk.dir/helloItk.cpp.o: In function > > `itk::MemoryAllocationError::MemoryAllocationError(std::__ > cxx11::basic_string > std::char_traits<char>, std::allocator > const&, unsigned int, > > std::__cxx11::basic_string, > > std::allocator > const&, std::__cxx11::basic_string > std::char_traits<char>, std::allocator > const&)': > > helloItk.cpp:(.text._ZN3itk21MemoryAllocationErrorC > 2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjS8_S8_[_ > ZN3itk21MemoryAllocationErrorC5ERKNSt7__cxx1112basic_stringIcSt11char_ > traitsIcESaIcEEEjS8_S8_]+0x35): > > undefined reference to > > `itk::ExceptionObject::ExceptionObject(std::__cxx11::basic_string > std::char_traits<char>, std::allocator > const&, unsigned int, > > std::__cxx11::basic_string, > > std::allocator > const&, std::__cxx11::basic_string > std::char_traits<char>, std::allocator > const&)' > > collect2: error: ld returned 1 exit status > > CMakeFiles/HelloItk.dir/build.make:204: recipe for target 'HelloItk' > failed > > make[2]: *** [HelloItk] Error 1 > > CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/HelloItk.dir/all' > > failed > > make[1]: *** [CMakeFiles/HelloItk.dir/all] Error 2 > > Makefile:83: recipe for target 'all' failed > > make: *** [all] Error 2 > > > > > > I've confirmed that the i've installed all four ubuntu packages mentioned > > here: > > https://blog.kitware.com/itk-packages-in-linux-distributions/ > > (including the python bindings) > > > > The itk libs seem to be in /usr/local/lib but for some reason the linker > > isn't seeing them. > > > > Anyone got any ideas? > > > > > > > > > > > > > > > > > > -- > > View this message in context: http://itk-insight-users. > 2283740.n2.nabble.com/Linker-problems-since-Ubuntu-16-04- > upgrade-tp7589172.html > > Sent from the ITK Insight Users mailing list archive at Nabble.com. > > _____________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Kitware offers ITK Training Courses, for more information visit: > > http://www.kitware.com/products/protraining.php > > > > Please keep messages on-topic and check the ITK FAQ at: > > http://www.itk.org/Wiki/ITK_FAQ > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/insight-users > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Thu Sep 8 10:26:48 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Thu, 8 Sep 2016 10:26:48 -0400 Subject: [ITK-users] [vtkusers] Testing ITK/VTK/PV contributions with (kitware) Gitlab-CI In-Reply-To: <20160908131417.GB13993@megas.kitware.com> References: <20160908131417.GB13993@megas.kitware.com> Message-ID: Hi Roman, some of ITK's remote modules are using CircleCI for testing. Two recent examples are RLEImage and MorphologicalContourInterpolation . Of course, you should be familiar, or familiarize yourself with CircleCI . Regards, D?enan On Thu, Sep 8, 2016 at 9:14 AM, Ben Boeckel wrote: > On Thu, Sep 08, 2016 at 12:36:40 +0200, Grothausmann, Roman Dr. wrote: > > Just getting to know Gitlab-CI, I am wondering whether it is possible to > test > > contributions to ITK/VTK/PV with Gitlab-CI from gitlab.com or > > gitlab.kitware.com. As far as I understand, this basically needs > runners, in > > this case specific to ITK/VTK/PV. Since kitware has done CI even before > the use > > of gitlab, I wonder if the former testing environments are available for > use > > with Gitlab-CI and if so how to use them. > > We're (VTK and ParaView) using buildbot to manage our testing. The > number of settings we test across machines is hard to specify in YAML > files (machines also have different settings based on what you're > testing, e.g., load up a different compiler or Qt4 or Qt5 and the paths > they live in, etc.). We're working on improving the hardware situation > buildbot is currently in; things should be getting better over the next > few months on that front. > > > For example, none of my contributions to the ITK/VTK/Midas Journals got > into the > > testing phase even though marked for testing during submission. So a > possibility > > to use Gitlab-CI to test the compilation and to run the project test > would be > > really great, especially for continued development and testing on other > OSs. > > Specifically, for e.g. testing my FacetAnalyser contribution > > (http://www.midasjournal.org/browse/publication/951 > > https://gitlab.com/romangrothausmann/FacetAnalyser) I would need a > runner > > environment with PV, VTK and ITK ideally for Linux, MacOS and Windows. > > ITK is using Gerrit and Jenkins, not Gitlab. > > --Ben > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From francisco.oliveira at fe.up.pt Thu Sep 8 12:46:06 2016 From: francisco.oliveira at fe.up.pt (Francisco) Date: Thu, 8 Sep 2016 09:46:06 -0700 (MST) Subject: [ITK-users] error using Richard-Lucy deconvolution Message-ID: <1473353166441-7589179.post@n2.nabble.com> Hi all, I'm trying to use itkRichardLucyDeconvolutionImageFilter but I have always the following error independently of the size, origin, spacing, ... of the input image and the kernel image. If I use other deconvolution filter (for instance itkLandweberDeconvolutionImageFilter) it works perfectly. I?m using the code example available in the ITK. I'm using itk-4.4.0 and VS2008. itk::ExceptionObject (0185E9CC) Location: "unknown" File: c:\libraries\itk-4.4.0\source\modules\core\common\include\itkImageToImageF ilter.hxx Line: 247 Description: itk::ERROR: DivideOrZeroOutImageFilter(03631DB0): Inputs do not occupy the same physical space! InputImage Origin: [-2.8658594e+002, -2.1658594e+002, 9.9893402e+002], InputImage_1 Origin: [0.0000000e+000, 0.0000000e+000, 0.0000000e+000] Tolerance: 4.0000000e-006 InputImage Spacing: [4.0000000e+000, 4.0000000e+000, 4.0000000e+000], InputImage_1 Spacing: [1.0000000e+000, 1.0000000e+000, 1.0000000e+000] Tolerance: 4.0000000e-006 -- View this message in context: http://itk-insight-users.2283740.n2.nabble.com/error-using-Richard-Lucy-deconvolution-tp7589179.html Sent from the ITK Insight Users mailing list archive at Nabble.com. From matt.mccormick at kitware.com Thu Sep 8 14:22:01 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Thu, 8 Sep 2016 14:22:01 -0400 Subject: [ITK-users] error using Richard-Lucy deconvolution In-Reply-To: <1473353166441-7589179.post@n2.nabble.com> References: <1473353166441-7589179.post@n2.nabble.com> Message-ID: Hi Francisco, As the error message indicates, the filter requires both inputs to have the same "information", i.e. Origin and Spacing, since it assumes that they occupy the same domain in physical space. HTH, Matt On Thu, Sep 8, 2016 at 12:46 PM, Francisco wrote: > Hi all, > I'm trying to use itkRichardLucyDeconvolutionImageFilter but I have always > the following error independently of the size, origin, spacing, ... of the > input image and the kernel image. If I use other deconvolution filter (for > instance itkLandweberDeconvolutionImageFilter) it works perfectly. I?m using > the code example available in the ITK. I'm using itk-4.4.0 and VS2008. > > itk::ExceptionObject (0185E9CC) > Location: "unknown" > File: > c:\libraries\itk-4.4.0\source\modules\core\common\include\itkImageToImageF > ilter.hxx > Line: 247 > Description: itk::ERROR: DivideOrZeroOutImageFilter(03631DB0): Inputs do not > occupy the same physical space! > InputImage Origin: [-2.8658594e+002, -2.1658594e+002, 9.9893402e+002], > InputImage_1 Origin: [0.0000000e+000, 0.0000000e+000, 0.0000000e+000] > Tolerance: 4.0000000e-006 > InputImage Spacing: [4.0000000e+000, 4.0000000e+000, 4.0000000e+000], > InputImage_1 Spacing: [1.0000000e+000, 1.0000000e+000, 1.0000000e+000] > Tolerance: 4.0000000e-006 > > > > > -- > View this message in context: http://itk-insight-users.2283740.n2.nabble.com/error-using-Richard-Lucy-deconvolution-tp7589179.html > Sent from the ITK Insight Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users From francisco.oliveira at fe.up.pt Fri Sep 9 03:42:57 2016 From: francisco.oliveira at fe.up.pt (Francisco Oliveira) Date: Fri, 9 Sep 2016 08:42:57 +0100 Subject: [ITK-users] error using Richard-Lucy deconvolution In-Reply-To: References: <1473353166441-7589179.post@n2.nabble.com> Message-ID: <000901d20a6d$c8ae8800$5a0b9800$@oliveira@fe.up.pt> Hi Matt, I already tried that and it didn't work. Independently the kernel image I use the error is the same and the origin and spacing are always the same [0, 0, 0] and [1, 1, 1], respectively. Francisco -----Mensagem original----- De: Matt McCormick [mailto:matt.mccormick at kitware.com] Enviada: quinta-feira, 8 de setembro de 2016 19:22 Para: Francisco Cc: insight-users at itk.org Assunto: Re: [ITK-users] error using Richard-Lucy deconvolution Hi Francisco, As the error message indicates, the filter requires both inputs to have the same "information", i.e. Origin and Spacing, since it assumes that they occupy the same domain in physical space. HTH, Matt On Thu, Sep 8, 2016 at 12:46 PM, Francisco wrote: > Hi all, > I'm trying to use itkRichardLucyDeconvolutionImageFilter but I have > always the following error independently of the size, origin, spacing, > ... of the input image and the kernel image. If I use other > deconvolution filter (for instance > itkLandweberDeconvolutionImageFilter) it works perfectly. I?m using the code example available in the ITK. I'm using itk-4.4.0 and VS2008. > > itk::ExceptionObject (0185E9CC) > Location: "unknown" > File: > c:\libraries\itk-4.4.0\source\modules\core\common\include\itkImageToIm > ageF > ilter.hxx > Line: 247 > Description: itk::ERROR: DivideOrZeroOutImageFilter(03631DB0): Inputs > do not occupy the same physical space! > InputImage Origin: [-2.8658594e+002, -2.1658594e+002, 9.9893402e+002], > InputImage_1 Origin: [0.0000000e+000, 0.0000000e+000, 0.0000000e+000] > Tolerance: 4.0000000e-006 > InputImage Spacing: [4.0000000e+000, 4.0000000e+000, 4.0000000e+000], > InputImage_1 Spacing: [1.0000000e+000, 1.0000000e+000, 1.0000000e+000] > Tolerance: 4.0000000e-006 > > > > > -- > View this message in context: > http://itk-insight-users.2283740.n2.nabble.com/error-using-Richard-Luc > y-deconvolution-tp7589179.html Sent from the ITK Insight Users mailing > list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users ----- N?o foram detetados v?rus nesta mensagem. Verificado por AVG - www.avg.com Vers?o: 2016.0.7752 / Base de dados de V?rus: 4649/12974 - Data de Lan?amento: 09/08/16 From grothausmann.roman at mh-hannover.de Fri Sep 9 08:29:33 2016 From: grothausmann.roman at mh-hannover.de (Grothausmann, Roman Dr.) Date: Fri, 9 Sep 2016 14:29:33 +0200 Subject: [ITK-users] get outputs from a std::vector list of smart-pointers of image-filters In-Reply-To: References: Message-ID: <809fecd2-0c04-374d-ec1c-d52ef3420fe3@mh-hannover.de> On 22/07/16 14:49, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: > Hi, > > Who is holding the pointer to the newly created ImageFileReader outside of > the loop? For that type of operation I?ll frequently just stash smart > pointers into a std::vector or list. I tried to change the resample example (https://itk.org/Doxygen/html/Examples_2Filtering_2ResampleVolumesToBeIsotropic_8cxx-example.html that uses itkRecursiveGaussianImageFilter for each dimension) such that it works for any dimensional image. Doing as Brad suggested and storing each smart-pointer of itkRecursiveGaussianImageFilter in a std::vector I get a program (https://github.com/romangrothausmann/ITK-CLIs/blob/0968dd25af2abc37ffb0c0503cc4c2972b3b2098/resample.cxx) that compiles but segfaults when used. I guess the way I'm trying to dereference a pointer from the list is not correct (https://github.com/romangrothausmann/ITK-CLIs/commit/0968dd25af2abc37ffb0c0503cc4c2972b3b2098#diff-cb1b1c6837c6074372c220250cfdbb36R80) but I could not find an example except the one referenced in the code line. So how to correctly dereference a pointer from the list of smart-pointers to get its output? Thank for any help or hints Roman >> On Jul 22, 2016, at 6:00 AM, Grothausmann, Roman Dr. >> wrote: >> >> Many thanks Brad for Your detailed reply. I understand now the problems >> concerning streaming TileImageFilter. However I still wonder why my >> non-streaming version also does not work any more after moving the creation >> of reader instances into the for-loop: >> https://github.com/romangrothausmann/ITK-CLIs/blob/ebfc0aea37d28cbbf2bb22c3f56be52453cebde9/tile.cxx#L46-L50 >> >> >> Is this construct inappropriate for the TileImageFilter? >> Why does it work for: >> https://itk.org/Doxygen/html/SphinxExamples_2src_2Filtering_2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2 >> >> >> On 21/07/16 15:41, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: >>> Hello, >>> >>> The TileImageFilter does not fully stream [1]. The filter also has some >>> odd behavior, and other older implementation details. If you are going to >>> work on a streaming pipelines it is best practice to examine the filters >>> to determine how the Requested regions behave. >>> >>> However, there is no reason that the TileImageFilter algorithm couldn?t >>> support streaming. It is just a matter of code and a bunch of testing. A >>> contribution for this issue would be welcomed! Also this filter is in >>> need a refactoring and bring it up to several other best practices. There >>> are several issue with the current implementation that would cause it not >>> to work correctly with a streaming pipeline, and cause excessive >>> execution. >>> >>> You can also use the PipelieMoniotorImageFilter to record and print the >>> pipeline interaction during Update [2]. This information helps with >>> debugging and diagnosing problems, but if the pipeline is mis-behaving ( >>> as the TileImageFilter may ), the information may not be correct. >>> >>> I have tried similar streaming with the JoinSeriesImageFilter. However I >>> ran into many problems with having hundreds of ImageIO being utilized at >>> the same time. There were problems with having too many files open at the >>> same time along with ImageIO libraries that couldn?t handle single >>> threaded access to multiple files. >>> >>> [1] >>> https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Filtering/ImageGrid/include/itkTileImageFilter.hxx#L125-L136 >>> >>> >> >>> [2] https://itk.org/Doxygen/html/classitk_1_1PipelineMonitorImageFilter.html >>> >>>> On Jul 21, 2016, at 6:41 AM, Grothausmann, Roman Dr. >>>> wrote: >>>> >>>> Dear mailing list members, >>>> >>>> >>>> Based on the examples for TileImageFilter I've created a working CLI >>>> to append an arbitrary number of inputs >>>> (https://github.com/romangrothausmann/ITK-CLIs/blob/4fdf5778022598dcf83fb38e6002df72bd67bef3/tile.cxx). >>>> >>>> >> >>>> As there is an example that does not apply Update and DisconnectPipeline on the readers (https://itk.org/Doxygen/html/SphinxExamples_2src_2Filtering_2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2) >>>> I changed my code such that a reader instance is created for each input >>>> in a for-loop: >>>> https://github.com/romangrothausmann/ITK-CLIs/commit/ebfc0aea37d28cbbf2bb22c3f56be52453cebde9 >>>> >>>> >>>> >> >>>> However, the update from the writer seems not to propagate to the readers whether streaming or not. Can the TileImageFilter not stream in such a case or are further modifications necessary? >>>> >>>> Thanks for any help or hints Roman >>>> >>>> >>>> On 18/08/14 17:01, Michka Popoff wrote: >>>>> Hi >>>>> >>>>> Going the way described in the CreateVolume example is the way to >>>>> go. >>>>> >>>>> Why did you uncomment the DisconnectPipeline() call and Update() call >>>>> in the for loop ? They need to stay there, else you will always use >>>>> the last image. That?s why you see the same image, the single update >>>>> call will be triggered at the end of the script and read only one >>>>> image. >>>>> >>>>> You don?t need to call tileFilter->Update(), you can remove this >>>>> line. The writer->Update() will take care of the pipeline update. As >>>>> a bonus, you may wrap your writer->Update() call, to fetch errors at >>>>> the end of the pipeline: >>>>> >>>>> try { writer->Update(); } catch( itk::ExceptionObject & error ) { >>>>> std::cerr << "Error: " << error << std::endl; return EXIT_FAILURE; } >>>>> >>>>> I made a little Python prototype, the syntax is a little bit >>>>> different than in C++ but it gives you the main idea. >>>>> >>>>> Michka >>>>> >>>> >>>> -- Dr. Roman Grothausmann >>>> >>>> Tomographie und Digitale Bildverarbeitung Tomography and Digital Image >>>> Analysis >>>> >>>> Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 >>>> Medizinische Hochschule Hannover Carl-Neuberg-Str. 1 D-30625 Hannover >>>> >>>> Tel. +49 511 532-2900 _____________________________________ Powered by >>>> www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Kitware offers ITK Training Courses, for more information visit: >>>> http://www.kitware.com/products/protraining.php >>>> >>>> Please keep messages on-topic and check the ITK FAQ at: >>>> http://www.itk.org/Wiki/ITK_FAQ >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/insight-users >>>> _______________________________________________ Community mailing list >>>> Community at itk.org http://public.kitware.com/mailman/listinfo/community >>> >> >> -- Dr. Roman Grothausmann >> >> Tomographie und Digitale Bildverarbeitung Tomography and Digital Image >> Analysis >> >> Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 Medizinische >> Hochschule Hannover Carl-Neuberg-Str. 1 D-30625 Hannover >> >> Tel. +49 511 532-2900 > -- Dr. Roman Grothausmann Tomographie und Digitale Bildverarbeitung Tomography and Digital Image Analysis Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 Medizinische Hochschule Hannover Carl-Neuberg-Str. 1 D-30625 Hannover Tel. +49 511 532-2900 From blowekamp at mail.nih.gov Fri Sep 9 08:55:59 2016 From: blowekamp at mail.nih.gov (Lowekamp, Bradley (NIH/NLM/LHC) [C]) Date: Fri, 9 Sep 2016 12:55:59 +0000 Subject: [ITK-users] error using Richard-Lucy deconvolution In-Reply-To: <000901d20a6d$c8ae8800$5a0b9800$@oliveira@fe.up.pt> References: <1473353166441-7589179.post@n2.nabble.com> <000901d20a6d$c8ae8800$5a0b9800$@oliveira@fe.up.pt> Message-ID: <25402805-5FF6-4A71-83EE-B01F94FFD8C5@mail.nih.gov> Hello, I was able to reproduce your problem in SimpleITK: In [1]: import SimpleITK as sitk In [2]: img = sitk.ReadImage("/scratch/blowekamp/build/itkSimpleFilters/ExternalData/test/Input/DSA.png") In [3]: img = sitk.VectorIndexSelectionCast(img, 0, sitk.sitkFloat32) In [4]: k = sitk.Image(11,11, sitk.sitkFloat32) In [5]: k[5,4]=.01; k[5,5]=1 In [6]: out = sitk.RichardsonLucyDeconvolution(img,k) ????????? NOTE: OK with both origins of 0 ????????? In [7]: sitk.Show(out) In [9]: img.SetOrigin([10,10]) In [10]: out = sitk.RichardsonLucyDeconvolution(img,k) --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) in () ----> 1 out = sitk.RichardsonLucyDeconvolution(img,k) /home/blowekamp/.virtualenvs/sitk-test/lib/python2.7/site-packages/SimpleITK/SimpleITK.pyc in RichardsonLucyDeconvolution(*args, **kwargs) 57544 57545 """ > 57546 return _SimpleITK.RichardsonLucyDeconvolution(*args, **kwargs) 57547 class STAPLEImageFilter(ImageFilter_3): 57548 """ RuntimeError: Exception thrown in SimpleITK RichardsonLucyDeconvolution: /tmp/SimpleITK-build/ITK-prefix/include/ITK-4.10/itkImageToImageFilter.hxx:250: itk::ERROR: DivideOrZeroOutImageFilter(0x4085740): Inputs do not occupy the same physical space! InputImage Origin: [1.0000000e+01, 1.0000000e+01], InputImage_1 Origin: [0.0000000e+00, 0.0000000e+00] Tolerance: 1.0000000e-06 In [11]: out = sitk.WienerDeconvolution(img,k) In [12]: out = sitk.TikhonovDeconvolution(img,k) You should be able to set with images to the same origin to bypass this exception. I am not sure if this filter is suppose to require that both images have the same grids or not. If it does, the check should happen earlier on in the VerifyInputInformation method. But as other Deconvolution filters I tested in SimpleITK seem to expect different origins, I think it may be a bug in this filter. Brad > On Sep 9, 2016, at 3:42 AM, Francisco Oliveira wrote: > > Hi Matt, > I already tried that and it didn't work. Independently the kernel image I use the error is the same and the origin and spacing are always the same [0, 0, 0] and [1, 1, 1], respectively. > > Francisco > > -----Mensagem original----- > De: Matt McCormick [mailto:matt.mccormick at kitware.com] > Enviada: quinta-feira, 8 de setembro de 2016 19:22 > Para: Francisco > Cc: insight-users at itk.org > Assunto: Re: [ITK-users] error using Richard-Lucy deconvolution > > Hi Francisco, > > As the error message indicates, the filter requires both inputs to have the same "information", i.e. Origin and Spacing, since it assumes that they occupy the same domain in physical space. > > HTH, > Matt > > On Thu, Sep 8, 2016 at 12:46 PM, Francisco wrote: >> Hi all, >> I'm trying to use itkRichardLucyDeconvolutionImageFilter but I have >> always the following error independently of the size, origin, spacing, >> ... of the input image and the kernel image. If I use other >> deconvolution filter (for instance >> itkLandweberDeconvolutionImageFilter) it works perfectly. I?m using the code example available in the ITK. I'm using itk-4.4.0 and VS2008. >> >> itk::ExceptionObject (0185E9CC) >> Location: "unknown" >> File: >> c:\libraries\itk-4.4.0\source\modules\core\common\include\itkImageToIm >> ageF >> ilter.hxx >> Line: 247 >> Description: itk::ERROR: DivideOrZeroOutImageFilter(03631DB0): Inputs >> do not occupy the same physical space! >> InputImage Origin: [-2.8658594e+002, -2.1658594e+002, 9.9893402e+002], >> InputImage_1 Origin: [0.0000000e+000, 0.0000000e+000, 0.0000000e+000] >> Tolerance: 4.0000000e-006 >> InputImage Spacing: [4.0000000e+000, 4.0000000e+000, 4.0000000e+000], >> InputImage_1 Spacing: [1.0000000e+000, 1.0000000e+000, 1.0000000e+000] >> Tolerance: 4.0000000e-006 >> >> >> >> >> -- >> View this message in context: >> http://itk-insight-users.2283740.n2.nabble.com/error-using-Richard-Luc >> y-deconvolution-tp7589179.html Sent from the ITK Insight Users mailing >> list archive at Nabble.com. >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users > > ----- > N?o foram detetados v?rus nesta mensagem. > Verificado por AVG - www.avg.com > Vers?o: 2016.0.7752 / Base de dados de V?rus: 4649/12974 - Data de Lan?amento: 09/08/16 > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users From dzenanz at gmail.com Fri Sep 9 10:21:05 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Fri, 9 Sep 2016 10:21:05 -0400 Subject: [ITK-users] get outputs from a std::vector list of smart-pointers of image-filters In-Reply-To: <809fecd2-0c04-374d-ec1c-d52ef3420fe3@mh-hannover.de> References: <809fecd2-0c04-374d-ec1c-d52ef3420fe3@mh-hannover.de> Message-ID: Hi Roman, you should not save the pointer the SmartPointer encapsulates, but rather the SmartPointer itself. The saving line of code should not be savedPointers.push_back(caster.GetPointer()); but rather savedPointers.push_back(caster); and later usage should not be smoother->SetInput(dynamic_cast(savedPointers[i].GetPointer())->GetOutput()); but rather smoother->SetInput(savedPointers[i]->GetOutput()); Can you try this? Regards, D?enan On Fri, Sep 9, 2016 at 8:29 AM, Grothausmann, Roman Dr. < grothausmann.roman at mh-hannover.de> wrote: > On 22/07/16 14:49, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: > >> Hi, >> >> Who is holding the pointer to the newly created ImageFileReader outside of >> the loop? For that type of operation I?ll frequently just stash smart >> pointers into a std::vector or list. >> > > I tried to change the resample example > (https://itk.org/Doxygen/html/Examples_2Filtering_2ResampleV > olumesToBeIsotropic_8cxx-example.html > that uses itkRecursiveGaussianImageFilter for each dimension) such that > it works > for any dimensional image. > Doing as Brad suggested and storing each smart-pointer of > itkRecursiveGaussianImageFilter in a std::vector I get a program ( > https://github.com/romangrothausmann/ITK-CLIs/blob/0968dd25 > af2abc37ffb0c0503cc4c2972b3b2098/resample.cxx) that compiles but > segfaults when used. I guess the way I'm trying to dereference a pointer > from the list is not correct (https://github.com/romangroth > ausmann/ITK-CLIs/commit/0968dd25af2abc37ffb0c0503cc4c2972b3b > 2098#diff-cb1b1c6837c6074372c220250cfdbb36R80) but I could not find an > example except the one referenced in the code line. > So how to correctly dereference a pointer from the list of smart-pointers > to get its output? > > Thank for any help or hints > Roman > > On Jul 22, 2016, at 6:00 AM, Grothausmann, Roman Dr. >>> wrote: >>> >>> Many thanks Brad for Your detailed reply. I understand now the problems >>> concerning streaming TileImageFilter. However I still wonder why my >>> non-streaming version also does not work any more after moving the >>> creation >>> of reader instances into the for-loop: >>> https://github.com/romangrothausmann/ITK-CLIs/blob/ebfc0aea3 >>> 7d28cbbf2bb22c3f56be52453cebde9/tile.cxx#L46-L50 >>> >>> >>> >>> Is this construct inappropriate for the TileImageFilter? > >> Why does it work for: >>> https://itk.org/Doxygen/html/SphinxExamples_2src_2Filtering_ >>> 2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2 >>> >>> >>> >>> On 21/07/16 15:41, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: > >> Hello, >>>> >>>> The TileImageFilter does not fully stream [1]. The filter also has some >>>> odd behavior, and other older implementation details. If you are going >>>> to >>>> work on a streaming pipelines it is best practice to examine the filters >>>> to determine how the Requested regions behave. >>>> >>>> However, there is no reason that the TileImageFilter algorithm couldn?t >>>> support streaming. It is just a matter of code and a bunch of testing. A >>>> contribution for this issue would be welcomed! Also this filter is in >>>> need a refactoring and bring it up to several other best practices. >>>> There >>>> are several issue with the current implementation that would cause it >>>> not >>>> to work correctly with a streaming pipeline, and cause excessive >>>> execution. >>>> >>>> You can also use the PipelieMoniotorImageFilter to record and print the >>>> pipeline interaction during Update [2]. This information helps with >>>> debugging and diagnosing problems, but if the pipeline is mis-behaving ( >>>> as the TileImageFilter may ), the information may not be correct. >>>> >>>> I have tried similar streaming with the JoinSeriesImageFilter. However I >>>> ran into many problems with having hundreds of ImageIO being utilized at >>>> the same time. There were problems with having too many files open at >>>> the >>>> same time along with ImageIO libraries that couldn?t handle single >>>> threaded access to multiple files. >>>> >>>> [1] >>>> https://github.com/InsightSoftwareConsortium/ITK/blob/ >>>> master/Modules/Filtering/ImageGrid/include/itkTileImageFilte >>>> r.hxx#L125-L136 >>>> >>>> >>>> >>> >>>> [2] https://itk.org/Doxygen/html/classitk_1_1PipelineMonitorImag > eFilter.html > >> >>>> On Jul 21, 2016, at 6:41 AM, Grothausmann, Roman Dr. >>>>> wrote: >>>>> >>>>> Dear mailing list members, >>>>> >>>>> >>>>> Based on the examples for TileImageFilter I've created a working CLI >>>>> to append an arbitrary number of inputs >>>>> (https://github.com/romangrothausmann/ITK-CLIs/blob/4fdf5778 >>>>> 022598dcf83fb38e6002df72bd67bef3/tile.cxx). >>>>> >>>>> >>>>> >>> >>>>> As there is an example that does not apply Update and > DisconnectPipeline on the readers (https://itk.org/Doxygen/html/ > SphinxExamples_2src_2Filtering_2ImageGrid_2AppendTwo3DVolume > s_2Code_8cxx-example.html#_a2) > >> I changed my code such that a reader instance is created for each input >>>>> in a for-loop: >>>>> https://github.com/romangrothausmann/ITK-CLIs/commit/ebfc0ae >>>>> a37d28cbbf2bb22c3f56be52453cebde9 >>>>> >>>>> >>>>> >>>>> >>> >>>>> However, the update from the writer seems not to propagate to the > readers whether streaming or not. Can the TileImageFilter not stream in > such a case or are further modifications necessary? > >> >>>>> Thanks for any help or hints Roman >>>>> >>>>> >>>>> On 18/08/14 17:01, Michka Popoff wrote: >>>>> >>>>>> Hi >>>>>> >>>>>> Going the way described in the CreateVolume example is the way to >>>>>> go. >>>>>> >>>>>> Why did you uncomment the DisconnectPipeline() call and Update() call >>>>>> in the for loop ? They need to stay there, else you will always use >>>>>> the last image. That?s why you see the same image, the single update >>>>>> call will be triggered at the end of the script and read only one >>>>>> image. >>>>>> >>>>>> You don?t need to call tileFilter->Update(), you can remove this >>>>>> line. The writer->Update() will take care of the pipeline update. As >>>>>> a bonus, you may wrap your writer->Update() call, to fetch errors at >>>>>> the end of the pipeline: >>>>>> >>>>>> try { writer->Update(); } catch( itk::ExceptionObject & error ) { >>>>>> std::cerr << "Error: " << error << std::endl; return EXIT_FAILURE; } >>>>>> >>>>>> I made a little Python prototype, the syntax is a little bit >>>>>> different than in C++ but it gives you the main idea. >>>>>> >>>>>> Michka >>>>>> >>>>>> >>>>> -- Dr. Roman Grothausmann >>>>> >>>>> Tomographie und Digitale Bildverarbeitung Tomography and Digital Image >>>>> Analysis >>>>> >>>>> Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 >>>>> Medizinische Hochschule Hannover Carl-Neuberg-Str. 1 D-30625 Hannover >>>>> >>>>> Tel. +49 511 532-2900 _____________________________________ Powered by >>>>> www.kitware.com >>>>> >>>>> Visit other Kitware open-source projects at >>>>> http://www.kitware.com/opensource/opensource.html >>>>> >>>>> Kitware offers ITK Training Courses, for more information visit: >>>>> http://www.kitware.com/products/protraining.php >>>>> >>>>> Please keep messages on-topic and check the ITK FAQ at: >>>>> http://www.itk.org/Wiki/ITK_FAQ >>>>> >>>>> Follow this link to subscribe/unsubscribe: >>>>> http://public.kitware.com/mailman/listinfo/insight-users >>>>> _______________________________________________ Community mailing list >>>>> Community at itk.org http://public.kitware.com/mailman/listinfo/community >>>>> >>>> >>>> >>> -- Dr. Roman Grothausmann >>> >>> Tomographie und Digitale Bildverarbeitung Tomography and Digital Image >>> Analysis >>> >>> Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 Medizinische >>> Hochschule Hannover Carl-Neuberg-Str. 1 D-30625 Hannover >>> >>> Tel. +49 511 532-2900 >>> >> >> > -- > Dr. Roman Grothausmann > > Tomographie und Digitale Bildverarbeitung > Tomography and Digital Image Analysis > > Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 > Medizinische Hochschule Hannover > Carl-Neuberg-Str. 1 > D-30625 Hannover > > Tel. +49 511 532-2900 > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From francisco.oliveira at fe.up.pt Fri Sep 9 10:25:41 2016 From: francisco.oliveira at fe.up.pt (Francisco Oliveira) Date: Fri, 9 Sep 2016 15:25:41 +0100 Subject: [ITK-users] error using Richard-Lucy deconvolution In-Reply-To: <25402805-5FF6-4A71-83EE-B01F94FFD8C5@mail.nih.gov> References: <1473353166441-7589179.post@n2.nabble.com> <000901d20a6d$c8ae8800$5a0b9800$@oliveira@fe.up.pt> <25402805-5FF6-4A71-83EE-B01F94FFD8C5@mail.nih.gov> Message-ID: <005b01d20aa6$0b268b50$2173a1f0$@oliveira@fe.up.pt> Thanks Brad, your suggestion solved my problem. First we need forcing the input image to have spacing=[1, 1, 1], origin=[0, 0, 0] and the direction equals to identity matrix. Then we can apply the filter and after we set back the original spacing, origin and directions to the deconvoluted image (of course we need to save them before). Francisco -----Mensagem original----- De: Lowekamp, Bradley (NIH/NLM/LHC) [C] [mailto:blowekamp at mail.nih.gov] Enviada: sexta-feira, 9 de setembro de 2016 13:56 Para: Francisco Oliveira; Cory Quammen Cc: Matt McCormick; ITK Assunto: Re: [ITK-users] error using Richard-Lucy deconvolution Hello, I was able to reproduce your problem in SimpleITK: In [1]: import SimpleITK as sitk In [2]: img = sitk.ReadImage("/scratch/blowekamp/build/itkSimpleFilters/ExternalData/test/Input/DSA.png") In [3]: img = sitk.VectorIndexSelectionCast(img, 0, sitk.sitkFloat32) In [4]: k = sitk.Image(11,11, sitk.sitkFloat32) In [5]: k[5,4]=.01; k[5,5]=1 In [6]: out = sitk.RichardsonLucyDeconvolution(img,k) ????????? NOTE: OK with both origins of 0 ????????? In [7]: sitk.Show(out) In [9]: img.SetOrigin([10,10]) In [10]: out = sitk.RichardsonLucyDeconvolution(img,k) --------------------------------------------------------------------------- RuntimeError Traceback (most recent call last) in () ----> 1 out = sitk.RichardsonLucyDeconvolution(img,k) /home/blowekamp/.virtualenvs/sitk-test/lib/python2.7/site-packages/SimpleITK/SimpleITK.pyc in RichardsonLucyDeconvolution(*args, **kwargs) 57544 57545 """ > 57546 return _SimpleITK.RichardsonLucyDeconvolution(*args, **kwargs) 57547 class STAPLEImageFilter(ImageFilter_3): 57548 """ RuntimeError: Exception thrown in SimpleITK RichardsonLucyDeconvolution: /tmp/SimpleITK-build/ITK-prefix/include/ITK-4.10/itkImageToImageFilter.hxx:250: itk::ERROR: DivideOrZeroOutImageFilter(0x4085740): Inputs do not occupy the same physical space! InputImage Origin: [1.0000000e+01, 1.0000000e+01], InputImage_1 Origin: [0.0000000e+00, 0.0000000e+00] Tolerance: 1.0000000e-06 In [11]: out = sitk.WienerDeconvolution(img,k) In [12]: out = sitk.TikhonovDeconvolution(img,k) You should be able to set with images to the same origin to bypass this exception. I am not sure if this filter is suppose to require that both images have the same grids or not. If it does, the check should happen earlier on in the VerifyInputInformation method. But as other Deconvolution filters I tested in SimpleITK seem to expect different origins, I think it may be a bug in this filter. Brad > On Sep 9, 2016, at 3:42 AM, Francisco Oliveira wrote: > > Hi Matt, > I already tried that and it didn't work. Independently the kernel image I use the error is the same and the origin and spacing are always the same [0, 0, 0] and [1, 1, 1], respectively. > > Francisco > > -----Mensagem original----- > De: Matt McCormick [mailto:matt.mccormick at kitware.com] > Enviada: quinta-feira, 8 de setembro de 2016 19:22 > Para: Francisco > Cc: insight-users at itk.org > Assunto: Re: [ITK-users] error using Richard-Lucy deconvolution > > Hi Francisco, > > As the error message indicates, the filter requires both inputs to have the same "information", i.e. Origin and Spacing, since it assumes that they occupy the same domain in physical space. > > HTH, > Matt > > On Thu, Sep 8, 2016 at 12:46 PM, Francisco wrote: >> Hi all, >> I'm trying to use itkRichardLucyDeconvolutionImageFilter but I have >> always the following error independently of the size, origin, >> spacing, ... of the input image and the kernel image. If I use other >> deconvolution filter (for instance >> itkLandweberDeconvolutionImageFilter) it works perfectly. I?m using the code example available in the ITK. I'm using itk-4.4.0 and VS2008. >> >> itk::ExceptionObject (0185E9CC) >> Location: "unknown" >> File: >> c:\libraries\itk-4.4.0\source\modules\core\common\include\itkImageToI >> m >> ageF >> ilter.hxx >> Line: 247 >> Description: itk::ERROR: DivideOrZeroOutImageFilter(03631DB0): Inputs >> do not occupy the same physical space! >> InputImage Origin: [-2.8658594e+002, -2.1658594e+002, >> 9.9893402e+002], >> InputImage_1 Origin: [0.0000000e+000, 0.0000000e+000, 0.0000000e+000] >> Tolerance: 4.0000000e-006 >> InputImage Spacing: [4.0000000e+000, 4.0000000e+000, 4.0000000e+000], >> InputImage_1 Spacing: [1.0000000e+000, 1.0000000e+000, 1.0000000e+000] >> Tolerance: 4.0000000e-006 >> >> >> >> >> -- >> View this message in context: >> http://itk-insight-users.2283740.n2.nabble.com/error-using-Richard-Lu >> c y-deconvolution-tp7589179.html Sent from the ITK Insight Users >> mailing list archive at Nabble.com. >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users > > ----- > N?o foram detetados v?rus nesta mensagem. > Verificado por AVG - www.avg.com > Vers?o: 2016.0.7752 / Base de dados de V?rus: 4649/12974 - Data de > Lan?amento: 09/08/16 > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users ----- N?o foram detetados v?rus nesta mensagem. Verificado por AVG - www.avg.com Vers?o: 2016.0.7752 / Base de dados de V?rus: 4649/12974 - Data de Lan?amento: 09/08/16 From kolin9105 at gmail.com Fri Sep 9 12:07:15 2016 From: kolin9105 at gmail.com (meikolin saimara) Date: Fri, 9 Sep 2016 23:07:15 +0700 Subject: [ITK-users] (no subject) Message-ID: hello every one I am beginner in ITK . I want threshold my image with uperthreshold and lowerthreshold with 8 bit without should set value outsideValue and insidevalue. how can I do that. -------------- next part -------------- An HTML attachment was scrubbed... URL: From chinander at gmail.com Fri Sep 9 12:13:38 2016 From: chinander at gmail.com (Mike Chinander) Date: Fri, 9 Sep 2016 11:13:38 -0500 Subject: [ITK-users] (no subject) In-Reply-To: References: Message-ID: Have you checked out this example: https://itk.org/Wiki/ITK/Examples/ImageProcessing/ThresholdImageFilter On Fri, Sep 9, 2016 at 11:07 AM, meikolin saimara wrote: > hello every one I am beginner in ITK . > I want threshold my image with uperthreshold and lowerthreshold with 8 bit > without should set value outsideValue and insidevalue. > how can I do that. > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From someshsandbox at gmail.com Sat Sep 10 12:11:22 2016 From: someshsandbox at gmail.com (Somesh) Date: Sat, 10 Sep 2016 12:11:22 -0400 Subject: [ITK-users] Polar2Cartesian Behavior Message-ID: Hi, I have a very simple polar to cartesian filter. Its similar to itkAzimuthElevationToCartesianTransform. The source code can be found @ https://github.com/someshSandbox/Polar2Cartesian I generate cartesian and polar images and use the resample filter to do the conversion for testing. While the conversion from Cartesian to Polar works, Polar to conversion doesn't. The sample images can be found at the following links: 1. Created Cartesian Image: origin(-20, -20) size(40,40), spacing(1, 1) https://github.com/someshSandbox/Polar2Cartesian/ blob/master/images/Cartesian.png 2. Used filter to convert Cartesian Image to Polar: origin(0, 0) size(20,360), spacing(1, 1). This works. https://github.com/someshSandbox/Polar2Cartesian/blob/master/images/ Cartesian2Polar.png 3. Created Polar Image: origin(0, 0) size(20,360), spacing(1, 1) https://github.com/someshSandbox/Polar2Cartesian/ blob/master/images/Polar.png 4. User filter to convert Polar Image to cartesian: origin(-20, -20) size(40,40), spacing(1,1). This doesn't work. https://github.com/someshSandbox/Polar2Cartesian/blob/master/images/ Polar2Cartesian.png I am probably missing something trivial, but can't seem to locate the bug. I would appreciate if someone can review the code. Thanks, Somesh -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.mccormick at kitware.com Sun Sep 11 13:37:48 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Sun, 11 Sep 2016 13:37:48 -0400 Subject: [ITK-users] Polar2Cartesian Behavior In-Reply-To: References: Message-ID: Hi Somesh, One issue: the domain of the Polar image (Step 3) needs to be larger if it is going to be sampled in the domain requested in Step 4. If Step 4, the radius goes up to sqrt(20^2 + 20^2) instead of 20. In general, a SpecialCoordinatesImage like itkAzimuthElevationToCartesionTransform works better than using a Transform in ITK. This is implemented here: https://github.com/KitwareMedical/ITKUltrasound/blob/master/include/itkCurvilinearArraySpecialCoordinatesImage.h HTH, Matt On Sat, Sep 10, 2016 at 12:11 PM, Somesh wrote: > Hi, > I have a very simple polar to cartesian filter. Its similar to > itkAzimuthElevationToCartesianTransform. The source code can be found @ > https://github.com/someshSandbox/Polar2Cartesian > > I generate cartesian and polar images and use the resample filter to do the > conversion for testing. While the conversion from Cartesian to Polar works, > Polar to conversion doesn't. The sample images can be found at the following > links: > > Created Cartesian Image: origin(-20, -20) size(40,40), spacing(1, 1) > https://github.com/someshSandbox/Polar2Cartesian/blob/master/images/Cartesian.png > > Used filter to convert Cartesian Image to Polar: origin(0, 0) size(20,360), > spacing(1, 1). This works. > https://github.com/someshSandbox/Polar2Cartesian/blob/master/images/Cartesian2Polar.png > > Created Polar Image: origin(0, 0) size(20,360), spacing(1, 1) > https://github.com/someshSandbox/Polar2Cartesian/blob/master/images/Polar.png > > User filter to convert Polar Image to cartesian: origin(-20, -20) > size(40,40), spacing(1,1). This doesn't work. > https://github.com/someshSandbox/Polar2Cartesian/blob/master/images/Polar2Cartesian.png > > I am probably missing something trivial, but can't seem to locate the bug. I > would appreciate if someone can review the code. > > Thanks, > Somesh > > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > From kolin9105 at gmail.com Sun Sep 11 15:33:03 2016 From: kolin9105 at gmail.com (meikolin saimara) Date: Mon, 12 Sep 2016 02:33:03 +0700 Subject: [ITK-users] (no subject) Message-ID: hello every I want to ask you all.. I have a problem in itk. I used binaryThresholdimagefilter on ITK and I got the image then I want to compare the result with another software. the software is ImageJ. I got the result it is so different each other software eventhough I put the same value of lowerthreshold and upperthreshold in both of the software. I use ImageJ with Threshold 8 bit. How It can different??? -------------- next part -------------- An HTML attachment was scrubbed... URL: From someshsandbox at gmail.com Sun Sep 11 21:19:41 2016 From: someshsandbox at gmail.com (Somesh) Date: Sun, 11 Sep 2016 21:19:41 -0400 Subject: [ITK-users] Polar2Cartesian Behavior In-Reply-To: References: Message-ID: Thanks Matt. In step 3, I generate a polar image and in Step 4 I want to get the corresponding cartesian image. Since in Step 3, the maximum radius of my polar image is R=20 , so I have the cartesian image range from -R to R for both X and Y and I set the default pixel to 0. The pixels in the polar image have value equal to R. So I expected a circular image similar to step 1. However I get a distorted/cropped semi-circle. The use case of this program is the following. I have a cylindrical image. I have to re-sample it at finer intervals in theta. Then I want to convert it to cartesian co-ordinates. Given a polar to cartesian transform, shouldn't the resample image filter be able to handle this ? Regarding the CurvilinearArraySpecialCoordinatesImage class. How can I use it to convert a cylindrical image to Cartesian image ? Since it is an "Image" class and not a "Transform" class, I am a little unclear on how to use it. Should I manually create the desired cartesian grid, find the co--responding polar co-ordinate using CurvilinearArraySpecialCoordinatesImage APIs and fill in the pixels. Also do have have to manually handle the interpolation ? Or can I still use the ResampleImageFileter to do these steps ? Thanks, Somesh On Sun, Sep 11, 2016 at 1:37 PM, Matt McCormick wrote: > Hi Somesh, > > One issue: the domain of the Polar image (Step 3) needs to be larger > if it is going to be sampled in the domain requested in Step 4. If > Step 4, the radius goes up to sqrt(20^2 + 20^2) instead of 20. > > In general, a SpecialCoordinatesImage like > itkAzimuthElevationToCartesionTransform works better than using a > Transform in ITK. This is implemented here: > > https://github.com/KitwareMedical/ITKUltrasound/blob/master/include/ > itkCurvilinearArraySpecialCoordinatesImage.h > > HTH, > Matt > > On Sat, Sep 10, 2016 at 12:11 PM, Somesh wrote: > > Hi, > > I have a very simple polar to cartesian filter. Its similar to > > itkAzimuthElevationToCartesianTransform. The source code can be found @ > > https://github.com/someshSandbox/Polar2Cartesian > > > > I generate cartesian and polar images and use the resample filter to do > the > > conversion for testing. While the conversion from Cartesian to Polar > works, > > Polar to conversion doesn't. The sample images can be found at the > following > > links: > > > > Created Cartesian Image: origin(-20, -20) size(40,40), spacing(1, 1) > > https://github.com/someshSandbox/Polar2Cartesian/ > blob/master/images/Cartesian.png > > > > Used filter to convert Cartesian Image to Polar: origin(0, 0) > size(20,360), > > spacing(1, 1). This works. > > https://github.com/someshSandbox/Polar2Cartesian/blob/master/images/ > Cartesian2Polar.png > > > > Created Polar Image: origin(0, 0) size(20,360), spacing(1, 1) > > https://github.com/someshSandbox/Polar2Cartesian/ > blob/master/images/Polar.png > > > > User filter to convert Polar Image to cartesian: origin(-20, -20) > > size(40,40), spacing(1,1). This doesn't work. > > https://github.com/someshSandbox/Polar2Cartesian/blob/master/images/ > Polar2Cartesian.png > > > > I am probably missing something trivial, but can't seem to locate the > bug. I > > would appreciate if someone can review the code. > > > > Thanks, > > Somesh > > > > > > _____________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Kitware offers ITK Training Courses, for more information visit: > > http://www.kitware.com/products/protraining.php > > > > Please keep messages on-topic and check the ITK FAQ at: > > http://www.itk.org/Wiki/ITK_FAQ > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/insight-users > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.mccormick at kitware.com Sun Sep 11 21:47:28 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Sun, 11 Sep 2016 21:47:28 -0400 Subject: [ITK-users] Polar2Cartesian Behavior In-Reply-To: References: Message-ID: On Sun, Sep 11, 2016 at 9:19 PM, Somesh wrote: > Thanks Matt. In step 3, I generate a polar image and in Step 4 I want to get > the corresponding cartesian image. Since in Step 3, the maximum radius of my > polar image is R=20 , so I have the cartesian image range from -R to R for > both X and Y and I set the default pixel to 0. The pixels in the polar image > have value equal to R. So I expected a circular image similar to step 1. > However I get a distorted/cropped semi-circle. It looks like your Transform is inheriting from itk::AffineTransform, although it is not an AffineTransform. AffineTransform is a linear transform, and the ResampleImageFilter takes advantage of that property to optimize its computation: https://github.com/InsightSoftwareConsortium/ITK/blob/6ee10575445aa1c878797db4febf7d775a38f1f3/Modules/Filtering/ImageGrid/include/itkResampleImageFilter.hxx#L242-L249 So, your class need to override ->GetTransformCategory() to return UnknownTransformCategory. > The use case of this program is the following. I have a cylindrical image. I > have to re-sample it at finer intervals in theta. Then I want to convert it > to cartesian co-ordinates. Given a polar to cartesian transform, shouldn't > the resample image filter be able to handle this ? Yes, but the SpecialCoordinatesImage allows you to keep your data in native form and it prevents abuse of "spacing", etc. > Regarding the CurvilinearArraySpecialCoordinatesImage class. How can I use > it to convert a cylindrical image to Cartesian image ? Since it is an > "Image" class and not a "Transform" class, I am a little unclear on how to > use it. Should I manually create the desired cartesian grid, find the > co--responding polar co-ordinate using > CurvilinearArraySpecialCoordinatesImage APIs and fill in the pixels. Also do > have have to manually handle the interpolation ? Or can I still use the > ResampleImageFileter to do these steps ? Yes, you can use ResampleImageFilter and this class to perform the desired operations. Here is an example: https://github.com/KitwareMedical/ITKUltrasound/blob/0cb92288333a9779da57511f779d0bde5ca35275/test/itkCurvilinearArraySpecialCoordinatesImageTest.cxx#L96-L110 HTH, Matt From someshsandbox at gmail.com Sun Sep 11 22:08:48 2016 From: someshsandbox at gmail.com (Somesh) Date: Sun, 11 Sep 2016 22:08:48 -0400 Subject: [ITK-users] Polar2Cartesian Behavior In-Reply-To: References: Message-ID: Thanks Matt. This is very helpful. I had modeled my transform class on itkAzimuthElevationToCartesianTransform which also inherited from Affine transform. Should this class also override GetTransformCategory(). It doesn't look like its doing it now. https://itk.org/Doxygen/html/itkAzimuthElevationToCartesianTransform_8h_source.html Thanks, Somesh On Sun, Sep 11, 2016 at 9:47 PM, Matt McCormick wrote: > On Sun, Sep 11, 2016 at 9:19 PM, Somesh wrote: > > Thanks Matt. In step 3, I generate a polar image and in Step 4 I want to > get > > the corresponding cartesian image. Since in Step 3, the maximum radius > of my > > polar image is R=20 , so I have the cartesian image range from -R to R > for > > both X and Y and I set the default pixel to 0. The pixels in the polar > image > > have value equal to R. So I expected a circular image similar to step 1. > > However I get a distorted/cropped semi-circle. > > It looks like your Transform is inheriting from itk::AffineTransform, > although it is not an AffineTransform. AffineTransform is a linear > transform, and the ResampleImageFilter takes advantage of that > property to optimize its computation: > > https://github.com/InsightSoftwareConsortium/ITK/blob/ > 6ee10575445aa1c878797db4febf7d775a38f1f3/Modules/Filtering/ > ImageGrid/include/itkResampleImageFilter.hxx#L242-L249 > > So, your class need to override ->GetTransformCategory() to return > UnknownTransformCategory. > > > > The use case of this program is the following. I have a cylindrical > image. I > > have to re-sample it at finer intervals in theta. Then I want to convert > it > > to cartesian co-ordinates. Given a polar to cartesian transform, > shouldn't > > the resample image filter be able to handle this ? > > Yes, but the SpecialCoordinatesImage allows you to keep your data in > native form and it prevents abuse of "spacing", etc. > > > > Regarding the CurvilinearArraySpecialCoordinatesImage class. How can I > use > > it to convert a cylindrical image to Cartesian image ? Since it is an > > "Image" class and not a "Transform" class, I am a little unclear on how > to > > use it. Should I manually create the desired cartesian grid, find the > > co--responding polar co-ordinate using > > CurvilinearArraySpecialCoordinatesImage APIs and fill in the pixels. > Also do > > have have to manually handle the interpolation ? Or can I still use the > > ResampleImageFileter to do these steps ? > > Yes, you can use ResampleImageFilter and this class to perform the > desired operations. Here is an example: > > https://github.com/KitwareMedical/ITKUltrasound/blob/ > 0cb92288333a9779da57511f779d0bde5ca35275/test/ > itkCurvilinearArraySpecialCoordinatesImageTest.cxx#L96-L110 > > HTH, > Matt > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.mccormick at kitware.com Sun Sep 11 22:39:57 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Sun, 11 Sep 2016 22:39:57 -0400 Subject: [ITK-users] Polar2Cartesian Behavior In-Reply-To: References: Message-ID: > > I had modeled my transform class on itkAzimuthElevationToCartesianTransform > which also inherited from Affine transform. > Should this class also override GetTransformCategory(). It doesn't look like > its doing it now. > https://itk.org/Doxygen/html/itkAzimuthElevationToCartesianTransform_8h_source.html Yes! Good catch. Would you like to submit a patch? [1] Thanks, Matt [1] https://github.com/InsightSoftwareConsortium/ITK/blob/master/CONTRIBUTING.md From someshsandbox at gmail.com Sun Sep 11 22:56:41 2016 From: someshsandbox at gmail.com (Somesh) Date: Sun, 11 Sep 2016 22:56:41 -0400 Subject: [ITK-users] Polar2Cartesian Behavior In-Reply-To: References: Message-ID: Will do. On Sun, Sep 11, 2016 at 10:39 PM, Matt McCormick wrote: > > > > I had modeled my transform class on itkAzimuthElevationToCartesian > Transform > > which also inherited from Affine transform. > > Should this class also override GetTransformCategory(). It doesn't look > like > > its doing it now. > > https://itk.org/Doxygen/html/itkAzimuthElevationToCartesian > Transform_8h_source.html > > Yes! Good catch. Would you like to submit a patch? [1] > > Thanks, > Matt > > [1] https://github.com/InsightSoftwareConsortium/ITK/ > blob/master/CONTRIBUTING.md > -------------- next part -------------- An HTML attachment was scrubbed... URL: From grothausmann.roman at mh-hannover.de Mon Sep 12 05:41:09 2016 From: grothausmann.roman at mh-hannover.de (Grothausmann, Roman Dr.) Date: Mon, 12 Sep 2016 11:41:09 +0200 Subject: [ITK-users] get outputs from a std::vector list of smart-pointers of image-filters In-Reply-To: References: <809fecd2-0c04-374d-ec1c-d52ef3420fe3@mh-hannover.de> Message-ID: On 09/09/16 16:21, D?enan Zuki? wrote: > Hi Roman, > > you should not save the pointer the SmartPointer encapsulates, but rather the > SmartPointer itself. The saving line of code should not be > savedPointers.push_back(caster.GetPointer()); > but rather > savedPointers.push_back(caster); > and later usage should not be > smoother->SetInput(dynamic_cast(savedPointers[i].GetPointer())->GetOutput()); > but rather > smoother->SetInput(savedPointers[i]->GetOutput()); Many thanks D?enan for Your reply. I tried as You suggested: https://github.com/romangrothausmann/ITK-CLIs/commit/b00551faf951192f50e4090d683300524b4c95ba but am getting: resample.cxx:79:49: error: no matching function for call to ?itk::ProcessObject::GetOutput()? smoother->SetInput(savedPointers[i]->GetOutput()); ^ resample.cxx:79:49: note: candidates are: In file included from resample.cxx:5: /opt/itk-4.9.1/include/ITK-4.9/itkProcessObject.h:612:16: note: itk::DataObject* itk::ProcessObject::GetOutput(const DataObjectIdentifierType&) DataObject * GetOutput(const DataObjectIdentifierType & key); ^ I also tried: std::vector savedPointers; std::vector savedPointers; std::vector< itk::SmartPointer > savedPointers; but always got compile errors. I am confused when to use the smart-pointer as is and when with .GetPointer(). According to https://cmake.org/pipermail/insight-users/2007-May/022374.html I also tried storing the output-pointers (without pipe-line disconnection) in a separate list https://github.com/romangrothausmann/ITK-CLIs/commit/d9b5c3f1a786b595255a9153da9ceafd88d2a189 which does not compile either: resample.cxx:77:5: error: request for member ?GetPointer? in ?caster.itk::SmartPointer::operator->, itk::Image > >()->itk::CastImageFilter, itk::Image >::.itk::UnaryFunctorImageFilter, itk::Image, itk::Functor::Cast >::.itk::InPlaceImageFilter, itk::Image >::.itk::ImageToImageFilter, itk::Image >::.itk::ImageSource::GetOutput >()?, which is of pointer type ?itk::ImageSource >::OutputImageType* {aka itk::Image*}? (maybe you meant to use ?->? ?) savedOutPointers.push_back(caster->GetOutput().GetPointer()); ^ I'm wondering if construct as needed is not possible at all because I can't find anything like that in the ITK-sources or examples. For the code snippets I can find in the MLs it is not clear whether they got tested and were accepted by a compiler. Any further ideas? Best Roman > On Fri, Sep 9, 2016 at 8:29 AM, Grothausmann, Roman Dr. > > > wrote: > > On 22/07/16 14:49, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: > > Hi, > > Who is holding the pointer to the newly created ImageFileReader outside of > the loop? For that type of operation I?ll frequently just stash smart > pointers into a std::vector or list. > > > I tried to change the resample example > (https://itk.org/Doxygen/html/Examples_2Filtering_2ResampleVolumesToBeIsotropic_8cxx-example.html > > that uses itkRecursiveGaussianImageFilter for each dimension) such that it works > for any dimensional image. > Doing as Brad suggested and storing each smart-pointer of > itkRecursiveGaussianImageFilter in a std::vector I get a program > (https://github.com/romangrothausmann/ITK-CLIs/blob/0968dd25af2abc37ffb0c0503cc4c2972b3b2098/resample.cxx > ) > that compiles but segfaults when used. I guess the way I'm trying to > dereference a pointer from the list is not correct > (https://github.com/romangrothausmann/ITK-CLIs/commit/0968dd25af2abc37ffb0c0503cc4c2972b3b2098#diff-cb1b1c6837c6074372c220250cfdbb36R80 > ) > but I could not find an example except the one referenced in the code line. > So how to correctly dereference a pointer from the list of smart-pointers to > get its output? > > Thank for any help or hints > Roman > > On Jul 22, 2016, at 6:00 AM, Grothausmann, Roman Dr. > > wrote: > > Many thanks Brad for Your detailed reply. I understand now the problems > concerning streaming TileImageFilter. However I still wonder why my > non-streaming version also does not work any more after moving the > creation > of reader instances into the for-loop: > https://github.com/romangrothausmann/ITK-CLIs/blob/ebfc0aea37d28cbbf2bb22c3f56be52453cebde9/tile.cxx#L46-L50 > > > > > Is this construct inappropriate for the TileImageFilter? > > Why does it work for: > https://itk.org/Doxygen/html/SphinxExamples_2src_2Filtering_2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2 > > > > > On 21/07/16 15:41, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: > > Hello, > > The TileImageFilter does not fully stream [1]. The filter also > has some > odd behavior, and other older implementation details. If you are > going to > work on a streaming pipelines it is best practice to examine the > filters > to determine how the Requested regions behave. > > However, there is no reason that the TileImageFilter algorithm > couldn?t > support streaming. It is just a matter of code and a bunch of > testing. A > contribution for this issue would be welcomed! Also this filter > is in > need a refactoring and bring it up to several other best > practices. There > are several issue with the current implementation that would > cause it not > to work correctly with a streaming pipeline, and cause excessive > execution. > > You can also use the PipelieMoniotorImageFilter to record and > print the > pipeline interaction during Update [2]. This information helps with > debugging and diagnosing problems, but if the pipeline is > mis-behaving ( > as the TileImageFilter may ), the information may not be correct. > > I have tried similar streaming with the JoinSeriesImageFilter. > However I > ran into many problems with having hundreds of ImageIO being > utilized at > the same time. There were problems with having too many files > open at the > same time along with ImageIO libraries that couldn?t handle single > threaded access to multiple files. > > [1] > https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Filtering/ImageGrid/include/itkTileImageFilter.hxx#L125-L136 > > > > > > [2] https://itk.org/Doxygen/html/classitk_1_1PipelineMonitorImageFilter.html > > > > On Jul 21, 2016, at 6:41 AM, Grothausmann, Roman Dr. > > wrote: > > Dear mailing list members, > > > Based on the examples for TileImageFilter I've created a > working CLI > to append an arbitrary number of inputs > (https://github.com/romangrothausmann/ITK-CLIs/blob/4fdf5778022598dcf83fb38e6002df72bd67bef3/tile.cxx > ). > > > > > As there is an example that does not apply Update and DisconnectPipeline on > the readers > (https://itk.org/Doxygen/html/SphinxExamples_2src_2Filtering_2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2 > ) > > > I changed my code such that a reader instance is created for > each input > in a for-loop: > https://github.com/romangrothausmann/ITK-CLIs/commit/ebfc0aea37d28cbbf2bb22c3f56be52453cebde9 > > > > > > > However, the update from the writer seems not to propagate to the readers > whether streaming or not. Can the TileImageFilter not stream in such a case > or are further modifications necessary? > > > Thanks for any help or hints Roman > > > On 18/08/14 17:01, Michka Popoff wrote: > > Hi > > Going the way described in the CreateVolume example is > the way to > go. > > Why did you uncomment the DisconnectPipeline() call and > Update() call > in the for loop ? They need to stay there, else you will > always use > the last image. That?s why you see the same image, the > single update > call will be triggered at the end of the script and read > only one > image. > > You don?t need to call tileFilter->Update(), you can > remove this > line. The writer->Update() will take care of the > pipeline update. As > a bonus, you may wrap your writer->Update() call, to > fetch errors at > the end of the pipeline: > > try { writer->Update(); } catch( itk::ExceptionObject & > error ) { > std::cerr << "Error: " << error << std::endl; return > EXIT_FAILURE; } > > I made a little Python prototype, the syntax is a little bit > different than in C++ but it gives you the main idea. > > Michka > > > -- Dr. Roman Grothausmann > > Tomographie und Digitale Bildverarbeitung Tomography and > Digital Image > Analysis > > Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 > Medizinische Hochschule Hannover Carl-Neuberg-Str. 1 D-30625 > Hannover > > Tel. +49 511 532-2900 > _____________________________________ Powered by > www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > _______________________________________________ Community > mailing list > Community at itk.org > http://public.kitware.com/mailman/listinfo/community > > > > > -- Dr. Roman Grothausmann > > Tomographie und Digitale Bildverarbeitung Tomography and Digital Image > Analysis > > Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 Medizinische > Hochschule Hannover Carl-Neuberg-Str. 1 D-30625 Hannover > > Tel. +49 511 532-2900 > > > > -- > Dr. Roman Grothausmann > > Tomographie und Digitale Bildverarbeitung > Tomography and Digital Image Analysis > > Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 > Medizinische Hochschule Hannover > Carl-Neuberg-Str. 1 > D-30625 Hannover > > Tel. +49 511 532-2900 > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > > -- Dr. Roman Grothausmann Tomographie und Digitale Bildverarbeitung Tomography and Digital Image Analysis Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 Medizinische Hochschule Hannover Carl-Neuberg-Str. 1 D-30625 Hannover Tel. +49 511 532-2900 From grothausmann.roman at mh-hannover.de Mon Sep 12 05:49:35 2016 From: grothausmann.roman at mh-hannover.de (Grothausmann, Roman Dr.) Date: Mon, 12 Sep 2016 11:49:35 +0200 Subject: [ITK-users] [vtkusers] Testing ITK/VTK/PV contributions with (kitware) Gitlab-CI In-Reply-To: References: <20160908131417.GB13993@megas.kitware.com> Message-ID: Many thanks Ben and D?enan for Your replies and pointing me to CircleCI. I see that testing contributions employing PV,VTK and ITK all together is rather challenging. I wonder though why my pure VTK (PV) based contribution did not get tested when submitted to the VTK-Journal, e.g. http://www.midasjournal.org/browse/publication/949 Is the testing the VTK/Midas Journals used to do not available any more? Regards, Roman On 08/09/16 16:26, D?enan Zuki? wrote: > Hi Roman, > > some of ITK's remote modules are using CircleCI for testing. Two recent examples > are RLEImage and > MorphologicalContourInterpolation > . Of > course, you should be familiar, or familiarize yourself with CircleCI > . > > Regards, > D?enan > > On Thu, Sep 8, 2016 at 9:14 AM, Ben Boeckel > wrote: > > On Thu, Sep 08, 2016 at 12:36:40 +0200, Grothausmann, Roman Dr. wrote: > > Just getting to know Gitlab-CI, I am wondering whether it is possible to test > > contributions to ITK/VTK/PV with Gitlab-CI from gitlab.com or > > gitlab.kitware.com . As far as I understand, this > basically needs runners, in > > this case specific to ITK/VTK/PV. Since kitware has done CI even before the use > > of gitlab, I wonder if the former testing environments are available for use > > with Gitlab-CI and if so how to use them. > > We're (VTK and ParaView) using buildbot to manage our testing. The > number of settings we test across machines is hard to specify in YAML > files (machines also have different settings based on what you're > testing, e.g., load up a different compiler or Qt4 or Qt5 and the paths > they live in, etc.). We're working on improving the hardware situation > buildbot is currently in; things should be getting better over the next > few months on that front. > > > For example, none of my contributions to the ITK/VTK/Midas Journals got into the > > testing phase even though marked for testing during submission. So a possibility > > to use Gitlab-CI to test the compilation and to run the project test would be > > really great, especially for continued development and testing on other OSs. > > Specifically, for e.g. testing my FacetAnalyser contribution > > (http://www.midasjournal.org/browse/publication/951 > > > https://gitlab.com/romangrothausmann/FacetAnalyser > ) I would need a runner > > environment with PV, VTK and ITK ideally for Linux, MacOS and Windows. > > ITK is using Gerrit and Jenkins, not Gitlab. > > --Ben > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > Please keep messages on-topic and check the VTK FAQ at: > http://www.vtk.org/Wiki/VTK_FAQ > > Search the list archives at: http://markmail.org/search/?q=vtkusers > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/vtkusers > > > -- Dr. Roman Grothausmann Tomographie und Digitale Bildverarbeitung Tomography and Digital Image Analysis Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 Medizinische Hochschule Hannover Carl-Neuberg-Str. 1 D-30625 Hannover Tel. +49 511 532-2900 From dzenanz at gmail.com Mon Sep 12 09:10:00 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Mon, 12 Sep 2016 09:10:00 -0400 Subject: [ITK-users] [vtkusers] Testing ITK/VTK/PV contributions with (kitware) Gitlab-CI In-Reply-To: References: <20160908131417.GB13993@megas.kitware.com> Message-ID: Hi Roman, I don't think that Insight and Midas journals' testing infrastructure is functional any more. Perhaps Matt can provide more info? Regards, D?enan On Mon, Sep 12, 2016 at 5:49 AM, Grothausmann, Roman Dr. < grothausmann.roman at mh-hannover.de> wrote: > Many thanks Ben and D?enan for Your replies and pointing me to CircleCI. I > see that testing contributions employing PV,VTK and ITK all together is > rather challenging. > > I wonder though why my pure VTK (PV) based contribution did not get tested > when submitted to the VTK-Journal, e.g. > http://www.midasjournal.org/browse/publication/949 > > Is the testing the VTK/Midas Journals used to do not available any more? > > Regards, > Roman > > On 08/09/16 16:26, D?enan Zuki? wrote: > >> Hi Roman, >> >> some of ITK's remote modules are using CircleCI for testing. Two recent >> examples >> are RLEImage and >> MorphologicalContourInterpolation >> . >> Of >> course, you should be familiar, or familiarize yourself with CircleCI >> . >> >> Regards, >> D?enan >> >> On Thu, Sep 8, 2016 at 9:14 AM, Ben Boeckel > > wrote: >> >> On Thu, Sep 08, 2016 at 12:36:40 +0200, Grothausmann, Roman Dr. wrote: >> > Just getting to know Gitlab-CI, I am wondering whether it is >> possible to test >> > contributions to ITK/VTK/PV with Gitlab-CI from gitlab.com < >> http://gitlab.com> or >> > gitlab.kitware.com . As far as I >> understand, this >> basically needs runners, in >> > this case specific to ITK/VTK/PV. Since kitware has done CI even >> before the use >> > of gitlab, I wonder if the former testing environments are >> available for use >> > with Gitlab-CI and if so how to use them. >> >> We're (VTK and ParaView) using buildbot to manage our testing. The >> number of settings we test across machines is hard to specify in YAML >> files (machines also have different settings based on what you're >> testing, e.g., load up a different compiler or Qt4 or Qt5 and the >> paths >> they live in, etc.). We're working on improving the hardware situation >> buildbot is currently in; things should be getting better over the >> next >> few months on that front. >> >> > For example, none of my contributions to the ITK/VTK/Midas Journals >> got into the >> > testing phase even though marked for testing during submission. So >> a possibility >> > to use Gitlab-CI to test the compilation and to run the project >> test would be >> > really great, especially for continued development and testing on >> other OSs. >> > Specifically, for e.g. testing my FacetAnalyser contribution >> > (http://www.midasjournal.org/browse/publication/951 >> >> > https://gitlab.com/romangrothausmann/FacetAnalyser >> ) I would need a >> runner >> > environment with PV, VTK and ITK ideally for Linux, MacOS and >> Windows. >> >> ITK is using Gerrit and Jenkins, not Gitlab. >> >> --Ben >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> >> Please keep messages on-topic and check the VTK FAQ at: >> http://www.vtk.org/Wiki/VTK_FAQ >> >> Search the list archives at: http://markmail.org/search/?q=vtkusers >> >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/vtkusers >> >> >> >> > -- > Dr. Roman Grothausmann > > Tomographie und Digitale Bildverarbeitung > Tomography and Digital Image Analysis > > Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 > Medizinische Hochschule Hannover > Carl-Neuberg-Str. 1 > D-30625 Hannover > > Tel. +49 511 532-2900 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Mon Sep 12 11:41:27 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Mon, 12 Sep 2016 11:41:27 -0400 Subject: [ITK-users] get outputs from a std::vector list of smart-pointers of image-filters In-Reply-To: References: <809fecd2-0c04-374d-ec1c-d52ef3420fe3@mh-hannover.de> Message-ID: Hi Roman, can you turn smoother->SetInput(savedPointers[i]->GetOutput()); into if (i==0) smoother->SetInput(static_cast(savedPointers[i])->GetOutput()); else smoother->SetInput(static_cast(savedPointers[i])->GetOutput()); or something similar and see whether that works? Regards, D?enan On Mon, Sep 12, 2016 at 5:41 AM, Grothausmann, Roman Dr. < grothausmann.roman at mh-hannover.de> wrote: > On 09/09/16 16:21, D?enan Zuki? wrote: > >> Hi Roman, >> >> you should not save the pointer the SmartPointer encapsulates, but rather >> the >> SmartPointer itself. The saving line of code should not be >> savedPointers.push_back(caster.GetPointer()); >> but rather >> savedPointers.push_back(caster); >> and later usage should not be >> smoother->SetInput(dynamic_cast(savedPointers[i]. >> GetPointer())->GetOutput()); >> but rather >> smoother->SetInput(savedPointers[i]->GetOutput()); >> > > Many thanks D?enan for Your reply. I tried as You suggested: > > https://github.com/romangrothausmann/ITK-CLIs/commit/b00551f > af951192f50e4090d683300524b4c95ba > > but am getting: > > resample.cxx:79:49: error: no matching function for call to > ?itk::ProcessObject::GetOutput()? > smoother->SetInput(savedPointers[i]->GetOutput()); > ^ > resample.cxx:79:49: note: candidates are: > In file included from resample.cxx:5: > /opt/itk-4.9.1/include/ITK-4.9/itkProcessObject.h:612:16: note: > itk::DataObject* itk::ProcessObject::GetOutput(const > DataObjectIdentifierType&) > DataObject * GetOutput(const DataObjectIdentifierType & key); > ^ > > I also tried: > std::vector savedPointers; > std::vector savedPointers; > std::vector< itk::SmartPointer > savedPointers; > but always got compile errors. > I am confused when to use the smart-pointer as is and when with > .GetPointer(). > > According to > > https://cmake.org/pipermail/insight-users/2007-May/022374.html > > I also tried storing the output-pointers (without pipe-line disconnection) > in a separate list > > https://github.com/romangrothausmann/ITK-CLIs/commit/d9b5c3f > 1a786b595255a9153da9ceafd88d2a189 > > which does not compile either: > > resample.cxx:77:5: error: request for member ?GetPointer? in > ?caster.itk::SmartPointer::operator-> 1u>, itk::Image > >()->itk::CastImageFilter 1u>, itk::Image >::.itk::UnaryFunct > orImageFilter, itk::Image, > itk::Functor::Cast >::.itk::InPlaceImageFilter 1u>, itk::Image >::.itk::ImageToImageFilter 1u>, itk::Image >::.itk::ImageSourc > e::GetOutput >()?, which is of > pointer type ?itk::ImageSource >::OutputImageType* > {aka itk::Image*}? (maybe you meant to use ?->? ?) > savedOutPointers.push_back(caster->GetOutput().GetPointer()); > ^ > > I'm wondering if construct as needed is not possible at all because I > can't find anything like that in the ITK-sources or examples. For the code > snippets I can find in the MLs it is not clear whether they got tested and > were accepted by a compiler. > > Any further ideas? > > Best > Roman > > > On Fri, Sep 9, 2016 at 8:29 AM, Grothausmann, Roman Dr. >> > hannover.de>> >> wrote: >> >> On 22/07/16 14:49, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: >> >> Hi, >> >> Who is holding the pointer to the newly created ImageFileReader >> outside of >> the loop? For that type of operation I?ll frequently just stash >> smart >> pointers into a std::vector or list. >> >> >> I tried to change the resample example >> (https://itk.org/Doxygen/html/Examples_2Filtering_2ResampleV >> olumesToBeIsotropic_8cxx-example.html >> > olumesToBeIsotropic_8cxx-example.html> >> that uses itkRecursiveGaussianImageFilter for each dimension) such >> that it works >> for any dimensional image. >> Doing as Brad suggested and storing each smart-pointer of >> itkRecursiveGaussianImageFilter in a std::vector I get a program >> (https://github.com/romangrothausmann/ITK-CLIs/blob/0968dd25 >> af2abc37ffb0c0503cc4c2972b3b2098/resample.cxx >> > af2abc37ffb0c0503cc4c2972b3b2098/resample.cxx>) >> that compiles but segfaults when used. I guess the way I'm trying to >> dereference a pointer from the list is not correct >> (https://github.com/romangrothausmann/ITK-CLIs/commit/0968dd >> 25af2abc37ffb0c0503cc4c2972b3b2098#diff-cb1b1c6837c6074372c2 >> 20250cfdbb36R80 >> > 25af2abc37ffb0c0503cc4c2972b3b2098#diff-cb1b1c6837c6074372c2 >> 20250cfdbb36R80>) >> but I could not find an example except the one referenced in the code >> line. >> So how to correctly dereference a pointer from the list of >> smart-pointers to >> get its output? >> >> Thank for any help or hints >> Roman >> >> On Jul 22, 2016, at 6:00 AM, Grothausmann, Roman Dr. >> > > wrote: >> >> Many thanks Brad for Your detailed reply. I understand now >> the problems >> concerning streaming TileImageFilter. However I still wonder >> why my >> non-streaming version also does not work any more after >> moving the >> creation >> of reader instances into the for-loop: >> https://github.com/romangrothausmann/ITK-CLIs/blob/ebfc0aea3 >> 7d28cbbf2bb22c3f56be52453cebde9/tile.cxx#L46-L50 >> > 37d28cbbf2bb22c3f56be52453cebde9/tile.cxx#L46-L50> >> >> >> >> Is this construct inappropriate for the TileImageFilter? >> >> Why does it work for: >> https://itk.org/Doxygen/html/SphinxExamples_2src_2Filtering_ >> 2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2 >> > _2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2> >> >> >> >> On 21/07/16 15:41, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: >> >> Hello, >> >> The TileImageFilter does not fully stream [1]. The filter >> also >> has some >> odd behavior, and other older implementation details. If >> you are >> going to >> work on a streaming pipelines it is best practice to >> examine the >> filters >> to determine how the Requested regions behave. >> >> However, there is no reason that the TileImageFilter >> algorithm >> couldn?t >> support streaming. It is just a matter of code and a >> bunch of >> testing. A >> contribution for this issue would be welcomed! Also this >> filter >> is in >> need a refactoring and bring it up to several other best >> practices. There >> are several issue with the current implementation that >> would >> cause it not >> to work correctly with a streaming pipeline, and cause >> excessive >> execution. >> >> You can also use the PipelieMoniotorImageFilter to record >> and >> print the >> pipeline interaction during Update [2]. This information >> helps with >> debugging and diagnosing problems, but if the pipeline is >> mis-behaving ( >> as the TileImageFilter may ), the information may not be >> correct. >> >> I have tried similar streaming with the >> JoinSeriesImageFilter. >> However I >> ran into many problems with having hundreds of ImageIO >> being >> utilized at >> the same time. There were problems with having too many >> files >> open at the >> same time along with ImageIO libraries that couldn?t >> handle single >> threaded access to multiple files. >> >> [1] >> https://github.com/InsightSoftwareConsortium/ITK/blob/ >> master/Modules/Filtering/ImageGrid/include/itkTileImageFilte >> r.hxx#L125-L136 >> > master/Modules/Filtering/ImageGrid/include/itkTileImageFilte >> r.hxx#L125-L136> >> >> >> >> >> [2] https://itk.org/Doxygen/html/classitk_1_1PipelineMonitorImag >> eFilter.html >> > geFilter.html> >> >> >> On Jul 21, 2016, at 6:41 AM, Grothausmann, Roman Dr. >> > > wrote: >> >> Dear mailing list members, >> >> >> Based on the examples for TileImageFilter I've >> created a >> working CLI >> to append an arbitrary number of inputs >> (https://github.com/romangroth >> ausmann/ITK-CLIs/blob/4fdf5778022598dcf83fb38e6002df72bd67bef3/tile.cxx >> > ausmann/ITK-CLIs/blob/4fdf5778022598dcf83fb38e6002df72bd67bef3/tile.cxx >> >). >> >> >> >> >> As there is an example that does not apply Update and >> DisconnectPipeline on >> the readers >> (https://itk.org/Doxygen/html/SphinxExamples_2src_2Filtering >> _2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2 >> > _2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2>) >> >> >> >> I changed my code such that a reader instance is >> created for >> each input >> in a for-loop: >> https://github.com/romangrotha >> usmann/ITK-CLIs/commit/ebfc0aea37d28cbbf2bb22c3f56be52453cebde9 >> > ausmann/ITK-CLIs/commit/ebfc0aea37d28cbbf2bb22c3f56be52453cebde9> >> >> >> >> >> >> However, the update from the writer seems not to propagate to the >> readers >> whether streaming or not. Can the TileImageFilter not stream in such >> a case >> or are further modifications necessary? >> >> >> Thanks for any help or hints Roman >> >> >> On 18/08/14 17:01, Michka Popoff wrote: >> >> Hi >> >> Going the way described in the CreateVolume >> example is >> the way to >> go. >> >> Why did you uncomment the DisconnectPipeline() >> call and >> Update() call >> in the for loop ? They need to stay there, else >> you will >> always use >> the last image. That?s why you see the same >> image, the >> single update >> call will be triggered at the end of the script >> and read >> only one >> image. >> >> You don?t need to call tileFilter->Update(), you >> can >> remove this >> line. The writer->Update() will take care of the >> pipeline update. As >> a bonus, you may wrap your writer->Update() call, >> to >> fetch errors at >> the end of the pipeline: >> >> try { writer->Update(); } catch( >> itk::ExceptionObject & >> error ) { >> std::cerr << "Error: " << error << std::endl; >> return >> EXIT_FAILURE; } >> >> I made a little Python prototype, the syntax is a >> little bit >> different than in C++ but it gives you the main >> idea. >> >> Michka >> >> >> -- Dr. Roman Grothausmann >> >> Tomographie und Digitale Bildverarbeitung Tomography >> and >> Digital Image >> Analysis >> >> Institut f?r Funktionelle und Angewandte Anatomie, OE >> 4120 >> Medizinische Hochschule Hannover Carl-Neuberg-Str. 1 >> D-30625 >> Hannover >> >> Tel. +49 511 532-2900 >> _____________________________________ Powered by >> www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> >> Kitware offers ITK Training Courses, for more >> information visit: >> http://www.kitware.com/products/protraining.php >> >> >> Please keep messages on-topic and check the ITK FAQ >> at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mail >> man/listinfo/insight-users >> > lman/listinfo/insight-users> >> _______________________________________________ >> Community >> mailing list >> Community at itk.org >> http://public.kitware.com/mailman/listinfo/community >> > > >> >> >> >> -- Dr. Roman Grothausmann >> >> Tomographie und Digitale Bildverarbeitung Tomography and >> Digital Image >> Analysis >> >> Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 >> Medizinische >> Hochschule Hannover Carl-Neuberg-Str. 1 D-30625 Hannover >> >> Tel. +49 511 532-2900 >> >> >> >> -- >> Dr. Roman Grothausmann >> >> Tomographie und Digitale Bildverarbeitung >> Tomography and Digital Image Analysis >> >> Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 >> Medizinische Hochschule Hannover >> Carl-Neuberg-Str. 1 >> D-30625 Hannover >> >> Tel. +49 511 532-2900 >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> >> >> >> > -- > Dr. Roman Grothausmann > > Tomographie und Digitale Bildverarbeitung > Tomography and Digital Image Analysis > > Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 > Medizinische Hochschule Hannover > Carl-Neuberg-Str. 1 > D-30625 Hannover > > Tel. +49 511 532-2900 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Mon Sep 12 11:43:53 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Mon, 12 Sep 2016 11:43:53 -0400 Subject: [ITK-users] (no subject) In-Reply-To: References: Message-ID: Hi Meikolon, maybe ImageJ uses threshold on 0-100 scale? ITK uses 0-255 scale for 8-bit data. Regards, D?enan On Sun, Sep 11, 2016 at 3:33 PM, meikolin saimara wrote: > hello every I want to ask you all.. > I have a problem in itk. > I used binaryThresholdimagefilter on ITK and I got the image then I want > to compare the result with another software. > the software is ImageJ. I got the result it is so different each other > software eventhough I put the same value of lowerthreshold and > upperthreshold in both of the software. > I use ImageJ with Threshold 8 bit. > How It can different??? > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fisidoro at ethz.ch Mon Sep 12 15:19:23 2016 From: fisidoro at ethz.ch (D'Isidoro Fabio) Date: Mon, 12 Sep 2016 19:19:23 +0000 Subject: [ITK-users] ITK with Python Wrap: print itkMatrix proxy object Message-ID: <50B858FB5F53124F9E32314E5C1B409435B98EB8@MBX112.d.ethz.ch> Hallo, I am using ITK with Python wrap. I would like to print the direction matrix of a 3D image obtained with the command image.GetDirection() However, what is printed is just > I understand it's related to the wrapping, but how can I solve it? Thank you, Fabio -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.mccormick at kitware.com Mon Sep 12 17:07:46 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Mon, 12 Sep 2016 17:07:46 -0400 Subject: [ITK-users] ITK with Python Wrap: print itkMatrix proxy object In-Reply-To: <50B858FB5F53124F9E32314E5C1B409435B98EB8@MBX112.d.ethz.ch> References: <50B858FB5F53124F9E32314E5C1B409435B98EB8@MBX112.d.ethz.ch> Message-ID: Hallo Fabio, To print elements of the matrix, for example, the first row and the first column: direction = image.GetDirection() vnlDirection = direction.GetVnlMatrix() print(vnlDirection.get(0, 0) HTH, Matt On Mon, Sep 12, 2016 at 3:19 PM, D'Isidoro Fabio wrote: > Hallo, > > > > I am using ITK with Python wrap. I would like to print the direction matrix > of a 3D image obtained with the command > > > > image.GetDirection() > > > > However, what is printed is just > > > > *? at 0x0D3E1470> > > > > > I understand it?s related to the wrapping, but how can I solve it? > > > > Thank you, > > > > Fabio > > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > From Roy.Harnish at ucsf.edu Mon Sep 12 17:15:44 2016 From: Roy.Harnish at ucsf.edu (Harnish, Roy) Date: Mon, 12 Sep 2016 21:15:44 +0000 Subject: [ITK-users] ITK with Python Wrap: print itkMatrix proxy object In-Reply-To: <50B858FB5F53124F9E32314E5C1B409435B98EB8@MBX112.d.ethz.ch> References: <50B858FB5F53124F9E32314E5C1B409435B98EB8@MBX112.d.ethz.ch> Message-ID: Hi Fabio, You could try / take a look at these two functions that are related to image direction. I have had some confusion about direction matrix orientation and how to index into it, so these aren't guaranteed to be correct. Hope this helps. Roy def itkImage_print_direction_cosine_matrix(itkImage): vnl_matrix = itkImage.GetDirection().GetVnlMatrix() for i in range(3): for j in range(3): print "{:>8.4f}".format(vnl_matrix.get(i,j)), print def itkImage_set_direction_cosine_matrix(itkImage,direction_cosine_matrix): """ direction_cosine_matrix is assumed to be of the form R0 C0 S0 R1 C1 S1 R2 C2 S2 so we switch R and C to accomodate ITK's column major order. """ for i in range(3): for j in range(3): if j == 0: col_idx = 1 if j == 1: col_idx = 0 if j == 2: col_idx = 2 itkImage.GetDirection().GetVnlMatrix().set(i,j,direction_cosine_matrix[i,col_idx]) ________________________________ From: Insight-users [insight-users-bounces at itk.org] on behalf of D'Isidoro Fabio [fisidoro at ethz.ch] Sent: Monday, September 12, 2016 12:19 PM To: insight-users at itk.org Subject: [ITK-users] ITK with Python Wrap: print itkMatrix proxy object Hallo, I am using ITK with Python wrap. I would like to print the direction matrix of a 3D image obtained with the command image.GetDirection() However, what is printed is just > I understand it?s related to the wrapping, but how can I solve it? Thank you, Fabio -------------- next part -------------- An HTML attachment was scrubbed... URL: From tammy.diprima at stonybrook.edu Tue Sep 13 10:30:23 2016 From: tammy.diprima at stonybrook.edu (Tammy Diprima) Date: Tue, 13 Sep 2016 10:30:23 -0400 Subject: [ITK-users] sanity check, please Message-ID: Dear Friends, I've got a tiff image, which, when I read it in with ITK example " ReadUnknownImageType", pixel type is short. The following is correct for reading in that image, right? typedef itk::Image ShortImageType; typedef itk::ImageFileReader ReaderType; ReaderType::Pointer reader = ReaderType::New(); reader->SetFileName(filename); reader->Update(); ShortImageType::Pointer inputImage = reader->GetOutput(); I'm asking because example TIFFImageIO shows creating an image in memory *(rather than reading it from a file)*, but then it *writes* it as itk::TIFFImageIO. So I'm confused. Do I need to read it as TIFFImageIO? -------------- next part -------------- An HTML attachment was scrubbed... URL: From tevain at telecom-paristech.fr Tue Sep 13 10:42:53 2016 From: tevain at telecom-paristech.fr (Timothee Evain) Date: Tue, 13 Sep 2016 16:42:53 +0200 (CEST) Subject: [ITK-users] [ITK] sanity check, please In-Reply-To: References: Message-ID: <907278540.61233965.1473777773493.JavaMail.zimbra@enst.fr> Hi, That's actually what is done when you're using the image file reader. This filter (and it writing twin ImageFileWriter) are automatically calling the needed IO depending on the input/output format at run time. HTH, Tim ----- Mail original ----- De: "Tammy Diprima" ?: "Insight-users" Envoy?: Mardi 13 Septembre 2016 16:30:23 Objet: [ITK] [ITK-users] sanity check, please Dear Friends, I've got a tiff image, which, when I read it in with ITK example " ReadUnknownImageType ", pixel type is short. The following is correct for reading in that image, right? typedef itk::Image ShortImageType; typedef itk::ImageFileReader ReaderType; ReaderType::Pointer reader = ReaderType::New(); reader->SetFileName(filename); reader->Update(); ShortImageType::Pointer inputImage = reader->GetOutput(); I'm asking because example TIFFImageIO shows creating an image in memory (rather than reading it from a file) , but then it writes it as itk::TIFFImageIO . So I'm confused. Do I need to read it as TIFFImageIO ? _____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-users _______________________________________________ Community mailing list Community at itk.org http://public.kitware.com/mailman/listinfo/community From matt.mccormick at kitware.com Tue Sep 13 10:42:47 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Tue, 13 Sep 2016 10:42:47 -0400 Subject: [ITK-users] sanity check, please In-Reply-To: References: Message-ID: Hi Tammy, Yes, the code looks good and sane :-). Internally, your itk::ImageFileReader will use an itk::TIFFImageIO. After reading the images, the instance of the itk::ImageIO used can be obtained with the reader via [1] itk::ImageIOBase::Pointer imageIO = reader->GetImageIO(); std::cout << imageIO << std::endl; Hope this helps, Matt [1] https://itk.org/Doxygen/html/classitk_1_1ImageFileReader.html#a9786e003237eaa37f0d46714b2ba75c1 On Tue, Sep 13, 2016 at 10:30 AM, Tammy Diprima wrote: > Dear Friends, > > I've got a tiff image, which, when I read it in with ITK example > "ReadUnknownImageType", pixel type is short. > > The following is correct for reading in that image, right? > typedef itk::Image ShortImageType; > > typedef itk::ImageFileReader ReaderType; > > ReaderType::Pointer reader = ReaderType::New(); > reader->SetFileName(filename); > reader->Update(); > > ShortImageType::Pointer inputImage = reader->GetOutput(); > > I'm asking because example TIFFImageIO shows creating an image in memory > (rather than reading it from a file), but then it writes it as > itk::TIFFImageIO. > > So I'm confused. Do I need to read it as TIFFImageIO? > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > From tammy.diprima at stonybrook.edu Tue Sep 13 10:58:00 2016 From: tammy.diprima at stonybrook.edu (Tammy Diprima) Date: Tue, 13 Sep 2016 10:58:00 -0400 Subject: [ITK-users] sanity check, please In-Reply-To: References: Message-ID: Thank you Matt, as always, for your support :-) - Tammy On 13 September 2016 at 10:42, Matt McCormick wrote: > Hi Tammy, > > Yes, the code looks good and sane :-). > > Internally, your itk::ImageFileReader will use an itk::TIFFImageIO. > After reading the images, the instance of the itk::ImageIO used can be > obtained with the reader via [1] > > itk::ImageIOBase::Pointer imageIO = reader->GetImageIO(); > std::cout << imageIO << std::endl; > > Hope this helps, > Matt > > [1] https://itk.org/Doxygen/html/classitk_1_1ImageFileReader.html# > a9786e003237eaa37f0d46714b2ba75c1 > > On Tue, Sep 13, 2016 at 10:30 AM, Tammy wrote: > > Dear Friends, > > > > I've got a tiff image, which, when I read it in with ITK example > > "ReadUnknownImageType", pixel type is short. > > > > The following is correct for reading in that image, right? > > typedef itk::Image ShortImageType; > > > > typedef itk::ImageFileReader ReaderType; > > > > ReaderType::Pointer reader = ReaderType::New(); > > reader->SetFileName(filename); > > reader->Update(); > > > > ShortImageType::Pointer inputImage = reader->GetOutput(); > > > > I'm asking because example TIFFImageIO shows creating an image in memory > > (rather than reading it from a file), but then it writes it as > > itk::TIFFImageIO. > > > > So I'm confused. Do I need to read it as TIFFImageIO? > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From scorpiuni at gmail.com Wed Sep 14 14:24:22 2016 From: scorpiuni at gmail.com (Robert) Date: Wed, 14 Sep 2016 11:24:22 -0700 (MST) Subject: [ITK-users] Write to file Message-ID: <1473877462293-7589209.post@n2.nabble.com> Dear ITK community, is there a possibility to write the output of a shape function to a file? More precisely, if I take for example the geodesic segmentation filter, this inputs the shape to the algorithm: geodesicActiveContour->SetShapeFunction( shape ); However, I now want this "shape" object saved to a file for a later use, and not calculated on the fly each time running the algorithm. An imagefilewriter does not seem to do the job... Thanks in advance, Robert -- View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Write-to-file-tp7589209.html Sent from the ITK Insight Users mailing list archive at Nabble.com. From swetha.bsharma at gmail.com Thu Sep 15 03:26:38 2016 From: swetha.bsharma at gmail.com (swetha) Date: Thu, 15 Sep 2016 00:26:38 -0700 (MST) Subject: [ITK-users] itk mhd header Message-ID: <1473924398226-7589210.post@n2.nabble.com> Hi, I have this mhd file header ObjectType = Image NDims = 3 BinaryData = True BinaryDataByteOrderMSB = False CompressedData = False TransformMatrix = 1 0 0 0 1 0 0 0 1 Offset = 0 0 0 CenterOfRotation = 0 0 0 AnatomicalOrientation = RAI ElementSpacing = 1 1 1 bitpix = 8 cal_max = 256 cal_min = 0 datatype = 2 dim[0] = 4 dim[1] = 480 dim[2] = 480 dim[3] = 256 dim[4] = 1 dim[5] = 1 dim[6] = 0 dim[7] = 0 dim_info = intent_code = 0 intent_p1 = 1.86143e+034 intent_p2 = 0 intent_p3 = 0 pixdim[0] = 0 pixdim[1] = 1 pixdim[2] = 1 pixdim[3] = 1 pixdim[4] = 0 pixdim[5] = 0 pixdim[6] = 0 pixdim[7] = 0 qform_code = 0 qoffset_x = 0 qoffset_y = 0 qoffset_z = 0 quatern_b = 0 quatern_c = 0 quatern_d = 0 scl_inter = 0 scl_slope = 1 sform_code = 0 slice_code = slice_duration = 0 slice_end = 0 slice_start = 0 srow_x = 0 0 0 0 srow_y = 0 0 0 0 srow_z = 0 0 0 0 toffset = 0 vox_offset = 0 xyzt_units = DimSize = 480 480 256 ElementType = MET_SHORT ElementDataFile = usg2_-2.raw I want to know what the tags mean so that i can write a function to parse and display the image. -swetha -- View this message in context: http://itk-insight-users.2283740.n2.nabble.com/itk-mhd-header-tp7589210.html Sent from the ITK Insight Users mailing list archive at Nabble.com. From francois.budin at kitware.com Thu Sep 15 08:52:10 2016 From: francois.budin at kitware.com (Francois Budin) Date: Thu, 15 Sep 2016 08:52:10 -0400 Subject: [ITK-users] itk mhd header In-Reply-To: <1473924398226-7589210.post@n2.nabble.com> References: <1473924398226-7589210.post@n2.nabble.com> Message-ID: Hello Swetha, The easiest way to load an mhd file is to use itkImageFileReader [1]. The ITK Software Guide (pdf) [2] has great examples on how to read an image in section "4.1.2 Reading an Image from a File". This will make is much simplier to actually read the image without having to worry about the format and the tags (ITK supports a wide variety of formats including Meta images such as mhd and mha files). To display the image, you will need to read: * the size: image->GetLargestPossibleRegion().GetSize() * the spacing: image->GetSpacing() * the direction matrix: image->GetDirection() * the origin: image->GetOrigin() If you want to read the mhd file manually, it will be more complicated, but you can look at [3]. In the case of your specific header, it seems to me that you have extra tags that are coming from the conversion of a NIFTI image into your mhd file (basically all the tags that start with a lower case), which makes your header harder to read, although this will not be a problem to read this image with ITK. Hope this helps, Francois [1] https://itk.org/Doxygen/html/classitk_1_1ImageFileReader.html [2] https://itk.org/ItkSoftwareGuide.pdf [3] https://itk.org/Wiki/ITK/MetaIO/Documentation On Thu, Sep 15, 2016 at 3:26 AM, swetha wrote: > Hi, > > I have this mhd file header > > ObjectType = Image > NDims = 3 > BinaryData = True > BinaryDataByteOrderMSB = False > CompressedData = False > TransformMatrix = 1 0 0 0 1 0 0 0 1 > Offset = 0 0 0 > CenterOfRotation = 0 0 0 > AnatomicalOrientation = RAI > ElementSpacing = 1 1 1 > bitpix = 8 > cal_max = 256 > cal_min = 0 > datatype = 2 > dim[0] = 4 > dim[1] = 480 > dim[2] = 480 > dim[3] = 256 > dim[4] = 1 > dim[5] = 1 > dim[6] = 0 > dim[7] = 0 > dim_info = > intent_code = 0 > intent_p1 = 1.86143e+034 > intent_p2 = 0 > intent_p3 = 0 > pixdim[0] = 0 > pixdim[1] = 1 > pixdim[2] = 1 > pixdim[3] = 1 > pixdim[4] = 0 > pixdim[5] = 0 > pixdim[6] = 0 > pixdim[7] = 0 > qform_code = 0 > qoffset_x = 0 > qoffset_y = 0 > qoffset_z = 0 > quatern_b = 0 > quatern_c = 0 > quatern_d = 0 > scl_inter = 0 > scl_slope = 1 > sform_code = 0 > slice_code = > slice_duration = 0 > slice_end = 0 > slice_start = 0 > srow_x = 0 0 0 0 > srow_y = 0 0 0 0 > srow_z = 0 0 0 0 > toffset = 0 > vox_offset = 0 > xyzt_units = > DimSize = 480 480 256 > ElementType = MET_SHORT > ElementDataFile = usg2_-2.raw > > I want to know what the tags mean so that i can write a function to parse > and display the image. > -swetha > > > > > -- > View this message in context: http://itk-insight-users. > 2283740.n2.nabble.com/itk-mhd-header-tp7589210.html > Sent from the ITK Insight Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From blowekamp at mail.nih.gov Thu Sep 15 09:07:11 2016 From: blowekamp at mail.nih.gov (Lowekamp, Bradley (NIH/NLM/LHC) [C]) Date: Thu, 15 Sep 2016 13:07:11 +0000 Subject: [ITK-users] itk mhd header In-Reply-To: <1473924398226-7589210.post@n2.nabble.com> References: <1473924398226-7589210.post@n2.nabble.com> Message-ID: <62ADBFC4-D6AD-4E26-9A95-8BA6C49D9BDF@mail.nih.gov> MetaIO does not have many formal fields. Those that are defined are here: https://itk.org/Wiki/ITK/MetaIO/Documentation MetaIO Image from ITK also writes out the ITK's Meta Data Dictionary along with the image. The dictionary can contain arbitrary information. These fields looks like they came from a NIFT file: https://brainder.org/2012/09/23/the-nifti-file-format/ It is generally more productive to learn how to use existing libraries as opposed to hacking your own for IO. This help ensure that everyones files are compatible and usable. HTH, Brad > On Sep 15, 2016, at 3:26 AM, swetha wrote: > > Hi, > > I have this mhd file header > > ObjectType = Image > NDims = 3 > BinaryData = True > BinaryDataByteOrderMSB = False > CompressedData = False > TransformMatrix = 1 0 0 0 1 0 0 0 1 > Offset = 0 0 0 > CenterOfRotation = 0 0 0 > AnatomicalOrientation = RAI > ElementSpacing = 1 1 1 > bitpix = 8 > cal_max = 256 > cal_min = 0 > datatype = 2 > dim[0] = 4 > dim[1] = 480 > dim[2] = 480 > dim[3] = 256 > dim[4] = 1 > dim[5] = 1 > dim[6] = 0 > dim[7] = 0 > dim_info = > intent_code = 0 > intent_p1 = 1.86143e+034 > intent_p2 = 0 > intent_p3 = 0 > pixdim[0] = 0 > pixdim[1] = 1 > pixdim[2] = 1 > pixdim[3] = 1 > pixdim[4] = 0 > pixdim[5] = 0 > pixdim[6] = 0 > pixdim[7] = 0 > qform_code = 0 > qoffset_x = 0 > qoffset_y = 0 > qoffset_z = 0 > quatern_b = 0 > quatern_c = 0 > quatern_d = 0 > scl_inter = 0 > scl_slope = 1 > sform_code = 0 > slice_code = > slice_duration = 0 > slice_end = 0 > slice_start = 0 > srow_x = 0 0 0 0 > srow_y = 0 0 0 0 > srow_z = 0 0 0 0 > toffset = 0 > vox_offset = 0 > xyzt_units = > DimSize = 480 480 256 > ElementType = MET_SHORT > ElementDataFile = usg2_-2.raw > > I want to know what the tags mean so that i can write a function to parse > and display the image. > -swetha > > > > > -- > View this message in context: http://itk-insight-users.2283740.n2.nabble.com/itk-mhd-header-tp7589210.html > Sent from the ITK Insight Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users From swetha.bsharma at gmail.com Thu Sep 15 09:11:06 2016 From: swetha.bsharma at gmail.com (Swetha Sharma) Date: Thu, 15 Sep 2016 13:11:06 +0000 Subject: [ITK-users] itk mhd header In-Reply-To: <62ADBFC4-D6AD-4E26-9A95-8BA6C49D9BDF@mail.nih.gov> References: <1473924398226-7589210.post@n2.nabble.com> <62ADBFC4-D6AD-4E26-9A95-8BA6C49D9BDF@mail.nih.gov> Message-ID: I am trying to read the file using an application outside itk.it can read the regular .mhd but it failed when I input this. When I investigated the header I found these tags hence the post On Thu, 15 Sep 2016, 18:37 Lowekamp, Bradley (NIH/NLM/LHC) [C], < blowekamp at mail.nih.gov> wrote: > MetaIO does not have many formal fields. Those that are defined are here: > > https://itk.org/Wiki/ITK/MetaIO/Documentation > > MetaIO Image from ITK also writes out the ITK's Meta Data Dictionary along > with the image. The dictionary can contain arbitrary information. These > fields looks like they came from a NIFT file: > > https://brainder.org/2012/09/23/the-nifti-file-format/ > > It is generally more productive to learn how to use existing libraries as > opposed to hacking your own for IO. This help ensure that everyones files > are compatible and usable. > > HTH, > Brad > > > On Sep 15, 2016, at 3:26 AM, swetha wrote: > > > > Hi, > > > > I have this mhd file header > > > > ObjectType = Image > > NDims = 3 > > BinaryData = True > > BinaryDataByteOrderMSB = False > > CompressedData = False > > TransformMatrix = 1 0 0 0 1 0 0 0 1 > > Offset = 0 0 0 > > CenterOfRotation = 0 0 0 > > AnatomicalOrientation = RAI > > ElementSpacing = 1 1 1 > > bitpix = 8 > > cal_max = 256 > > cal_min = 0 > > datatype = 2 > > dim[0] = 4 > > dim[1] = 480 > > dim[2] = 480 > > dim[3] = 256 > > dim[4] = 1 > > dim[5] = 1 > > dim[6] = 0 > > dim[7] = 0 > > dim_info = > > intent_code = 0 > > intent_p1 = 1.86143e+034 > > intent_p2 = 0 > > intent_p3 = 0 > > pixdim[0] = 0 > > pixdim[1] = 1 > > pixdim[2] = 1 > > pixdim[3] = 1 > > pixdim[4] = 0 > > pixdim[5] = 0 > > pixdim[6] = 0 > > pixdim[7] = 0 > > qform_code = 0 > > qoffset_x = 0 > > qoffset_y = 0 > > qoffset_z = 0 > > quatern_b = 0 > > quatern_c = 0 > > quatern_d = 0 > > scl_inter = 0 > > scl_slope = 1 > > sform_code = 0 > > slice_code = > > slice_duration = 0 > > slice_end = 0 > > slice_start = 0 > > srow_x = 0 0 0 0 > > srow_y = 0 0 0 0 > > srow_z = 0 0 0 0 > > toffset = 0 > > vox_offset = 0 > > xyzt_units = > > DimSize = 480 480 256 > > ElementType = MET_SHORT > > ElementDataFile = usg2_-2.raw > > > > I want to know what the tags mean so that i can write a function to parse > > and display the image. > > -swetha > > > > > > > > > > -- > > View this message in context: > http://itk-insight-users.2283740.n2.nabble.com/itk-mhd-header-tp7589210.html > > Sent from the ITK Insight Users mailing list archive at Nabble.com. > > _____________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Kitware offers ITK Training Courses, for more information visit: > > http://www.kitware.com/products/protraining.php > > > > Please keep messages on-topic and check the ITK FAQ at: > > http://www.itk.org/Wiki/ITK_FAQ > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/insight-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From will.schroeder at kitware.com Thu Sep 15 13:54:58 2016 From: will.schroeder at kitware.com (Will Schroeder) Date: Thu, 15 Sep 2016 13:54:58 -0400 Subject: [ITK-users] VTK Textbook and User's Guide now available for download Message-ID: Kitware is releasing the VTK Textbook and VTK User's Guide for PDF download. Follow the links below to a landing page where you can buy a printed version, or download a PDF. Longer term, the plan is to convert these books to LaTeX (from Framemaker) and place the content into an open repository. The first step is to mostly duplicate what exists now; eventually we have the ambitious goal to completely rewrite / recombine / rethink the books. For example, using VTK.js (under development now) to offer web interaction with examples etc. We can certainly use the talents of the community to take this challenge on, so if you are interested please let me know. The Visualization Toolkit An Object-Oriented Approach to 3D Graphics (4th ed.) http://www.vtk.org/vtk-textbook/ pdf: http://www.kitware.com/products/books/VTKTextbook.pdf *The VTK User?s Guide* http://www.vtk.org/vtk-users-guide/ pdf: http://www.kitware.com/products/books/VTKUsersGuide.pdf Best, please let me know if there are issues or concerns. W -- William J. Schroeder, PhD Kitware, Inc. - Building the World's Technical Computing Software 28 Corporate Drive Clifton Park, NY 12065 will.schroeder at kitware.com http://www.kitware.com (518) 881-4902 -------------- next part -------------- An HTML attachment was scrubbed... URL: From francois.budin at kitware.com Thu Sep 15 15:07:30 2016 From: francois.budin at kitware.com (Francois Budin) Date: Thu, 15 Sep 2016 15:07:30 -0400 Subject: [ITK-users] [ITK-dev] VTK Textbook and User's Guide now available for download In-Reply-To: References: Message-ID: How about writing the book in a Jupyter notebook using a Python or a Javascript kernel to run the examples? I know it is possible to export the content of notebooks as PDFs through LaTeX, although I am not sure how the formatting is handled and if that would work for a book. Francois On Thu, Sep 15, 2016 at 1:54 PM, Will Schroeder wrote: > Kitware is releasing the VTK Textbook and VTK User's Guide for PDF > download. Follow the links below to a landing page where you can buy a > printed version, or download a PDF. > > Longer term, the plan is to convert these books to LaTeX (from Framemaker) > and place the content into an open repository. The first step is to mostly > duplicate what exists now; eventually we have the ambitious goal to > completely rewrite / recombine / rethink the books. For example, using > VTK.js (under development now) to offer web interaction with examples etc. > We can certainly use the talents of the community to take this challenge > on, so if you are interested please let me know. > > The Visualization Toolkit An Object-Oriented Approach to 3D Graphics (4th > ed.) > http://www.vtk.org/vtk-textbook/ > pdf: http://www.kitware.com/products/books/VTKTextbook.pdf > > *The VTK User?s Guide* > http://www.vtk.org/vtk-users-guide/ > pdf: http://www.kitware.com/products/books/VTKUsersGuide.pdf > > Best, please let me know if there are issues or concerns. > W > > -- > William J. Schroeder, PhD > Kitware, Inc. - Building the World's Technical Computing Software > 28 Corporate Drive > Clifton Park, NY 12065 > will.schroeder at kitware.com > http://www.kitware.com > (518) 881-4902 > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Thu Sep 15 15:36:35 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Thu, 15 Sep 2016 15:36:35 -0400 Subject: [ITK-users] itk mhd header In-Reply-To: References: <1473924398226-7589210.post@n2.nabble.com> <62ADBFC4-D6AD-4E26-9A95-8BA6C49D9BDF@mail.nih.gov> Message-ID: Hi Swetha, since NIFTI has a binary header, I guess someone confusingly dumped NIFTI header in text format and renamed that .mhd. That is neither valid MHD nor NIFTI. In short, it is a corrupted file. Regards, D?enan On Thu, Sep 15, 2016 at 9:11 AM, Swetha Sharma wrote: > I am trying to read the file using an application outside itk.it can read > the regular .mhd but it failed when I input this. > > When I investigated the header I found these tags hence the post > > On Thu, 15 Sep 2016, 18:37 Lowekamp, Bradley (NIH/NLM/LHC) [C], < > blowekamp at mail.nih.gov> wrote: > >> MetaIO does not have many formal fields. Those that are defined are here: >> >> https://itk.org/Wiki/ITK/MetaIO/Documentation >> >> MetaIO Image from ITK also writes out the ITK's Meta Data Dictionary >> along with the image. The dictionary can contain arbitrary information. >> These fields looks like they came from a NIFT file: >> >> https://brainder.org/2012/09/23/the-nifti-file-format/ >> >> It is generally more productive to learn how to use existing libraries as >> opposed to hacking your own for IO. This help ensure that everyones files >> are compatible and usable. >> >> HTH, >> Brad >> >> > On Sep 15, 2016, at 3:26 AM, swetha wrote: >> > >> > Hi, >> > >> > I have this mhd file header >> > >> > ObjectType = Image >> > NDims = 3 >> > BinaryData = True >> > BinaryDataByteOrderMSB = False >> > CompressedData = False >> > TransformMatrix = 1 0 0 0 1 0 0 0 1 >> > Offset = 0 0 0 >> > CenterOfRotation = 0 0 0 >> > AnatomicalOrientation = RAI >> > ElementSpacing = 1 1 1 >> > bitpix = 8 >> > cal_max = 256 >> > cal_min = 0 >> > datatype = 2 >> > dim[0] = 4 >> > dim[1] = 480 >> > dim[2] = 480 >> > dim[3] = 256 >> > dim[4] = 1 >> > dim[5] = 1 >> > dim[6] = 0 >> > dim[7] = 0 >> > dim_info = >> > intent_code = 0 >> > intent_p1 = 1.86143e+034 >> > intent_p2 = 0 >> > intent_p3 = 0 >> > pixdim[0] = 0 >> > pixdim[1] = 1 >> > pixdim[2] = 1 >> > pixdim[3] = 1 >> > pixdim[4] = 0 >> > pixdim[5] = 0 >> > pixdim[6] = 0 >> > pixdim[7] = 0 >> > qform_code = 0 >> > qoffset_x = 0 >> > qoffset_y = 0 >> > qoffset_z = 0 >> > quatern_b = 0 >> > quatern_c = 0 >> > quatern_d = 0 >> > scl_inter = 0 >> > scl_slope = 1 >> > sform_code = 0 >> > slice_code = >> > slice_duration = 0 >> > slice_end = 0 >> > slice_start = 0 >> > srow_x = 0 0 0 0 >> > srow_y = 0 0 0 0 >> > srow_z = 0 0 0 0 >> > toffset = 0 >> > vox_offset = 0 >> > xyzt_units = >> > DimSize = 480 480 256 >> > ElementType = MET_SHORT >> > ElementDataFile = usg2_-2.raw >> > >> > I want to know what the tags mean so that i can write a function to >> parse >> > and display the image. >> > -swetha >> > >> > >> > >> > >> > -- >> > View this message in context: http://itk-insight-users. >> 2283740.n2.nabble.com/itk-mhd-header-tp7589210.html >> > Sent from the ITK Insight Users mailing list archive at Nabble.com. >> > _____________________________________ >> > Powered by www.kitware.com >> > >> > Visit other Kitware open-source projects at >> > http://www.kitware.com/opensource/opensource.html >> > >> > Kitware offers ITK Training Courses, for more information visit: >> > http://www.kitware.com/products/protraining.php >> > >> > Please keep messages on-topic and check the ITK FAQ at: >> > http://www.itk.org/Wiki/ITK_FAQ >> > >> > Follow this link to subscribe/unsubscribe: >> > http://public.kitware.com/mailman/listinfo/insight-users >> >> > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From swetha.bsharma at gmail.com Fri Sep 16 00:26:34 2016 From: swetha.bsharma at gmail.com (Swetha Sharma) Date: Fri, 16 Sep 2016 04:26:34 +0000 Subject: [ITK-users] itk mhd header In-Reply-To: References: <1473924398226-7589210.post@n2.nabble.com> <62ADBFC4-D6AD-4E26-9A95-8BA6C49D9BDF@mail.nih.gov> Message-ID: Thank you dzenanz On Fri, 16 Sep 2016, 01:06 D?enan Zuki?, wrote: > Hi Swetha, > > since NIFTI has a binary header, I guess someone confusingly dumped NIFTI > header in text format and renamed that .mhd. That is neither valid MHD nor > NIFTI. In short, it is a corrupted file. > > Regards, > D?enan > > On Thu, Sep 15, 2016 at 9:11 AM, Swetha Sharma > wrote: > >> I am trying to read the file using an application outside itk.it can >> read the regular .mhd but it failed when I input this. >> >> When I investigated the header I found these tags hence the post >> >> On Thu, 15 Sep 2016, 18:37 Lowekamp, Bradley (NIH/NLM/LHC) [C], < >> blowekamp at mail.nih.gov> wrote: >> >>> MetaIO does not have many formal fields. Those that are defined are here: >>> >>> https://itk.org/Wiki/ITK/MetaIO/Documentation >>> >>> MetaIO Image from ITK also writes out the ITK's Meta Data Dictionary >>> along with the image. The dictionary can contain arbitrary information. >>> These fields looks like they came from a NIFT file: >>> >>> https://brainder.org/2012/09/23/the-nifti-file-format/ >>> >>> It is generally more productive to learn how to use existing libraries >>> as opposed to hacking your own for IO. This help ensure that everyones >>> files are compatible and usable. >>> >>> HTH, >>> Brad >>> >>> > On Sep 15, 2016, at 3:26 AM, swetha wrote: >>> > >>> > Hi, >>> > >>> > I have this mhd file header >>> > >>> > ObjectType = Image >>> > NDims = 3 >>> > BinaryData = True >>> > BinaryDataByteOrderMSB = False >>> > CompressedData = False >>> > TransformMatrix = 1 0 0 0 1 0 0 0 1 >>> > Offset = 0 0 0 >>> > CenterOfRotation = 0 0 0 >>> > AnatomicalOrientation = RAI >>> > ElementSpacing = 1 1 1 >>> > bitpix = 8 >>> > cal_max = 256 >>> > cal_min = 0 >>> > datatype = 2 >>> > dim[0] = 4 >>> > dim[1] = 480 >>> > dim[2] = 480 >>> > dim[3] = 256 >>> > dim[4] = 1 >>> > dim[5] = 1 >>> > dim[6] = 0 >>> > dim[7] = 0 >>> > dim_info = >>> > intent_code = 0 >>> > intent_p1 = 1.86143e+034 >>> > intent_p2 = 0 >>> > intent_p3 = 0 >>> > pixdim[0] = 0 >>> > pixdim[1] = 1 >>> > pixdim[2] = 1 >>> > pixdim[3] = 1 >>> > pixdim[4] = 0 >>> > pixdim[5] = 0 >>> > pixdim[6] = 0 >>> > pixdim[7] = 0 >>> > qform_code = 0 >>> > qoffset_x = 0 >>> > qoffset_y = 0 >>> > qoffset_z = 0 >>> > quatern_b = 0 >>> > quatern_c = 0 >>> > quatern_d = 0 >>> > scl_inter = 0 >>> > scl_slope = 1 >>> > sform_code = 0 >>> > slice_code = >>> > slice_duration = 0 >>> > slice_end = 0 >>> > slice_start = 0 >>> > srow_x = 0 0 0 0 >>> > srow_y = 0 0 0 0 >>> > srow_z = 0 0 0 0 >>> > toffset = 0 >>> > vox_offset = 0 >>> > xyzt_units = >>> > DimSize = 480 480 256 >>> > ElementType = MET_SHORT >>> > ElementDataFile = usg2_-2.raw >>> > >>> > I want to know what the tags mean so that i can write a function to >>> parse >>> > and display the image. >>> > -swetha >>> > >>> > >>> > >>> > >>> > -- >>> > View this message in context: >>> http://itk-insight-users.2283740.n2.nabble.com/itk-mhd-header-tp7589210.html >>> > Sent from the ITK Insight Users mailing list archive at Nabble.com. >>> > _____________________________________ >>> > Powered by www.kitware.com >>> > >>> > Visit other Kitware open-source projects at >>> > http://www.kitware.com/opensource/opensource.html >>> > >>> > Kitware offers ITK Training Courses, for more information visit: >>> > http://www.kitware.com/products/protraining.php >>> > >>> > Please keep messages on-topic and check the ITK FAQ at: >>> > http://www.itk.org/Wiki/ITK_FAQ >>> > >>> > Follow this link to subscribe/unsubscribe: >>> > http://public.kitware.com/mailman/listinfo/insight-users >>> >>> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From grothausmann.roman at mh-hannover.de Fri Sep 16 07:42:24 2016 From: grothausmann.roman at mh-hannover.de (Grothausmann, Roman Dr.) Date: Fri, 16 Sep 2016 13:42:24 +0200 Subject: [ITK-users] get outputs from a std::vector list of smart-pointers of image-filters In-Reply-To: References: <809fecd2-0c04-374d-ec1c-d52ef3420fe3@mh-hannover.de> Message-ID: <6df22bd5-bca5-8673-007d-d8c7887cf735@mh-hannover.de> On 12/09/16 17:41, D?enan Zuki? wrote: > can you turn > smoother->SetInput(savedPointers[i]->GetOutput()); > into > if (i==0) > > smoother->SetInput(static_cast(savedPointers[i])->GetOutput()); > else > > smoother->SetInput(static_cast(savedPointers[i])->GetOutput()); > or something similar and see whether that works? Did so, https://github.com/romangrothausmann/ITK-CLIs/commit/2cd1fbe4406eccbd6552e88e8be0a0ab1aad4ba6 but still getting compile errors like: resample.cxx:73:5: error: no matching function for call to ?std::vector >::push_back(itk::CastImageFilter, itk::Image >::Pointer&)? savedPointers.push_back(caster); and resample.cxx:80:25: error: invalid user-defined conversion from ?itk::SmartPointer? to ?itk::SmartPointer, itk::Image > >::ObjectType* {aka itk::CastImageFilter, itk::Image >*}? [-fpermissive] smoother->SetInput(static_cast(savedPointers[i])->GetOutput()); I also tried Your suggestion on the .GetPointer() variant: https://github.com/romangrothausmann/ITK-CLIs/commit/4a96d962430461c0b26de9363a1ccf623b9c9840 which compiles but segfaults when executed. A third variant stores the Output SPs in a separate list: https://github.com/romangrothausmann/ITK-CLIs/commit/d9b5c3f1a786b595255a9153da9ceafd88d2a189 but compilation stops with: resample.cxx:77:5: error: request for member ?GetPointer? in ?caster.itk::SmartPointer::operator->, itk::Image > >()->itk::CastImageFilter, itk::Image >::.itk::UnaryFunctorImageFilter, itk::Image, itk::Functor::Cast >::.itk::InPlaceImageFilter, itk::Image >::.itk::ImageToImageFilter, itk::Image >::.itk::ImageSource::GetOutput >()?, which is of pointer type ?itk::ImageSource >::OutputImageType* {aka itk::Image*}? (maybe you meant to use ?->? ?) savedOutPointers.push_back(caster->GetOutput().GetPointer()); ^ Any other ideas how to get this working? Many thanks for looking into this. Roman > On Mon, Sep 12, 2016 at 5:41 AM, Grothausmann, Roman Dr. > > > wrote: > > On 09/09/16 16:21, D?enan Zuki? wrote: > > Hi Roman, > > you should not save the pointer the SmartPointer encapsulates, but > rather the > SmartPointer itself. The saving line of code should not be > savedPointers.push_back(caster.GetPointer()); > but rather > savedPointers.push_back(caster); > and later usage should not be > smoother->SetInput(dynamic_cast(savedPointers[i].GetPointer())->GetOutput()); > but rather > smoother->SetInput(savedPointers[i]->GetOutput()); > > > Many thanks D?enan for Your reply. I tried as You suggested: > > https://github.com/romangrothausmann/ITK-CLIs/commit/b00551faf951192f50e4090d683300524b4c95ba > > > but am getting: > > resample.cxx:79:49: error: no matching function for call to > ?itk::ProcessObject::GetOutput()? > smoother->SetInput(savedPointers[i]->GetOutput()); > ^ > resample.cxx:79:49: note: candidates are: > In file included from resample.cxx:5: > /opt/itk-4.9.1/include/ITK-4.9/itkProcessObject.h:612:16: note: > itk::DataObject* itk::ProcessObject::GetOutput(const DataObjectIdentifierType&) > DataObject * GetOutput(const DataObjectIdentifierType & key); > ^ > > I also tried: > std::vector savedPointers; > std::vector savedPointers; > std::vector< itk::SmartPointer > savedPointers; > but always got compile errors. > I am confused when to use the smart-pointer as is and when with .GetPointer(). > > According to > > https://cmake.org/pipermail/insight-users/2007-May/022374.html > > > I also tried storing the output-pointers (without pipe-line disconnection) > in a separate list > > https://github.com/romangrothausmann/ITK-CLIs/commit/d9b5c3f1a786b595255a9153da9ceafd88d2a189 > > > which does not compile either: > > resample.cxx:77:5: error: request for member ?GetPointer? in > ?caster.itk::SmartPointer::operator-> 1u>, itk::Image > >()->itk::CastImageFilter 1u>, itk::Image > >::.itk::UnaryFunctorImageFilter, > itk::Image, itk::Functor::Cast > >::.itk::InPlaceImageFilter, > itk::Image > >::.itk::ImageToImageFilter, > itk::Image > >::.itk::ImageSource::GetOutput 1u> >()?, which is of pointer type ?itk::ImageSource > >::OutputImageType* {aka itk::Image*}? (maybe you meant to use > ?->? ?) > savedOutPointers.push_back(caster->GetOutput().GetPointer()); > ^ > > I'm wondering if construct as needed is not possible at all because I can't > find anything like that in the ITK-sources or examples. For the code > snippets I can find in the MLs it is not clear whether they got tested and > were accepted by a compiler. > > Any further ideas? > > Best > Roman > > > On Fri, Sep 9, 2016 at 8:29 AM, Grothausmann, Roman Dr. > > >> > wrote: > > On 22/07/16 14:49, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: > > Hi, > > Who is holding the pointer to the newly created ImageFileReader > outside of > the loop? For that type of operation I?ll frequently just stash > smart > pointers into a std::vector or list. > > > I tried to change the resample example > > (https://itk.org/Doxygen/html/Examples_2Filtering_2ResampleVolumesToBeIsotropic_8cxx-example.html > > > > > that uses itkRecursiveGaussianImageFilter for each dimension) such > that it works > for any dimensional image. > Doing as Brad suggested and storing each smart-pointer of > itkRecursiveGaussianImageFilter in a std::vector I get a program > > (https://github.com/romangrothausmann/ITK-CLIs/blob/0968dd25af2abc37ffb0c0503cc4c2972b3b2098/resample.cxx > > > >) > that compiles but segfaults when used. I guess the way I'm trying to > dereference a pointer from the list is not correct > > (https://github.com/romangrothausmann/ITK-CLIs/commit/0968dd25af2abc37ffb0c0503cc4c2972b3b2098#diff-cb1b1c6837c6074372c220250cfdbb36R80 > > > >) > but I could not find an example except the one referenced in the > code line. > So how to correctly dereference a pointer from the list of > smart-pointers to > get its output? > > Thank for any help or hints > Roman > > On Jul 22, 2016, at 6:00 AM, Grothausmann, Roman Dr. > > >> wrote: > > Many thanks Brad for Your detailed reply. I understand now > the problems > concerning streaming TileImageFilter. However I still wonder > why my > non-streaming version also does not work any more after > moving the > creation > of reader instances into the for-loop: > > https://github.com/romangrothausmann/ITK-CLIs/blob/ebfc0aea37d28cbbf2bb22c3f56be52453cebde9/tile.cxx#L46-L50 > > > > > > > > Is this construct inappropriate for the TileImageFilter? > > Why does it work for: > > https://itk.org/Doxygen/html/SphinxExamples_2src_2Filtering_2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2 > > > > > > > > On 21/07/16 15:41, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: > > Hello, > > The TileImageFilter does not fully stream [1]. The > filter also > has some > odd behavior, and other older implementation details. If > you are > going to > work on a streaming pipelines it is best practice to > examine the > filters > to determine how the Requested regions behave. > > However, there is no reason that the TileImageFilter > algorithm > couldn?t > support streaming. It is just a matter of code and a > bunch of > testing. A > contribution for this issue would be welcomed! Also this > filter > is in > need a refactoring and bring it up to several other best > practices. There > are several issue with the current implementation that would > cause it not > to work correctly with a streaming pipeline, and cause > excessive > execution. > > You can also use the PipelieMoniotorImageFilter to > record and > print the > pipeline interaction during Update [2]. This information > helps with > debugging and diagnosing problems, but if the pipeline is > mis-behaving ( > as the TileImageFilter may ), the information may not be > correct. > > I have tried similar streaming with the > JoinSeriesImageFilter. > However I > ran into many problems with having hundreds of ImageIO being > utilized at > the same time. There were problems with having too many > files > open at the > same time along with ImageIO libraries that couldn?t > handle single > threaded access to multiple files. > > [1] > > https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Filtering/ImageGrid/include/itkTileImageFilter.hxx#L125-L136 > > > > > > > > > [2] > https://itk.org/Doxygen/html/classitk_1_1PipelineMonitorImageFilter.html > > > > > > > On Jul 21, 2016, at 6:41 AM, Grothausmann, Roman Dr. > > >> wrote: > > Dear mailing list members, > > > Based on the examples for TileImageFilter I've created a > working CLI > to append an arbitrary number of inputs > > (https://github.com/romangrothausmann/ITK-CLIs/blob/4fdf5778022598dcf83fb38e6002df72bd67bef3/tile.cxx > > > >). > > > > > As there is an example that does not apply Update and > DisconnectPipeline on > the readers > > (https://itk.org/Doxygen/html/SphinxExamples_2src_2Filtering_2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2 > > > >) > > > > I changed my code such that a reader instance is > created for > each input > in a for-loop: > > https://github.com/romangrothausmann/ITK-CLIs/commit/ebfc0aea37d28cbbf2bb22c3f56be52453cebde9 > > > > > > > > > > However, the update from the writer seems not to propagate to the > readers > whether streaming or not. Can the TileImageFilter not stream in such > a case > or are further modifications necessary? > > > Thanks for any help or hints Roman > > > On 18/08/14 17:01, Michka Popoff wrote: > > Hi > > Going the way described in the CreateVolume > example is > the way to > go. > > Why did you uncomment the DisconnectPipeline() > call and > Update() call > in the for loop ? They need to stay there, else > you will > always use > the last image. That?s why you see the same > image, the > single update > call will be triggered at the end of the script > and read > only one > image. > > You don?t need to call tileFilter->Update(), you can > remove this > line. The writer->Update() will take care of the > pipeline update. As > a bonus, you may wrap your writer->Update() call, to > fetch errors at > the end of the pipeline: > > try { writer->Update(); } catch( > itk::ExceptionObject & > error ) { > std::cerr << "Error: " << error << std::endl; return > EXIT_FAILURE; } > > I made a little Python prototype, the syntax is > a little bit > different than in C++ but it gives you the main > idea. > > Michka > > > -- Dr. Roman Grothausmann > > Tomographie und Digitale Bildverarbeitung Tomography and > Digital Image > Analysis > > Institut f?r Funktionelle und Angewandte Anatomie, > OE 4120 > Medizinische Hochschule Hannover Carl-Neuberg-Str. 1 > D-30625 > Hannover > > Tel. +49 511 532-2900 > > _____________________________________ Powered by > www.kitware.com > > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > > > Kitware offers ITK Training Courses, for more > information visit: > http://www.kitware.com/products/protraining.php > > > > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/insight-users > > > > > _______________________________________________ > Community > mailing list > Community at itk.org > > > http://public.kitware.com/mailman/listinfo/community > > > > > > > > -- Dr. Roman Grothausmann > > Tomographie und Digitale Bildverarbeitung Tomography and > Digital Image > Analysis > > Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 > Medizinische > Hochschule Hannover Carl-Neuberg-Str. 1 D-30625 Hannover > > Tel. +49 511 532-2900 > > > > > -- > Dr. Roman Grothausmann > > Tomographie und Digitale Bildverarbeitung > Tomography and Digital Image Analysis > > Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 > Medizinische Hochschule Hannover > Carl-Neuberg-Str. 1 > D-30625 Hannover > > Tel. +49 511 532-2900 > > _____________________________________ > Powered by www.kitware.com > > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > > > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > > > > > > -- > Dr. Roman Grothausmann > > Tomographie und Digitale Bildverarbeitung > Tomography and Digital Image Analysis > > Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 > Medizinische Hochschule Hannover > Carl-Neuberg-Str. 1 > D-30625 Hannover > > Tel. +49 511 532-2900 > > -- Dr. Roman Grothausmann Tomographie und Digitale Bildverarbeitung Tomography and Digital Image Analysis Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 Medizinische Hochschule Hannover Carl-Neuberg-Str. 1 D-30625 Hannover Tel. +49 511 532-2900 From dzenanz at gmail.com Fri Sep 16 08:16:52 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Fri, 16 Sep 2016 08:16:52 -0400 Subject: [ITK-users] itk mhd header In-Reply-To: References: <1473924398226-7589210.post@n2.nabble.com> <62ADBFC4-D6AD-4E26-9A95-8BA6C49D9BDF@mail.nih.gov> Message-ID: You could turn it into a valid MHD file by manually modifying the header to make it match a valid one, e.g. the one attached. Regards On Fri, Sep 16, 2016 at 12:26 AM, Swetha Sharma wrote: > Thank you dzenanz > > On Fri, 16 Sep 2016, 01:06 D?enan Zuki?, wrote: > >> Hi Swetha, >> >> since NIFTI has a binary header, I guess someone confusingly dumped NIFTI >> header in text format and renamed that .mhd. That is neither valid MHD nor >> NIFTI. In short, it is a corrupted file. >> >> Regards, >> D?enan >> >> On Thu, Sep 15, 2016 at 9:11 AM, Swetha Sharma >> wrote: >> >>> I am trying to read the file using an application outside itk.it can >>> read the regular .mhd but it failed when I input this. >>> >>> When I investigated the header I found these tags hence the post >>> >>> On Thu, 15 Sep 2016, 18:37 Lowekamp, Bradley (NIH/NLM/LHC) [C], < >>> blowekamp at mail.nih.gov> wrote: >>> >>>> MetaIO does not have many formal fields. Those that are defined are >>>> here: >>>> >>>> https://itk.org/Wiki/ITK/MetaIO/Documentation >>>> >>>> MetaIO Image from ITK also writes out the ITK's Meta Data Dictionary >>>> along with the image. The dictionary can contain arbitrary information. >>>> These fields looks like they came from a NIFT file: >>>> >>>> https://brainder.org/2012/09/23/the-nifti-file-format/ >>>> >>>> It is generally more productive to learn how to use existing libraries >>>> as opposed to hacking your own for IO. This help ensure that everyones >>>> files are compatible and usable. >>>> >>>> HTH, >>>> Brad >>>> >>>> > On Sep 15, 2016, at 3:26 AM, swetha wrote: >>>> > >>>> > Hi, >>>> > >>>> > I have this mhd file header >>>> > >>>> > ObjectType = Image >>>> > NDims = 3 >>>> > BinaryData = True >>>> > BinaryDataByteOrderMSB = False >>>> > CompressedData = False >>>> > TransformMatrix = 1 0 0 0 1 0 0 0 1 >>>> > Offset = 0 0 0 >>>> > CenterOfRotation = 0 0 0 >>>> > AnatomicalOrientation = RAI >>>> > ElementSpacing = 1 1 1 >>>> > bitpix = 8 >>>> > cal_max = 256 >>>> > cal_min = 0 >>>> > datatype = 2 >>>> > dim[0] = 4 >>>> > dim[1] = 480 >>>> > dim[2] = 480 >>>> > dim[3] = 256 >>>> > dim[4] = 1 >>>> > dim[5] = 1 >>>> > dim[6] = 0 >>>> > dim[7] = 0 >>>> > dim_info = >>>> > intent_code = 0 >>>> > intent_p1 = 1.86143e+034 >>>> > intent_p2 = 0 >>>> > intent_p3 = 0 >>>> > pixdim[0] = 0 >>>> > pixdim[1] = 1 >>>> > pixdim[2] = 1 >>>> > pixdim[3] = 1 >>>> > pixdim[4] = 0 >>>> > pixdim[5] = 0 >>>> > pixdim[6] = 0 >>>> > pixdim[7] = 0 >>>> > qform_code = 0 >>>> > qoffset_x = 0 >>>> > qoffset_y = 0 >>>> > qoffset_z = 0 >>>> > quatern_b = 0 >>>> > quatern_c = 0 >>>> > quatern_d = 0 >>>> > scl_inter = 0 >>>> > scl_slope = 1 >>>> > sform_code = 0 >>>> > slice_code = >>>> > slice_duration = 0 >>>> > slice_end = 0 >>>> > slice_start = 0 >>>> > srow_x = 0 0 0 0 >>>> > srow_y = 0 0 0 0 >>>> > srow_z = 0 0 0 0 >>>> > toffset = 0 >>>> > vox_offset = 0 >>>> > xyzt_units = >>>> > DimSize = 480 480 256 >>>> > ElementType = MET_SHORT >>>> > ElementDataFile = usg2_-2.raw >>>> > >>>> > I want to know what the tags mean so that i can write a function to >>>> parse >>>> > and display the image. >>>> > -swetha >>>> > >>>> > >>>> > >>>> > >>>> > -- >>>> > View this message in context: http://itk-insight-users. >>>> 2283740.n2.nabble.com/itk-mhd-header-tp7589210.html >>>> > Sent from the ITK Insight Users mailing list archive at Nabble.com. >>>> > _____________________________________ >>>> > Powered by www.kitware.com >>>> > >>>> > Visit other Kitware open-source projects at >>>> > http://www.kitware.com/opensource/opensource.html >>>> > >>>> > Kitware offers ITK Training Courses, for more information visit: >>>> > http://www.kitware.com/products/protraining.php >>>> > >>>> > Please keep messages on-topic and check the ITK FAQ at: >>>> > http://www.itk.org/Wiki/ITK_FAQ >>>> > >>>> > Follow this link to subscribe/unsubscribe: >>>> > http://public.kitware.com/mailman/listinfo/insight-users >>>> >>>> >>> _____________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Kitware offers ITK Training Courses, for more information visit: >>> http://www.kitware.com/products/protraining.php >>> >>> Please keep messages on-topic and check the ITK FAQ at: >>> http://www.itk.org/Wiki/ITK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/insight-users >>> >>> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: DzZ_T1.mhd Type: application/octet-stream Size: 443 bytes Desc: not available URL: From dzenanz at gmail.com Fri Sep 16 09:49:53 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Fri, 16 Sep 2016 09:49:53 -0400 Subject: [ITK-users] get outputs from a std::vector list of smart-pointers of image-filters In-Reply-To: <6df22bd5-bca5-8673-007d-d8c7887cf735@mh-hannover.de> References: <809fecd2-0c04-374d-ec1c-d52ef3420fe3@mh-hannover.de> <6df22bd5-bca5-8673-007d-d8c7887cf735@mh-hannover.de> Message-ID: Hi Roman, I tried some modifications of your second attempt , but couldn't get it to compile. But your code reminded me very much of BRAINSFit , so you might take inspiration from that. I am sorry I could not be of more help. D?enan On Fri, Sep 16, 2016 at 7:42 AM, Grothausmann, Roman Dr. < grothausmann.roman at mh-hannover.de> wrote: > On 12/09/16 17:41, D?enan Zuki? wrote: > >> can you turn >> smoother->SetInput(savedPointers[i]->GetOutput()); >> into >> if (i==0) >> >> smoother->SetInput(static_cast(save >> dPointers[i])->GetOutput()); >> else >> >> smoother->SetInput(static_cast( >> savedPointers[i])->GetOutput()); >> or something similar and see whether that works? >> > > Did so, > https://github.com/romangrothausmann/ITK-CLIs/commit/2cd1fbe > 4406eccbd6552e88e8be0a0ab1aad4ba6 > but still getting compile errors like: > resample.cxx:73:5: error: no matching function for call to > ?std::vector > >::push_back(itk::CastImageFilter, > itk::Image >::Pointer&)? > savedPointers.push_back(caster); > > and > > resample.cxx:80:25: error: invalid user-defined conversion from > ?itk::SmartPointer? to ?itk::SmartPointer 1u>, itk::Image > >::ObjectType* {aka > itk::CastImageFilter, itk::Image >*}? > [-fpermissive] > smoother->SetInput(static_cast CastFilterType::Pointer>(savedPointers[i])->GetOutput()); > > > > I also tried Your suggestion on the .GetPointer() variant: > https://github.com/romangrothausmann/ITK-CLIs/commit/4a96d96 > 2430461c0b26de9363a1ccf623b9c9840 > which compiles but segfaults when executed. > > > > A third variant stores the Output SPs in a separate list: > https://github.com/romangrothausmann/ITK-CLIs/commit/d9b5c3f > 1a786b595255a9153da9ceafd88d2a189 > but compilation stops with: > resample.cxx:77:5: error: request for member ?GetPointer? in > ?caster.itk::SmartPointer::operator-> 1u>, itk::Image > >()->itk::CastImageFilter 1u>, itk::Image >::.itk::UnaryFunct > orImageFilter, itk::Image, > itk::Functor::Cast >::.itk::InPlaceImageFilter 1u>, itk::Image >::.itk::ImageToImageFilter 1u>, itk::Image >::.itk::ImageSourc > e::GetOutput >()?, which is of > pointer type ?itk::ImageSource >::OutputImageType* > {aka itk::Image*}? (maybe you meant to use ?->? ?) > savedOutPointers.push_back(caster->GetOutput().GetPointer()); > ^ > > Any other ideas how to get this working? > > Many thanks for looking into this. > Roman > > > On Mon, Sep 12, 2016 at 5:41 AM, Grothausmann, Roman Dr. >> > hannover.de>> >> >> wrote: >> >> On 09/09/16 16:21, D?enan Zuki? wrote: >> >> Hi Roman, >> >> you should not save the pointer the SmartPointer encapsulates, but >> rather the >> SmartPointer itself. The saving line of code should not be >> savedPointers.push_back(caster.GetPointer()); >> but rather >> savedPointers.push_back(caster); >> and later usage should not be >> smoother->SetInput(dynamic_cast(savedPointers[i]. >> GetPointer())->GetOutput()); >> but rather >> smoother->SetInput(savedPointers[i]->GetOutput()); >> >> >> Many thanks D?enan for Your reply. I tried as You suggested: >> >> https://github.com/romangrothausmann/ITK-CLIs/commit/b00551f >> af951192f50e4090d683300524b4c95ba >> > faf951192f50e4090d683300524b4c95ba> >> >> but am getting: >> >> resample.cxx:79:49: error: no matching function for call to >> ?itk::ProcessObject::GetOutput()? >> smoother->SetInput(savedPointers[i]->GetOutput()); >> ^ >> resample.cxx:79:49: note: candidates are: >> In file included from resample.cxx:5: >> /opt/itk-4.9.1/include/ITK-4.9/itkProcessObject.h:612:16: note: >> itk::DataObject* itk::ProcessObject::GetOutput(const >> DataObjectIdentifierType&) >> DataObject * GetOutput(const DataObjectIdentifierType & key); >> ^ >> >> I also tried: >> std::vector savedPointers; >> std::vector savedPointers; >> std::vector< itk::SmartPointer > savedPointers; >> but always got compile errors. >> I am confused when to use the smart-pointer as is and when with >> .GetPointer(). >> >> According to >> >> https://cmake.org/pipermail/insight-users/2007-May/022374.html >> >> >> I also tried storing the output-pointers (without pipe-line >> disconnection) >> in a separate list >> >> https://github.com/romangrothausmann/ITK-CLIs/commit/d9b5c3f >> 1a786b595255a9153da9ceafd88d2a189 >> > f1a786b595255a9153da9ceafd88d2a189> >> >> which does not compile either: >> >> resample.cxx:77:5: error: request for member ?GetPointer? in >> ?caster.itk::SmartPointer::operator->> ImageFilter> 1u>, itk::Image > >()->itk::CastImageFilter> :Image> 1u>, itk::Image >> >::.itk::UnaryFunctorImageFilter, >> itk::Image, itk::Functor::Cast >> >::.itk::InPlaceImageFilter, >> itk::Image >> >::.itk::ImageToImageFilter, >> itk::Image >> >::.itk::ImageSource::GetOutput< >> itk::Image> 1u> >()?, which is of pointer type ?itk::ImageSource> 1u> >> >::OutputImageType* {aka itk::Image*}? (maybe you meant to >> use >> ?->? ?) >> savedOutPointers.push_back(caster->GetOutput().GetPointer()); >> ^ >> >> I'm wondering if construct as needed is not possible at all because I >> can't >> find anything like that in the ITK-sources or examples. For the code >> snippets I can find in the MLs it is not clear whether they got >> tested and >> were accepted by a compiler. >> >> Any further ideas? >> >> Best >> Roman >> >> >> On Fri, Sep 9, 2016 at 8:29 AM, Grothausmann, Roman Dr. >> > >> > >> >> >> wrote: >> >> On 22/07/16 14:49, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: >> >> Hi, >> >> Who is holding the pointer to the newly created >> ImageFileReader >> outside of >> the loop? For that type of operation I?ll frequently just >> stash >> smart >> pointers into a std::vector or list. >> >> >> I tried to change the resample example >> >> (https://itk.org/Doxygen/html/Examples_2Filtering_2ResampleV >> olumesToBeIsotropic_8cxx-example.html >> > olumesToBeIsotropic_8cxx-example.html> >> >> > olumesToBeIsotropic_8cxx-example.html >> > olumesToBeIsotropic_8cxx-example.html>> >> that uses itkRecursiveGaussianImageFilter for each >> dimension) such >> that it works >> for any dimensional image. >> Doing as Brad suggested and storing each smart-pointer of >> itkRecursiveGaussianImageFilter in a std::vector I get a >> program >> >> (https://github.com/romangrothausmann/ITK-CLIs/blob/0968dd25 >> af2abc37ffb0c0503cc4c2972b3b2098/resample.cxx >> > af2abc37ffb0c0503cc4c2972b3b2098/resample.cxx> >> >> > af2abc37ffb0c0503cc4c2972b3b2098/resample.cxx >> > af2abc37ffb0c0503cc4c2972b3b2098/resample.cxx>>) >> that compiles but segfaults when used. I guess the way I'm >> trying to >> dereference a pointer from the list is not correct >> >> (https://github.com/romangrothausmann/ITK-CLIs/commit/0968dd >> 25af2abc37ffb0c0503cc4c2972b3b2098#diff-cb1b1c6837c6074372c2 >> 20250cfdbb36R80 >> > 25af2abc37ffb0c0503cc4c2972b3b2098#diff-cb1b1c6837c6074372c2 >> 20250cfdbb36R80> >> >> > 25af2abc37ffb0c0503cc4c2972b3b2098#diff-cb1b1c6837c6074372c2 >> 20250cfdbb36R80 >> > 25af2abc37ffb0c0503cc4c2972b3b2098#diff-cb1b1c6837c6074372c2 >> 20250cfdbb36R80>>) >> but I could not find an example except the one referenced in >> the >> code line. >> So how to correctly dereference a pointer from the list of >> smart-pointers to >> get its output? >> >> Thank for any help or hints >> Roman >> >> On Jul 22, 2016, at 6:00 AM, Grothausmann, Roman Dr. >> > >> > >> >> wrote: >> >> Many thanks Brad for Your detailed reply. I >> understand now >> the problems >> concerning streaming TileImageFilter. However I still >> wonder >> why my >> non-streaming version also does not work any more >> after >> moving the >> creation >> of reader instances into the for-loop: >> >> https://github.com/romangrothausmann/ITK-CLIs/blob/ebfc0aea3 >> 7d28cbbf2bb22c3f56be52453cebde9/tile.cxx#L46-L50 >> > 37d28cbbf2bb22c3f56be52453cebde9/tile.cxx#L46-L50> >> >> > 37d28cbbf2bb22c3f56be52453cebde9/tile.cxx#L46-L50 >> > 37d28cbbf2bb22c3f56be52453cebde9/tile.cxx#L46-L50>> >> >> >> >> Is this construct inappropriate for the TileImageFilter? >> >> Why does it work for: >> >> https://itk.org/Doxygen/html/SphinxExamples_2src_2Filtering_ >> 2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2 >> > _2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2> >> >> > _2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2 >> > _2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2>> >> >> >> >> On 21/07/16 15:41, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: >> >> Hello, >> >> The TileImageFilter does not fully stream [1]. The >> filter also >> has some >> odd behavior, and other older implementation >> details. If >> you are >> going to >> work on a streaming pipelines it is best practice >> to >> examine the >> filters >> to determine how the Requested regions behave. >> >> However, there is no reason that the >> TileImageFilter >> algorithm >> couldn?t >> support streaming. It is just a matter of code >> and a >> bunch of >> testing. A >> contribution for this issue would be welcomed! >> Also this >> filter >> is in >> need a refactoring and bring it up to several >> other best >> practices. There >> are several issue with the current implementation >> that would >> cause it not >> to work correctly with a streaming pipeline, and >> cause >> excessive >> execution. >> >> You can also use the PipelieMoniotorImageFilter to >> record and >> print the >> pipeline interaction during Update [2]. This >> information >> helps with >> debugging and diagnosing problems, but if the >> pipeline is >> mis-behaving ( >> as the TileImageFilter may ), the information may >> not be >> correct. >> >> I have tried similar streaming with the >> JoinSeriesImageFilter. >> However I >> ran into many problems with having hundreds of >> ImageIO being >> utilized at >> the same time. There were problems with having >> too many >> files >> open at the >> same time along with ImageIO libraries that >> couldn?t >> handle single >> threaded access to multiple files. >> >> [1] >> >> https://github.com/InsightSoftwareConsortium/ITK/blob/ >> master/Modules/Filtering/ImageGrid/include/itkTileImageFilte >> r.hxx#L125-L136 >> > master/Modules/Filtering/ImageGrid/include/itkTileImageFilte >> r.hxx#L125-L136> >> >> > master/Modules/Filtering/ImageGrid/include/itkTileImageFilte >> r.hxx#L125-L136 >> > master/Modules/Filtering/ImageGrid/include/itkTileImageFilte >> r.hxx#L125-L136>> >> >> >> >> >> [2] >> https://itk.org/Doxygen/html/classitk_1_1PipelineMonitorImag >> eFilter.html >> > geFilter.html> >> >> > geFilter.html > classitk_1_1PipelineMonitorImageFilter.html>> >> >> >> On Jul 21, 2016, at 6:41 AM, Grothausmann, >> Roman Dr. >> > >> > >> >> wrote: >> >> Dear mailing list members, >> >> >> Based on the examples for TileImageFilter >> I've created a >> working CLI >> to append an arbitrary number of inputs >> >> (https://github.com/romangrothausmann/ITK-CLIs/blob/4fdf5778 >> 022598dcf83fb38e6002df72bd67bef3/tile.cxx >> > 022598dcf83fb38e6002df72bd67bef3/tile.cxx> >> >> > 022598dcf83fb38e6002df72bd67bef3/tile.cxx >> > 022598dcf83fb38e6002df72bd67bef3/tile.cxx>>). >> >> >> >> >> As there is an example that does not apply Update and >> DisconnectPipeline on >> the readers >> >> (https://itk.org/Doxygen/html/SphinxExamples_2src_2Filtering >> _2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2 >> > _2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2> >> >> > _2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2 >> > _2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2>>) >> >> >> >> I changed my code such that a reader instance >> is >> created for >> each input >> in a for-loop: >> >> https://github.com/romangrothausmann/ITK-CLIs/commit/ebfc0ae >> a37d28cbbf2bb22c3f56be52453cebde9 >> > ea37d28cbbf2bb22c3f56be52453cebde9> >> >> > ea37d28cbbf2bb22c3f56be52453cebde9 >> > ea37d28cbbf2bb22c3f56be52453cebde9>> >> >> >> >> >> >> However, the update from the writer seems not to propagate to >> the >> readers >> whether streaming or not. Can the TileImageFilter not stream >> in such >> a case >> or are further modifications necessary? >> >> >> Thanks for any help or hints Roman >> >> >> On 18/08/14 17:01, Michka Popoff wrote: >> >> Hi >> >> Going the way described in the >> CreateVolume >> example is >> the way to >> go. >> >> Why did you uncomment the >> DisconnectPipeline() >> call and >> Update() call >> in the for loop ? They need to stay >> there, else >> you will >> always use >> the last image. That?s why you see the >> same >> image, the >> single update >> call will be triggered at the end of the >> script >> and read >> only one >> image. >> >> You don?t need to call >> tileFilter->Update(), you can >> remove this >> line. The writer->Update() will take care >> of the >> pipeline update. As >> a bonus, you may wrap your >> writer->Update() call, to >> fetch errors at >> the end of the pipeline: >> >> try { writer->Update(); } catch( >> itk::ExceptionObject & >> error ) { >> std::cerr << "Error: " << error << >> std::endl; return >> EXIT_FAILURE; } >> >> I made a little Python prototype, the >> syntax is >> a little bit >> different than in C++ but it gives you >> the main >> idea. >> >> Michka >> >> >> -- Dr. Roman Grothausmann >> >> Tomographie und Digitale Bildverarbeitung >> Tomography and >> Digital Image >> Analysis >> >> Institut f?r Funktionelle und Angewandte >> Anatomie, >> OE 4120 >> Medizinische Hochschule Hannover >> Carl-Neuberg-Str. 1 >> D-30625 >> Hannover >> >> Tel. +49 511 532-2900 >> >> >> _____________________________________ >> Powered by >> www.kitware.com >> >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensou >> rce/opensource.html >> >> > urce/opensource.html >> > >> >> Kitware offers ITK Training Courses, for more >> information visit: >> http://www.kitware.com/product >> s/protraining.php >> >> > ts/protraining.php >> > >> >> Please keep messages on-topic and check the >> ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> > > >> >> Follow this link to subscribe/unsubscribe: >> >> http://public.kitware.com/mailman/listinfo/insight-users >> >> >> > > >> ______________________________ >> _________________ >> Community >> mailing list >> Community at itk.org >> > >> http://public.kitware.com/mail >> man/listinfo/community >> >> >> > > >> >> >> >> -- Dr. Roman Grothausmann >> >> Tomographie und Digitale Bildverarbeitung Tomography >> and >> Digital Image >> Analysis >> >> Institut f?r Funktionelle und Angewandte Anatomie, OE >> 4120 >> Medizinische >> Hochschule Hannover Carl-Neuberg-Str. 1 D-30625 >> Hannover >> >> Tel. +49 511 532-2900 >> >> >> >> >> -- >> Dr. Roman Grothausmann >> >> Tomographie und Digitale Bildverarbeitung >> Tomography and Digital Image Analysis >> >> Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 >> Medizinische Hochschule Hannover >> Carl-Neuberg-Str. 1 >> D-30625 Hannover >> >> Tel. +49 511 532-2900 >> >> _____________________________________ >> Powered by www.kitware.com >> >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> > > >> >> Kitware offers ITK Training Courses, for more information >> visit: >> http://www.kitware.com/products/protraining.php >> >> > > >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ < >> http://www.itk.org/Wiki/ITK_FAQ> >> > >> >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> >> > > >> >> >> >> -- >> Dr. Roman Grothausmann >> >> Tomographie und Digitale Bildverarbeitung >> Tomography and Digital Image Analysis >> >> Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 >> Medizinische Hochschule Hannover >> Carl-Neuberg-Str. 1 >> D-30625 Hannover >> >> Tel. +49 511 532-2900 >> >> >> > -- > Dr. Roman Grothausmann > > Tomographie und Digitale Bildverarbeitung > Tomography and Digital Image Analysis > > Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 > Medizinische Hochschule Hannover > Carl-Neuberg-Str. 1 > D-30625 Hannover > > Tel. +49 511 532-2900 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Fri Sep 16 10:12:33 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Fri, 16 Sep 2016 10:12:33 -0400 Subject: [ITK-users] get outputs from a std::vector list of smart-pointers of image-filters In-Reply-To: References: <809fecd2-0c04-374d-ec1c-d52ef3420fe3@mh-hannover.de> <6df22bd5-bca5-8673-007d-d8c7887cf735@mh-hannover.de> Message-ID: Something just occurred to me. Why not make your code like this: define CastFilter cF; define SmoothFilter s0 s0->SetInput(cF->GetOutput()); SmoothFilter::Pointer previous=s0; for (int i=1 to Dim) { define SmoothFilter sI sI->SetInput(previous->GetOutput()); previous=sI; } output=sI->GetOutput(); output->Update(); //or writer->Update My attempt at it is attached. This code seems to have other bugs besides the for loop (this crashes for me with "access violation"). Also, your big for loops seems to be implementing an already existing filter: SmoothingRecursiveGaussianImageFilter . HTH, D?enan On Fri, Sep 16, 2016 at 9:49 AM, D?enan Zuki? wrote: > Hi Roman, > > I tried some modifications of your second attempt > , > but couldn't get it to compile. But your code reminded me very much of > BRAINSFit , > so you might take inspiration from that. > > I am sorry I could not be of more help. > > D?enan > > On Fri, Sep 16, 2016 at 7:42 AM, Grothausmann, Roman Dr. < > grothausmann.roman at mh-hannover.de> wrote: > >> On 12/09/16 17:41, D?enan Zuki? wrote: >> >>> can you turn >>> smoother->SetInput(savedPointers[i]->GetOutput()); >>> into >>> if (i==0) >>> >>> smoother->SetInput(static_cast(save >>> dPointers[i])->GetOutput()); >>> else >>> >>> smoother->SetInput(static_cast( >>> savedPointers[i])->GetOutput()); >>> or something similar and see whether that works? >>> >> >> Did so, >> https://github.com/romangrothausmann/ITK-CLIs/commit/2cd1fbe >> 4406eccbd6552e88e8be0a0ab1aad4ba6 >> but still getting compile errors like: >> resample.cxx:73:5: error: no matching function for call to >> ?std::vector >> >::push_back(itk::CastImageFilter, >> itk::Image >::Pointer&)? >> savedPointers.push_back(caster); >> >> and >> >> resample.cxx:80:25: error: invalid user-defined conversion from >> ?itk::SmartPointer? to ?itk::SmartPointer> 1u>, itk::Image > >::ObjectType* {aka >> itk::CastImageFilter, itk::Image >*}? >> [-fpermissive] >> smoother->SetInput(static_cast> CastFilterType::Pointer>(savedPointers[i])->GetOutput()); >> >> >> >> I also tried Your suggestion on the .GetPointer() variant: >> https://github.com/romangrothausmann/ITK-CLIs/commit/4a96d96 >> 2430461c0b26de9363a1ccf623b9c9840 >> which compiles but segfaults when executed. >> >> >> >> A third variant stores the Output SPs in a separate list: >> https://github.com/romangrothausmann/ITK-CLIs/commit/d9b5c3f >> 1a786b595255a9153da9ceafd88d2a189 >> but compilation stops with: >> resample.cxx:77:5: error: request for member ?GetPointer? in >> ?caster.itk::SmartPointer::operator->> 1u>, itk::Image > >()->itk::CastImageFilter> 1u>, itk::Image >::.itk::UnaryFunct >> orImageFilter, itk::Image, >> itk::Functor::Cast >::.itk::InPlaceImageFilter> 1u>, itk::Image >::.itk::ImageToImageFilter> 1u>, itk::Image >::.itk::ImageSourc >> e::GetOutput >()?, which is of >> pointer type ?itk::ImageSource >::OutputImageType* >> {aka itk::Image*}? (maybe you meant to use ?->? ?) >> savedOutPointers.push_back(caster->GetOutput().GetPointer()); >> ^ >> >> Any other ideas how to get this working? >> >> Many thanks for looking into this. >> Roman >> >> >> On Mon, Sep 12, 2016 at 5:41 AM, Grothausmann, Roman Dr. >>> >> hannover.de>> >>> >>> wrote: >>> >>> On 09/09/16 16:21, D?enan Zuki? wrote: >>> >>> Hi Roman, >>> >>> you should not save the pointer the SmartPointer encapsulates, >>> but >>> rather the >>> SmartPointer itself. The saving line of code should not be >>> savedPointers.push_back(caster.GetPointer()); >>> but rather >>> savedPointers.push_back(caster); >>> and later usage should not be >>> smoother->SetInput(dynamic_cast(savedPointers[i].Ge >>> tPointer())->GetOutput()); >>> but rather >>> smoother->SetInput(savedPointers[i]->GetOutput()); >>> >>> >>> Many thanks D?enan for Your reply. I tried as You suggested: >>> >>> https://github.com/romangrothausmann/ITK-CLIs/commit/b00551f >>> af951192f50e4090d683300524b4c95ba >>> >> faf951192f50e4090d683300524b4c95ba> >>> >>> but am getting: >>> >>> resample.cxx:79:49: error: no matching function for call to >>> ?itk::ProcessObject::GetOutput()? >>> smoother->SetInput(savedPointers[i]->GetOutput()); >>> ^ >>> resample.cxx:79:49: note: candidates are: >>> In file included from resample.cxx:5: >>> /opt/itk-4.9.1/include/ITK-4.9/itkProcessObject.h:612:16: note: >>> itk::DataObject* itk::ProcessObject::GetOutput(const >>> DataObjectIdentifierType&) >>> DataObject * GetOutput(const DataObjectIdentifierType & key); >>> ^ >>> >>> I also tried: >>> std::vector savedPointers; >>> std::vector savedPointers; >>> std::vector< itk::SmartPointer > savedPointers; >>> but always got compile errors. >>> I am confused when to use the smart-pointer as is and when with >>> .GetPointer(). >>> >>> According to >>> >>> https://cmake.org/pipermail/insight-users/2007-May/022374.html >>> >>> >>> I also tried storing the output-pointers (without pipe-line >>> disconnection) >>> in a separate list >>> >>> https://github.com/romangrothausmann/ITK-CLIs/commit/d9b5c3f >>> 1a786b595255a9153da9ceafd88d2a189 >>> >> f1a786b595255a9153da9ceafd88d2a189> >>> >>> which does not compile either: >>> >>> resample.cxx:77:5: error: request for member ?GetPointer? in >>> ?caster.itk::SmartPointer::operator->>> ImageFilter>> 1u>, itk::Image > >()->itk::CastImageFilter>> :Image>> 1u>, itk::Image >>> >::.itk::UnaryFunctorImageFilter, >>> itk::Image, itk::Functor::Cast >>> >::.itk::InPlaceImageFilter, >>> itk::Image >>> >::.itk::ImageToImageFilter, >>> itk::Image >>> >::.itk::ImageSource::GetOutput>> ::Image>> 1u> >()?, which is of pointer type ?itk::ImageSource>> 1u> >>> >::OutputImageType* {aka itk::Image*}? (maybe you meant >>> to use >>> ?->? ?) >>> savedOutPointers.push_back(caster->GetOutput().GetPointer()); >>> ^ >>> >>> I'm wondering if construct as needed is not possible at all because >>> I can't >>> find anything like that in the ITK-sources or examples. For the code >>> snippets I can find in the MLs it is not clear whether they got >>> tested and >>> were accepted by a compiler. >>> >>> Any further ideas? >>> >>> Best >>> Roman >>> >>> >>> On Fri, Sep 9, 2016 at 8:29 AM, Grothausmann, Roman Dr. >>> >> >>> >> >>> >> >>> wrote: >>> >>> On 22/07/16 14:49, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: >>> >>> Hi, >>> >>> Who is holding the pointer to the newly created >>> ImageFileReader >>> outside of >>> the loop? For that type of operation I?ll frequently >>> just stash >>> smart >>> pointers into a std::vector or list. >>> >>> >>> I tried to change the resample example >>> >>> (https://itk.org/Doxygen/html/Examples_2Filtering_2ResampleV >>> olumesToBeIsotropic_8cxx-example.html >>> >> olumesToBeIsotropic_8cxx-example.html> >>> >>> >> olumesToBeIsotropic_8cxx-example.html >>> >> olumesToBeIsotropic_8cxx-example.html>> >>> that uses itkRecursiveGaussianImageFilter for each >>> dimension) such >>> that it works >>> for any dimensional image. >>> Doing as Brad suggested and storing each smart-pointer of >>> itkRecursiveGaussianImageFilter in a std::vector I get a >>> program >>> >>> (https://github.com/romangrothausmann/ITK-CLIs/blob/0968dd25 >>> af2abc37ffb0c0503cc4c2972b3b2098/resample.cxx >>> >> af2abc37ffb0c0503cc4c2972b3b2098/resample.cxx> >>> >>> >> af2abc37ffb0c0503cc4c2972b3b2098/resample.cxx >>> >> af2abc37ffb0c0503cc4c2972b3b2098/resample.cxx>>) >>> that compiles but segfaults when used. I guess the way I'm >>> trying to >>> dereference a pointer from the list is not correct >>> >>> (https://github.com/romangrothausmann/ITK-CLIs/commit/0968dd >>> 25af2abc37ffb0c0503cc4c2972b3b2098#diff-cb1b1c6837c6074372c2 >>> 20250cfdbb36R80 >>> >> 25af2abc37ffb0c0503cc4c2972b3b2098#diff-cb1b1c6837c6074372c2 >>> 20250cfdbb36R80> >>> >>> >> 25af2abc37ffb0c0503cc4c2972b3b2098#diff-cb1b1c6837c6074372c2 >>> 20250cfdbb36R80 >>> >> 25af2abc37ffb0c0503cc4c2972b3b2098#diff-cb1b1c6837c6074372c2 >>> 20250cfdbb36R80>>) >>> but I could not find an example except the one referenced in >>> the >>> code line. >>> So how to correctly dereference a pointer from the list of >>> smart-pointers to >>> get its output? >>> >>> Thank for any help or hints >>> Roman >>> >>> On Jul 22, 2016, at 6:00 AM, Grothausmann, Roman Dr. >>> >> >>> >> >>> >> wrote: >>> >>> Many thanks Brad for Your detailed reply. I >>> understand now >>> the problems >>> concerning streaming TileImageFilter. However I >>> still wonder >>> why my >>> non-streaming version also does not work any more >>> after >>> moving the >>> creation >>> of reader instances into the for-loop: >>> >>> https://github.com/romangrothausmann/ITK-CLIs/blob/ebfc0aea3 >>> 7d28cbbf2bb22c3f56be52453cebde9/tile.cxx#L46-L50 >>> >> 37d28cbbf2bb22c3f56be52453cebde9/tile.cxx#L46-L50> >>> >>> >> 37d28cbbf2bb22c3f56be52453cebde9/tile.cxx#L46-L50 >>> >> 37d28cbbf2bb22c3f56be52453cebde9/tile.cxx#L46-L50>> >>> >>> >>> >>> Is this construct inappropriate for the TileImageFilter? >>> >>> Why does it work for: >>> >>> https://itk.org/Doxygen/html/SphinxExamples_2src_2Filtering_ >>> 2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2 >>> >> _2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2> >>> >>> >> _2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2 >>> >> _2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2>> >>> >>> >>> >>> On 21/07/16 15:41, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: >>> >>> Hello, >>> >>> The TileImageFilter does not fully stream [1]. >>> The >>> filter also >>> has some >>> odd behavior, and other older implementation >>> details. If >>> you are >>> going to >>> work on a streaming pipelines it is best >>> practice to >>> examine the >>> filters >>> to determine how the Requested regions behave. >>> >>> However, there is no reason that the >>> TileImageFilter >>> algorithm >>> couldn?t >>> support streaming. It is just a matter of code >>> and a >>> bunch of >>> testing. A >>> contribution for this issue would be welcomed! >>> Also this >>> filter >>> is in >>> need a refactoring and bring it up to several >>> other best >>> practices. There >>> are several issue with the current >>> implementation that would >>> cause it not >>> to work correctly with a streaming pipeline, and >>> cause >>> excessive >>> execution. >>> >>> You can also use the PipelieMoniotorImageFilter >>> to >>> record and >>> print the >>> pipeline interaction during Update [2]. This >>> information >>> helps with >>> debugging and diagnosing problems, but if the >>> pipeline is >>> mis-behaving ( >>> as the TileImageFilter may ), the information >>> may not be >>> correct. >>> >>> I have tried similar streaming with the >>> JoinSeriesImageFilter. >>> However I >>> ran into many problems with having hundreds of >>> ImageIO being >>> utilized at >>> the same time. There were problems with having >>> too many >>> files >>> open at the >>> same time along with ImageIO libraries that >>> couldn?t >>> handle single >>> threaded access to multiple files. >>> >>> [1] >>> >>> https://github.com/InsightSoftwareConsortium/ITK/blob/master >>> /Modules/Filtering/ImageGrid/include/itkTileImageFilter.hxx#L125-L136 >>> >> r/Modules/Filtering/ImageGrid/include/itkTileImageFilter.hxx#L125-L136> >>> >>> >> r/Modules/Filtering/ImageGrid/include/itkTileImageFilter.hxx#L125-L136 >>> >> r/Modules/Filtering/ImageGrid/include/itkTileImageFilter.hxx#L125-L136>> >>> >>> >>> >>> >>> [2] >>> https://itk.org/Doxygen/html/classitk_1_1PipelineMonitorImag >>> eFilter.html >>> >> geFilter.html> >>> >>> >> geFilter.html >> classitk_1_1PipelineMonitorImageFilter.html>> >>> >>> >>> On Jul 21, 2016, at 6:41 AM, Grothausmann, >>> Roman Dr. >>> >> >>> >> >>> >> wrote: >>> >>> Dear mailing list members, >>> >>> >>> Based on the examples for TileImageFilter >>> I've created a >>> working CLI >>> to append an arbitrary number of inputs >>> >>> (https://github.com/romangrothausmann/ITK-CLIs/blob/4fdf5778 >>> 022598dcf83fb38e6002df72bd67bef3/tile.cxx >>> >> 022598dcf83fb38e6002df72bd67bef3/tile.cxx> >>> >>> >> 022598dcf83fb38e6002df72bd67bef3/tile.cxx >>> >> 022598dcf83fb38e6002df72bd67bef3/tile.cxx>>). >>> >>> >>> >>> >>> As there is an example that does not apply Update and >>> DisconnectPipeline on >>> the readers >>> >>> (https://itk.org/Doxygen/html/SphinxExamples_2src_2Filtering >>> _2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2 >>> >> _2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2> >>> >>> >> _2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2 >>> >> _2ImageGrid_2AppendTwo3DVolumes_2Code_8cxx-example.html#_a2>>) >>> >>> >>> >>> I changed my code such that a reader >>> instance is >>> created for >>> each input >>> in a for-loop: >>> >>> https://github.com/romangrothausmann/ITK-CLIs/commit/ebfc0ae >>> a37d28cbbf2bb22c3f56be52453cebde9 >>> >> ea37d28cbbf2bb22c3f56be52453cebde9> >>> >>> >> ea37d28cbbf2bb22c3f56be52453cebde9 >>> >> ea37d28cbbf2bb22c3f56be52453cebde9>> >>> >>> >>> >>> >>> >>> However, the update from the writer seems not to propagate >>> to the >>> readers >>> whether streaming or not. Can the TileImageFilter not stream >>> in such >>> a case >>> or are further modifications necessary? >>> >>> >>> Thanks for any help or hints Roman >>> >>> >>> On 18/08/14 17:01, Michka Popoff wrote: >>> >>> Hi >>> >>> Going the way described in the >>> CreateVolume >>> example is >>> the way to >>> go. >>> >>> Why did you uncomment the >>> DisconnectPipeline() >>> call and >>> Update() call >>> in the for loop ? They need to stay >>> there, else >>> you will >>> always use >>> the last image. That?s why you see the >>> same >>> image, the >>> single update >>> call will be triggered at the end of the >>> script >>> and read >>> only one >>> image. >>> >>> You don?t need to call >>> tileFilter->Update(), you can >>> remove this >>> line. The writer->Update() will take >>> care of the >>> pipeline update. As >>> a bonus, you may wrap your >>> writer->Update() call, to >>> fetch errors at >>> the end of the pipeline: >>> >>> try { writer->Update(); } catch( >>> itk::ExceptionObject & >>> error ) { >>> std::cerr << "Error: " << error << >>> std::endl; return >>> EXIT_FAILURE; } >>> >>> I made a little Python prototype, the >>> syntax is >>> a little bit >>> different than in C++ but it gives you >>> the main >>> idea. >>> >>> Michka >>> >>> >>> -- Dr. Roman Grothausmann >>> >>> Tomographie und Digitale Bildverarbeitung >>> Tomography and >>> Digital Image >>> Analysis >>> >>> Institut f?r Funktionelle und Angewandte >>> Anatomie, >>> OE 4120 >>> Medizinische Hochschule Hannover >>> Carl-Neuberg-Str. 1 >>> D-30625 >>> Hannover >>> >>> Tel. +49 511 532-2900 >>> >>> >>> _____________________________________ >>> Powered by >>> www.kitware.com >>> >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensou >>> rce/opensource.html >>> >>> >> urce/opensource.html >>> > >>> >>> Kitware offers ITK Training Courses, for more >>> information visit: >>> http://www.kitware.com/product >>> s/protraining.php >>> >>> >> ts/protraining.php >>> > >>> >>> Please keep messages on-topic and check the >>> ITK FAQ at: >>> http://www.itk.org/Wiki/ITK_FAQ >>> >>> >> > >>> >>> Follow this link to subscribe/unsubscribe: >>> >>> http://public.kitware.com/mailman/listinfo/insight-users >>> >>> >>> >> > >>> ______________________________ >>> _________________ >>> Community >>> mailing list >>> Community at itk.org >>> > >>> http://public.kitware.com/mail >>> man/listinfo/community >>> >>> >>> >> > >>> >>> >>> >>> -- Dr. Roman Grothausmann >>> >>> Tomographie und Digitale Bildverarbeitung Tomography >>> and >>> Digital Image >>> Analysis >>> >>> Institut f?r Funktionelle und Angewandte Anatomie, >>> OE 4120 >>> Medizinische >>> Hochschule Hannover Carl-Neuberg-Str. 1 D-30625 >>> Hannover >>> >>> Tel. +49 511 532-2900 >>> >>> >>> >>> >>> -- >>> Dr. Roman Grothausmann >>> >>> Tomographie und Digitale Bildverarbeitung >>> Tomography and Digital Image Analysis >>> >>> Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 >>> Medizinische Hochschule Hannover >>> Carl-Neuberg-Str. 1 >>> D-30625 Hannover >>> >>> Tel. +49 511 532-2900 >>> >>> _____________________________________ >>> Powered by www.kitware.com >>> >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> >> > >>> >>> Kitware offers ITK Training Courses, for more information >>> visit: >>> http://www.kitware.com/products/protraining.php >>> >>> >> > >>> >>> Please keep messages on-topic and check the ITK FAQ at: >>> http://www.itk.org/Wiki/ITK_FAQ < >>> http://www.itk.org/Wiki/ITK_FAQ> >>> >> AQ>> >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/insight-users >>> >>> >> > >>> >>> >>> >>> -- >>> Dr. Roman Grothausmann >>> >>> Tomographie und Digitale Bildverarbeitung >>> Tomography and Digital Image Analysis >>> >>> Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 >>> Medizinische Hochschule Hannover >>> Carl-Neuberg-Str. 1 >>> D-30625 Hannover >>> >>> Tel. +49 511 532-2900 >>> >>> >>> >> -- >> Dr. Roman Grothausmann >> >> Tomographie und Digitale Bildverarbeitung >> Tomography and Digital Image Analysis >> >> Institut f?r Funktionelle und Angewandte Anatomie, OE 4120 >> Medizinische Hochschule Hannover >> Carl-Neuberg-Str. 1 >> D-30625 Hannover >> >> Tel. +49 511 532-2900 >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: tester.cpp Type: text/x-c++src Size: 17310 bytes Desc: not available URL: From fisidoro at ethz.ch Fri Sep 16 17:51:32 2016 From: fisidoro at ethz.ch (D'Isidoro Fabio) Date: Fri, 16 Sep 2016 21:51:32 +0000 Subject: [ITK-users] itk Python: change orientation of CT scan Message-ID: <50B858FB5F53124F9E32314E5C1B409435BB2787@MBX212.d.ethz.ch> Hallo, I have a CT scan of a pelvis and I want to re-orient the axes (I need to rotate the physical coordinate system by 90? around the x-axis, with image center as centre of rotation). How could I do it? 1) Flip Image Filter. However, I will need to generate Digitally Reconstructed Radiographs DRR at different orientations of the CT scan. Hence I would be scared to change the direction cosine matrix, because I don't really understand what will happen when the CT scan will be further rotated. 2) A more understable solution would be to use a ResampleImageFilter with transform a CenteredEuler3DTransform. However I get completely lost when I need to assign the origin, the spacing and the size to the output image: - Ouptput origin: would be a properly roto-translated version of the input origin, right? Describing with M the roto-translation matrix obtained with the CenteredEuler3DTransform, I would do "resample_filter.SetOutputOrigin(M*input_origin)". - Output spacing: I would need that the input_spacing = (0.7, 0.7, 1.0) would have to become output_ spacing = (0.7, 1.0, 0.7). This would in practice be the clumsy operation "resample_filter.SetOutputSpacing(abs(M*input_ spacing))". - Output size: same as for the origin "resample_filter.SetOutputSize(abs(M*input_ size))". - Output Direction: does it have to be changed at all? My understanding is that it has nothing to do with the transform, because it only defines the way pixel indexes are retrieved from the physical coordinates. So I would not change the OutputDirection for the output image. I have read the section 2.9 of the ITK guide (Geometric Transformations), however in all the examples the origin, spacing and size of the output image were arbitrarily chosen independently from the transform. In my case I need to obtain an output image that is consistent with the input image (for example, the y coordinate of the input origin should become the -z coordinate of the output origin and so on). If I arbitrarily choose the output parameters, the output image will be partially black and parts of the pelvis will be cut out. Please help, Thank you. Fabio. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tevain at telecom-paristech.fr Mon Sep 19 04:20:10 2016 From: tevain at telecom-paristech.fr (Timothee Evain) Date: Mon, 19 Sep 2016 10:20:10 +0200 (CEST) Subject: [ITK-users] [ITK] itk Python: change orientation of CT scan In-Reply-To: <50B858FB5F53124F9E32314E5C1B409435BB2787@MBX212.d.ethz.ch> References: <50B858FB5F53124F9E32314E5C1B409435BB2787@MBX212.d.ethz.ch> Message-ID: <1951585285.66743908.1474273210799.JavaMail.zimbra@enst.fr> Hello Fabio, The ResampleImageFilter is the correct way to do it. I think it's the output origin that fails you. The image origin is the most negative coordinate point <=> where the image start. You want a -90? rotation around X-axis, if X facing toward you (quoting "the y coordinate of the input origin should become the ?z coordinate"). So the point that is going to be the new origin is the most negative X,Z and most positive Y in the initial image. Apply the transformation on it and you should have the correct output origin. The size and spacing should be [SizeX,SizeZ,SizeY] and [SpacingX,SpacingZ,SpacingY] as you already said, and direction should stay the same. HTH, Tim ----- Mail original ----- De: "D'Isidoro Fabio" ?: insight-users at itk.org Envoy?: Vendredi 16 Septembre 2016 23:51:32 Objet: [ITK] [ITK-users] itk Python: change orientation of CT scan Hallo, I have a CT scan of a pelvis and I want to re-orient the axes (I need to rotate the physical coordinate system by 90? around the x-axis, with image center as centre of rotation). How could I do it? 1) Flip Image Filter. However, I will need to generate Digitally Reconstructed Radiographs DRR at different orientations of the CT scan. Hence I would be scared to change the direction cosine matrix, because I don?t really understand what will happen when the CT scan will be further rotated. 2) A more understable solution would be to use a ResampleImageFilter with transform a CenteredEuler3DTransform. However I get completely lost when I need to assign the origin, the spacing and the size to the output image: - Ouptput origin : would be a properly roto-translated version of the input origin, right? Describing with M the roto-translation matrix obtained with the CenteredEuler3DTransform, I would do ?resample_filter.SetOutputOrigin(M*input_origin)?. - Output spacing : I would need that the input_spacing = (0.7, 0.7, 1.0) would have to become output_ spacing = (0.7, 1.0, 0.7). This would in practice be the clumsy operation ?resample_filter.SetOutputSpacing(abs(M*input_ spacing))?. - Output size : same as for the origin ?resample_filter.SetOutputSize(abs(M*input_ size))?. - Output Direction : does it have to be changed at all? My understanding is that it has nothing to do with the transform, because it only defines the way pixel indexes are retrieved from the physical coordinates. So I would not change the OutputDirection for the output image. I have read the section 2.9 of the ITK guide (Geometric Transformations), however in all the examples the origin, spacing and size of the output image were arbitrarily chosen independently from the transform. In my case I need to obtain an output image that is consistent with the input image (for example, the y coordinate of the input origin should become the ?z coordinate of the output origin and so on). If I arbitrarily choose the output parameters, the output image will be partially black and parts of the pelvis will be cut out. Please help, Thank you. Fabio. _____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-users _______________________________________________ Community mailing list Community at itk.org http://public.kitware.com/mailman/listinfo/community From mike.jackson at bluequartz.net Mon Sep 19 10:26:52 2016 From: mike.jackson at bluequartz.net (Michael Jackson) Date: Mon, 19 Sep 2016 10:26:52 -0400 Subject: [ITK-users] Access to ITK_LIBRARY_DIRS during CMake Message-ID: <57DFF5AC.5060300@bluequartz.net> I have a self built ITK 4.9.1 on OS X 10.10.5 with Xcode 7.2. I am trying to get the "ITK_LIBRARY_DIRS" but that variable seems to be empty when I run CMake. This is after I do the "FindPackage(ITK...)" cmake code. Is that variable supposed to be empty? Is there a better way to get the Library directory? I need it for one of my scripts that packages our OS X application. Thanks -- Michael A. Jackson BlueQuartz Software, LLC [e]: mike.jackson at bluequartz.net From blowekamp at mail.nih.gov Mon Sep 19 10:39:04 2016 From: blowekamp at mail.nih.gov (Lowekamp, Bradley (NIH/NLM/LHC) [C]) Date: Mon, 19 Sep 2016 14:39:04 +0000 Subject: [ITK-users] Access to ITK_LIBRARY_DIRS during CMake In-Reply-To: <57DFF5AC.5060300@bluequartz.net> References: <57DFF5AC.5060300@bluequartz.net> Message-ID: <91C17CD4-5147-4C07-8614-D01842136D59@mail.nih.gov> Hello, I would look at ITKConfig.cmake and ITKTargets.cmake. ITK now uses the libraries as ?IMPORTED? targets with properties to specify the full path to the libraries. After that there are a variety of ?rpath? complication at link and run time to ensure the correct library is loaded. I have to spend a while reading the documentation to understand the issues again. These are considered the ?new? and ?better? way of doing things. I would look into why you need ?ITK_LIBRARY_DIRS? for you project, and then see if there is a newer and better way to now do that with imported targets or ?rpaths?. HTH, Brad > On Sep 19, 2016, at 10:26 AM, Michael Jackson wrote: > > I have a self built ITK 4.9.1 on OS X 10.10.5 with Xcode 7.2. I am trying to get the "ITK_LIBRARY_DIRS" but that variable seems to be empty when I run CMake. This is after I do the "FindPackage(ITK...)" cmake code. Is that variable supposed to be empty? Is there a better way to get the Library directory? I need it for one of my scripts that packages our OS X application. > > Thanks > > -- > Michael A. Jackson > BlueQuartz Software, LLC > [e]: mike.jackson at bluequartz.net > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users From mike.jackson at bluequartz.net Mon Sep 19 10:55:26 2016 From: mike.jackson at bluequartz.net (Michael Jackson) Date: Mon, 19 Sep 2016 10:55:26 -0400 Subject: [ITK-users] Access to ITK_LIBRARY_DIRS during CMake In-Reply-To: <91C17CD4-5147-4C07-8614-D01842136D59@mail.nih.gov> References: <57DFF5AC.5060300@bluequartz.net> <91C17CD4-5147-4C07-8614-D01842136D59@mail.nih.gov> Message-ID: <57DFFC5E.4000506@bluequartz.net> we need the directory for the BundleUtilities to be able to find the Itk libraries because the Itk libraries are built with @rpath as the "install_name" instead of an absolute path. I wrote the following cmake code: # get the ITKCommon library absolute path STRING(TOUPPER ${CMAKE_BUILD_TYPE} BUILD_TYPE_UPPER) get_target_property(ITK_COMMON_LIB ITKCommon IMPORTED_LOCATION_${BUILD_TYPE_UPPER}) #message(STATUS "ITK_COMMON_LIB: ${ITK_COMMON_LIB}") # Now get the absolute PATH to that library. We assume this is the library directory (Which might fail on Windows) GET_FILENAME_COMPONENT (ITK_LIBRARY_DIRS "${ITK_COMMON_LIB}" PATH) #message(STATUS "ITK_LIBRARY_DIRS:\n ${ITK_LIBRARY_DIRS}") # Now append that path to the SIMPLibSearchDirs property get_property(SIMPLibSearchDirs GLOBAL PROPERTY SIMPLibSearchDirs) if(NOT "${SIMPLibSearchDirs}" STREQUAL "") file(APPEND "${SIMPLibSearchDirs}" "${ITK_LIBRARY_DIRS};") endif() I think ItkCommon is the lowest level of the Itk libraries so if we can find that we should be OK. If that does not exist then I am assuming Itk is probably not build correctly. -- Mike Jackson [mike.jackson at bluequartz.net] Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: > Hello, > > I would look at ITKConfig.cmake and ITKTargets.cmake. > > ITK now uses the libraries as ?IMPORTED? targets with properties to specify the full path to the libraries. > > After that there are a variety of ?rpath? complication at link and run time to ensure the correct library is loaded. I have to spend a while reading the documentation to understand the issues again. > > These are considered the ?new? and ?better? way of doing things. I would look into why you need ?ITK_LIBRARY_DIRS? for you project, and then see if there is a newer and better way to now do that with imported targets or ?rpaths?. > > HTH, > Brad > > > >> On Sep 19, 2016, at 10:26 AM, Michael Jackson wrote: >> >> I have a self built ITK 4.9.1 on OS X 10.10.5 with Xcode 7.2. I am trying to get the "ITK_LIBRARY_DIRS" but that variable seems to be empty when I run CMake. This is after I do the "FindPackage(ITK...)" cmake code. Is that variable supposed to be empty? Is there a better way to get the Library directory? I need it for one of my scripts that packages our OS X application. >> >> Thanks >> >> -- >> Michael A. Jackson >> BlueQuartz Software, LLC >> [e]: mike.jackson at bluequartz.net >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users > From matt.mccormick at kitware.com Mon Sep 19 11:21:04 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Mon, 19 Sep 2016 11:21:04 -0400 Subject: [ITK-users] Access to ITK_LIBRARY_DIRS during CMake In-Reply-To: <57DFFC5E.4000506@bluequartz.net> References: <57DFF5AC.5060300@bluequartz.net> <91C17CD4-5147-4C07-8614-D01842136D59@mail.nih.gov> <57DFFC5E.4000506@bluequartz.net> Message-ID: Hi Mike, The ITK_RUNTIME_LIBRARY_DIRS variable was added in ITK 4.9.0 as explained here [1] [2] Hope this helps, Matt [1] https://issues.itk.org/jira/browse/ITK-3026 [2] http://review.source.kitware.com/#/c/20473 On Mon, Sep 19, 2016 at 10:55 AM, Michael Jackson wrote: > we need the directory for the BundleUtilities to be able to find the Itk > libraries because the Itk libraries are built with @rpath as the > "install_name" instead of an absolute path. I wrote the following cmake > code: > > # get the ITKCommon library absolute path > STRING(TOUPPER ${CMAKE_BUILD_TYPE} BUILD_TYPE_UPPER) > get_target_property(ITK_COMMON_LIB ITKCommon > IMPORTED_LOCATION_${BUILD_TYPE_UPPER}) > #message(STATUS "ITK_COMMON_LIB: ${ITK_COMMON_LIB}") > # Now get the absolute PATH to that library. We assume this is the library > directory (Which might fail on Windows) > GET_FILENAME_COMPONENT (ITK_LIBRARY_DIRS "${ITK_COMMON_LIB}" PATH) > > #message(STATUS "ITK_LIBRARY_DIRS:\n ${ITK_LIBRARY_DIRS}") > > # Now append that path to the SIMPLibSearchDirs property > get_property(SIMPLibSearchDirs GLOBAL PROPERTY SIMPLibSearchDirs) > if(NOT "${SIMPLibSearchDirs}" STREQUAL "") > file(APPEND "${SIMPLibSearchDirs}" "${ITK_LIBRARY_DIRS};") > endif() > > I think ItkCommon is the lowest level of the Itk libraries so if we can find > that we should be OK. If that does not exist then I am assuming Itk is > probably not build correctly. > > -- > Mike Jackson [mike.jackson at bluequartz.net] > > > > Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: >> >> Hello, >> >> I would look at ITKConfig.cmake and ITKTargets.cmake. >> >> ITK now uses the libraries as ?IMPORTED? targets with properties to >> specify the full path to the libraries. >> >> After that there are a variety of ?rpath? complication at link and run >> time to ensure the correct library is loaded. I have to spend a while >> reading the documentation to understand the issues again. >> >> These are considered the ?new? and ?better? way of doing things. I would >> look into why you need ?ITK_LIBRARY_DIRS? for you project, and then see if >> there is a newer and better way to now do that with imported targets or >> ?rpaths?. >> >> HTH, >> Brad >> >> >> >>> On Sep 19, 2016, at 10:26 AM, Michael >>> Jackson wrote: >>> >>> I have a self built ITK 4.9.1 on OS X 10.10.5 with Xcode 7.2. I am trying >>> to get the "ITK_LIBRARY_DIRS" but that variable seems to be empty when I run >>> CMake. This is after I do the "FindPackage(ITK...)" cmake code. Is that >>> variable supposed to be empty? Is there a better way to get the Library >>> directory? I need it for one of my scripts that packages our OS X >>> application. >>> >>> Thanks >>> >>> -- >>> Michael A. Jackson >>> BlueQuartz Software, LLC >>> [e]: mike.jackson at bluequartz.net >>> _____________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Kitware offers ITK Training Courses, for more information visit: >>> http://www.kitware.com/products/protraining.php >>> >>> Please keep messages on-topic and check the ITK FAQ at: >>> http://www.itk.org/Wiki/ITK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/insight-users >> >> > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users From cyril.mory at creatis.insa-lyon.fr Mon Sep 19 11:05:28 2016 From: cyril.mory at creatis.insa-lyon.fr (Cyril Mory) Date: Mon, 19 Sep 2016 17:05:28 +0200 Subject: [ITK-users] Multiply VariableSizeMatrix by VariableLengthVector Message-ID: <41eb944a-306a-db60-de1f-7ad8414c3173@creatis.insa-lyon.fr> Hi ITK users, I have some working ITK code with itk::Matrix by itk::Vector multiplications, and I need to change to itk::VariableSizeMatrix and itk::VariableLengthVector. Simply writing "myResultVector = myMatrix * myInputVector" works with itk::Matrix and itk::Vector objects, but not with their VariableSize/Length counterparts. Is there a way to do it, other than writing the matrix by vector multiplication for-loops myself ? Regards, Cyril From francois.budin at kitware.com Mon Sep 19 12:12:07 2016 From: francois.budin at kitware.com (Francois Budin) Date: Mon, 19 Sep 2016 12:12:07 -0400 Subject: [ITK-users] Multiply VariableSizeMatrix by VariableLengthVector In-Reply-To: <41eb944a-306a-db60-de1f-7ad8414c3173@creatis.insa-lyon.fr> References: <41eb944a-306a-db60-de1f-7ad8414c3173@creatis.insa-lyon.fr> Message-ID: Hello Cyril, For the matrix conversion, you can use itk::Matrix::GetVnlMatrix() to extract the matrix from the itk::Matrix object, and use assign that vnl matrix to your itk::VariableLengthVector using operator=(const vnl_matrix< T > &matrix). itk::Matrix mat; itk::VariableSizeMatrix v_mat; v_mat = mat.GetVnlMatrix(); For the vectors, you could get access to the data from itk::Vector and pass the pointer to the data to your itk::VariableLengthVector. itk::Vector vec; itk::VariableLengthVector v_vec; v_vec.SetSize(3); v_vec.SetData(vec.GetDataPointer(),false); Be careful with the memory management for the vector as the data is still managed by the itk::Vector in this example, so the data will be destroyed if the vector is destroyed (if you go out of scope). On Mon, Sep 19, 2016 at 11:05 AM, Cyril Mory < cyril.mory at creatis.insa-lyon.fr> wrote: > Hi ITK users, > > I have some working ITK code with itk::Matrix by itk::Vector > multiplications, and I need to change to itk::VariableSizeMatrix and > itk::VariableLengthVector. > > Simply writing > > "myResultVector = myMatrix * myInputVector" > > works with itk::Matrix and itk::Vector objects, but not with their > VariableSize/Length counterparts. Is there a way to do it, other than > writing the matrix by vector multiplication for-loops myself ? > > Regards, > > Cyril > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.jackson at bluequartz.net Mon Sep 19 12:56:06 2016 From: mike.jackson at bluequartz.net (Michael Jackson) Date: Mon, 19 Sep 2016 12:56:06 -0400 Subject: [ITK-users] Access to ITK_LIBRARY_DIRS during CMake In-Reply-To: References: <57DFF5AC.5060300@bluequartz.net> <91C17CD4-5147-4C07-8614-D01842136D59@mail.nih.gov> <57DFFC5E.4000506@bluequartz.net> Message-ID: <57E018A6.3030506@bluequartz.net> Thanks Matt, I'll use ITK_RUNTIME_LIBRARY_DIRS variable. -- Michael A. Jackson BlueQuartz Software, LLC [e]: mike.jackson at bluequartz.net Matt McCormick wrote: > Hi Mike, > > The ITK_RUNTIME_LIBRARY_DIRS variable was added in ITK 4.9.0 as > explained here [1] [2] > > Hope this helps, > Matt > > [1] https://issues.itk.org/jira/browse/ITK-3026 > > [2] http://review.source.kitware.com/#/c/20473 > > On Mon, Sep 19, 2016 at 10:55 AM, Michael Jackson > wrote: >> we need the directory for the BundleUtilities to be able to find the Itk >> libraries because the Itk libraries are built with @rpath as the >> "install_name" instead of an absolute path. I wrote the following cmake >> code: >> >> # get the ITKCommon library absolute path >> STRING(TOUPPER ${CMAKE_BUILD_TYPE} BUILD_TYPE_UPPER) >> get_target_property(ITK_COMMON_LIB ITKCommon >> IMPORTED_LOCATION_${BUILD_TYPE_UPPER}) >> #message(STATUS "ITK_COMMON_LIB: ${ITK_COMMON_LIB}") >> # Now get the absolute PATH to that library. We assume this is the library >> directory (Which might fail on Windows) >> GET_FILENAME_COMPONENT (ITK_LIBRARY_DIRS "${ITK_COMMON_LIB}" PATH) >> >> #message(STATUS "ITK_LIBRARY_DIRS:\n ${ITK_LIBRARY_DIRS}") >> >> # Now append that path to the SIMPLibSearchDirs property >> get_property(SIMPLibSearchDirs GLOBAL PROPERTY SIMPLibSearchDirs) >> if(NOT "${SIMPLibSearchDirs}" STREQUAL "") >> file(APPEND "${SIMPLibSearchDirs}" "${ITK_LIBRARY_DIRS};") >> endif() >> >> I think ItkCommon is the lowest level of the Itk libraries so if we can find >> that we should be OK. If that does not exist then I am assuming Itk is >> probably not build correctly. >> >> -- >> Mike Jackson [mike.jackson at bluequartz.net] >> >> >> >> Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: >>> Hello, >>> >>> I would look at ITKConfig.cmake and ITKTargets.cmake. >>> >>> ITK now uses the libraries as ?IMPORTED? targets with properties to >>> specify the full path to the libraries. >>> >>> After that there are a variety of ?rpath? complication at link and run >>> time to ensure the correct library is loaded. I have to spend a while >>> reading the documentation to understand the issues again. >>> >>> These are considered the ?new? and ?better? way of doing things. I would >>> look into why you need ?ITK_LIBRARY_DIRS? for you project, and then see if >>> there is a newer and better way to now do that with imported targets or >>> ?rpaths?. >>> >>> HTH, >>> Brad >>> >>> >>> >>>> On Sep 19, 2016, at 10:26 AM, Michael >>>> Jackson wrote: >>>> >>>> I have a self built ITK 4.9.1 on OS X 10.10.5 with Xcode 7.2. I am trying >>>> to get the "ITK_LIBRARY_DIRS" but that variable seems to be empty when I run >>>> CMake. This is after I do the "FindPackage(ITK...)" cmake code. Is that >>>> variable supposed to be empty? Is there a better way to get the Library >>>> directory? I need it for one of my scripts that packages our OS X >>>> application. >>>> >>>> Thanks >>>> >>>> -- >>>> Michael A. Jackson >>>> BlueQuartz Software, LLC >>>> [e]: mike.jackson at bluequartz.net >>>> _____________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Kitware offers ITK Training Courses, for more information visit: >>>> http://www.kitware.com/products/protraining.php >>>> >>>> Please keep messages on-topic and check the ITK FAQ at: >>>> http://www.itk.org/Wiki/ITK_FAQ >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/insight-users >>> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users From matt.mccormick at kitware.com Mon Sep 19 15:32:39 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Mon, 19 Sep 2016 15:32:39 -0400 Subject: [ITK-users] Write to file In-Reply-To: <1473877462293-7589209.post@n2.nabble.com> References: <1473877462293-7589209.post@n2.nabble.com> Message-ID: Hi Robert, This library could be extended to serialize / deserialize the object to disk as .JSON files: https://github.com/Slicer/ParameterSerializer HTH, Matt On Wed, Sep 14, 2016 at 2:24 PM, Robert wrote: > Dear ITK community, > > is there a possibility to write the output of a shape function to a file? > More precisely, if I take for example the geodesic segmentation filter, this > inputs the shape to the algorithm: > geodesicActiveContour->SetShapeFunction( shape ); > However, I now want this "shape" object saved to a file for a later use, and > not calculated on the fly each time running the algorithm. > An imagefilewriter does not seem to do the job... > > Thanks in advance, > Robert > > > > -- > View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Write-to-file-tp7589209.html > Sent from the ITK Insight Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users From cyril.mory at creatis.insa-lyon.fr Mon Sep 19 16:02:47 2016 From: cyril.mory at creatis.insa-lyon.fr (Cyril Mory) Date: Mon, 19 Sep 2016 22:02:47 +0200 Subject: [ITK-users] Multiply VariableSizeMatrix by VariableLengthVector In-Reply-To: References: <41eb944a-306a-db60-de1f-7ad8414c3173@creatis.insa-lyon.fr> Message-ID: Thanks for this reply, but part of it is not what I was looking for. In my understanding, the solution you suggested allows to multiply a VariableSizeMatrix with a Vector, and then store the result into a VariableLenghtVector. But my input is also a VariableLengthVector, not a Vector. So let me be clearer: I want to multiply a VariableSizeMatrix with a VariableLengthVector. Is there a way to extract from this VariableLengthVector something that can be multiplied with VariableSizeMatrix.GetVnlMatrix() ? Maybe I should copy my VariableLengthVector into a vnl_vector ? I do not know the size of that VariableLengthVector at compile time, so I cannot create an itk::Vector of the correct size. Best, Cyril On 09/19/2016 06:12 PM, Francois Budin wrote: > Hello Cyril, > > For the matrix conversion, you can use itk::Matrix::GetVnlMatrix() to > extract the matrix from the itk::Matrix object, and use assign that > vnl matrix to your itk::VariableLengthVector using operator=(const > vnl_matrix< T > &matrix). > > itk::Matrix mat; > itk::VariableSizeMatrix v_mat; > v_mat = mat.GetVnlMatrix(); > > For the vectors, you could get access to the data from itk::Vector and > pass the pointer to the data to your itk::VariableLengthVector. > itk::Vector vec; > itk::VariableLengthVector v_vec; > v_vec.SetSize(3); > v_vec.SetData(vec.GetDataPointer(),false); > > Be careful with the memory management for the vector as the data is > still managed by the itk::Vector in this example, so the data will be > destroyed if the vector is destroyed (if you go out of scope). > > On Mon, Sep 19, 2016 at 11:05 AM, Cyril Mory > > wrote: > > Hi ITK users, > > I have some working ITK code with itk::Matrix by itk::Vector > multiplications, and I need to change to itk::VariableSizeMatrix > and itk::VariableLengthVector. > > Simply writing > > "myResultVector = myMatrix * myInputVector" > > works with itk::Matrix and itk::Vector objects, but not with their > VariableSize/Length counterparts. Is there a way to do it, other > than writing the matrix by vector multiplication for-loops myself ? > > Regards, > > Cyril > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fisidoro at ethz.ch Mon Sep 19 16:09:39 2016 From: fisidoro at ethz.ch (D'Isidoro Fabio) Date: Mon, 19 Sep 2016 20:09:39 +0000 Subject: [ITK-users] itk Python: origin of DICOM slice does not change Message-ID: <50B858FB5F53124F9E32314E5C1B409435BB5ABA@MBX212.d.ethz.ch> Hi, Following the code ResampleImageFilter2.cxx, I am applying an Identity Transform to a single DICOM slice, I change the origin to output_origin = reader.GetOutput().GetOrigin() + offset and I write the transformed DICOM slice into a new DICOM slice (following the code DICOMImageReadAndWrite.cxx). I visualize the written DICOM slice with a viewer (it's an itk-vtk segmentation software). The transformed DICOM slice looks as it should. Surprisingly however the viewer shows the original input values as origin. This is confirmed by the fact that if I read with an itk script the written DICOM slice again, and I print the information of the DICOM slice, the origin is still the original one and not the modified one. How could this be? Original DICOM slice: [cid:image001.png at 01D212C2.83CCFB10] Transformed DICOM slice: [cid:image002.png at 01D212C2.83CCFB10] Thank you for help, Fabio. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: application/softgrid-png Size: 33458 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: application/softgrid-png Size: 34423 bytes Desc: image002.png URL: From francois.budin at kitware.com Mon Sep 19 16:32:52 2016 From: francois.budin at kitware.com (Francois Budin) Date: Mon, 19 Sep 2016 16:32:52 -0400 Subject: [ITK-users] Multiply VariableSizeMatrix by VariableLengthVector In-Reply-To: References: <41eb944a-306a-db60-de1f-7ad8414c3173@creatis.insa-lyon.fr> Message-ID: Hello Cyril, The solution I provided works indeed only if you have an itk::Matrix and an itk::Vector, compute the product, and then convert it to variable size containers. It seems that what you want to do is the reverse. One solution is to work directly with vnl_vector and vnl_matrix: //Input data itk::VariableLengthVector v_vec; itk::VariableSizeMatrix v_mat; v_vec.SetSize(3); v_vec.Fill(1.7); v_mat.Fill(1.3); // Converting data to vnl vector and matrix vnl_vector vnl_vec(v_vec.GetDataPointer(),v_vec.GetSize()); vnl_matrix vnl_mat=v_mat.GetVnlMatrix(); vnl_vector vnl_vec_res=vnl_mat*vnl_vec; // Converting result back v_vec.SetData(vnl_vec_res.data_block(),3,false); You could also work with itk::Vector and itk::Matrix if you know the size is within a certain range (i.e. dimensions 2 and 3). You could use templates over this range. Hope this helps Francois On Mon, Sep 19, 2016 at 4:02 PM, Cyril Mory wrote: > Thanks for this reply, but part of it is not what I was looking for. In my > understanding, the solution you suggested allows to multiply a > VariableSizeMatrix with a Vector, and then store the result into a > VariableLenghtVector. But my input is also a VariableLengthVector, not a > Vector. > > So let me be clearer: I want to multiply a VariableSizeMatrix with a > VariableLengthVector. Is there a way to extract from this > VariableLengthVector something that can be multiplied with > VariableSizeMatrix.GetVnlMatrix() ? Maybe I should copy my > VariableLengthVector into a vnl_vector ? > > I do not know the size of that VariableLengthVector at compile time, so I > cannot create an itk::Vector of the correct size. > Best, > Cyril > > > On 09/19/2016 06:12 PM, Francois Budin wrote: > > Hello Cyril, > > For the matrix conversion, you can use itk::Matrix::GetVnlMatrix() to > extract the matrix from the itk::Matrix object, and use assign that vnl > matrix to your itk::VariableLengthVector using operator=(const vnl_matrix< > T > &matrix). > > itk::Matrix mat; > itk::VariableSizeMatrix v_mat; > v_mat = mat.GetVnlMatrix(); > > For the vectors, you could get access to the data from itk::Vector and > pass the pointer to the data to your itk::VariableLengthVector. > itk::Vector vec; > itk::VariableLengthVector v_vec; > v_vec.SetSize(3); > v_vec.SetData(vec.GetDataPointer(),false); > > Be careful with the memory management for the vector as the data is still > managed by the itk::Vector in this example, so the data will be destroyed > if the vector is destroyed (if you go out of scope). > > On Mon, Sep 19, 2016 at 11:05 AM, Cyril Mory < > cyril.mory at creatis.insa-lyon.fr> wrote: > >> Hi ITK users, >> >> I have some working ITK code with itk::Matrix by itk::Vector >> multiplications, and I need to change to itk::VariableSizeMatrix and >> itk::VariableLengthVector. >> >> Simply writing >> >> "myResultVector = myMatrix * myInputVector" >> >> works with itk::Matrix and itk::Vector objects, but not with their >> VariableSize/Length counterparts. Is there a way to do it, other than >> writing the matrix by vector multiplication for-loops myself ? >> >> Regards, >> >> Cyril >> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tevain at telecom-paristech.fr Tue Sep 20 04:34:43 2016 From: tevain at telecom-paristech.fr (Timothee Evain) Date: Tue, 20 Sep 2016 10:34:43 +0200 (CEST) Subject: [ITK-users] [ITK] itk Python: origin of DICOM slice does not change In-Reply-To: <50B858FB5F53124F9E32314E5C1B409435BB5ABA@MBX212.d.ethz.ch> References: <50B858FB5F53124F9E32314E5C1B409435BB5ABA@MBX212.d.ethz.ch> Message-ID: <2009491561.68129018.1474360483434.JavaMail.zimbra@enst.fr> Hi, You refer to the DICOMImageReadWrite example. If you don't change the writing part, I think your problem comes from the fact that you assign the read metadata directly to the output ( ->UseInputMetaDataDictionaryOff() ) so the original origin will be saved. HTH, Tim ----- Mail original ----- De: "D'Isidoro Fabio" ?: insight-users at itk.org Envoy?: Lundi 19 Septembre 2016 22:09:39 Objet: [ITK] [ITK-users] itk Python: origin of DICOM slice does not change Hi, Following the code ResampleImageFilter2.cxx, I am applying an Identity Transform to a single DICOM slice, I change the origin to output_origin = reader.GetOutput().GetOrigin() + offset and I write the transformed DICOM slice into a new DICOM slice (following the code DICOMImageReadAndWrite.cxx). I visualize the written DICOM slice with a viewer (it?s an itk-vtk segmentation software). The transformed DICOM slice looks as it should. Surprisingly however the viewer shows the original input values as origin. This is confirmed by the fact that if I read with an itk script the written DICOM slice again, and I print the information of the DICOM slice, the origin is still the original one and not the modified one. How could this be? Original DICOM slice: Transformed DICOM slice: Thank you for help, Fabio. _____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-users _______________________________________________ Community mailing list Community at itk.org http://public.kitware.com/mailman/listinfo/community From cyril.mory at creatis.insa-lyon.fr Tue Sep 20 07:11:34 2016 From: cyril.mory at creatis.insa-lyon.fr (Cyril Mory) Date: Tue, 20 Sep 2016 13:11:34 +0200 Subject: [ITK-users] Multiply VariableSizeMatrix by VariableLengthVector In-Reply-To: References: <41eb944a-306a-db60-de1f-7ad8414c3173@creatis.insa-lyon.fr> Message-ID: <614728991593a717537a51aab3651209@pop3.creatis.insa-lyon.fr> OK, great, I'll do as you suggest and create a vnl_vector from the VariableLenghtVector's data pointer. Thank you for your answer and the example code. Cyril On 2016-09-19 22:32, Francois Budin wrote: > Hello Cyril, > > The solution I provided works indeed only if you have an itk::Matrix > and an itk::Vector, compute the product, and then convert it to > variable size containers. > It seems that what you want to do is the reverse. > One solution is to work directly with vnl_vector and vnl_matrix: > //Input data > itk::VariableLengthVector v_vec; > itk::VariableSizeMatrix v_mat; > v_vec.SetSize(3); > v_vec.Fill(1.7); > v_mat.Fill(1.3); > > // Converting data to vnl vector and matrix > > vnl_vector vnl_vec(v_vec.GetDataPointer(),v_vec.GetSize()); > vnl_matrix vnl_mat=v_mat.GetVnlMatrix(); > vnl_vector vnl_vec_res=vnl_mat*vnl_vec; > > // Converting result back > > v_vec.SetData(vnl_vec_res.data_block(),3,false); > > You could also work with itk::Vector and itk::Matrix if you know the > size is within a certain range (i.e. dimensions 2 and 3). You could > use > > templates over this range. > > Hope this helps > > Francois > > On Mon, Sep 19, 2016 at 4:02 PM, Cyril Mory > wrote: > >> Thanks for this reply, but part of it is not what I was looking for. >> In my understanding, the solution you suggested allows to multiply a >> VariableSizeMatrix with a Vector, and then store the result into a >> VariableLenghtVector. But my input is also a VariableLengthVector, >> not a Vector. >> >> So let me be clearer: I want to multiply a VariableSizeMatrix with a >> VariableLengthVector. Is there a way to extract from this >> VariableLengthVector something that can be multiplied with >> VariableSizeMatrix.GetVnlMatrix() ? Maybe I should copy my >> VariableLengthVector into a vnl_vector ? >> >> I do not know the size of that VariableLengthVector at compile time, >> so I cannot create an itk::Vector of the correct size. >> Best, >> Cyril >> >> On 09/19/2016 06:12 PM, Francois Budin wrote: >> >> Hello Cyril, >> >> For the matrix conversion, you can use itk::Matrix::GetVnlMatrix() >> to extract the matrix from the itk::Matrix object, and use assign >> that vnl matrix to your itk::VariableLengthVector using >> operator=(const vnl_matrix< T > &matrix). >> >> itk::Matrix mat; >> itk::VariableSizeMatrix v_mat; >> v_mat = mat.GetVnlMatrix(); >> >> For the vectors, you could get access to the data from itk::Vector >> and pass the pointer to the data to your itk::VariableLengthVector. >> itk::Vector vec; >> itk::VariableLengthVector v_vec; >> v_vec.SetSize(3); >> v_vec.SetData(vec.GetDataPointer(),false); >> >> Be careful with the memory management for the vector as the data is >> still managed by the itk::Vector in this example, so the data will >> be destroyed if the vector is destroyed (if you go out of scope). >> >> On Mon, Sep 19, 2016 at 11:05 AM, Cyril Mory >> wrote: >> Hi ITK users, >> >> I have some working ITK code with itk::Matrix by itk::Vector >> multiplications, and I need to change to itk::VariableSizeMatrix and >> itk::VariableLengthVector. >> >> Simply writing >> >> "myResultVector = myMatrix * myInputVector" >> >> works with itk::Matrix and itk::Vector objects, but not with their >> VariableSize/Length counterparts. Is there a way to do it, other >> than writing the matrix by vector multiplication for-loops myself ? >> >> Regards, >> >> Cyril >> >> _____________________________________ >> Powered by www.kitware.com [1] >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html [2] >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php [3] >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ [4] >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users [5] > > > > Links: > ------ > [1] http://www.kitware.com > [2] http://www.kitware.com/opensource/opensource.html > [3] http://www.kitware.com/products/protraining.php > [4] http://www.itk.org/Wiki/ITK_FAQ > [5] http://public.kitware.com/mailman/listinfo/insight-users From fisidoro at ethz.ch Tue Sep 20 08:34:28 2016 From: fisidoro at ethz.ch (D'Isidoro Fabio) Date: Tue, 20 Sep 2016 12:34:28 +0000 Subject: [ITK-users] [ITK] itk Python: origin of DICOM slice does not change In-Reply-To: <2009491561.68129018.1474360483434.JavaMail.zimbra@enst.fr> References: <50B858FB5F53124F9E32314E5C1B409435BB5ABA@MBX212.d.ethz.ch> <2009491561.68129018.1474360483434.JavaMail.zimbra@enst.fr> Message-ID: <50B858FB5F53124F9E32314E5C1B409435BB6BD7@MBX212.d.ethz.ch> Hi, I am currently using the command: writer_output.UseInputMetaDataDictionaryOff() If I don't use it, the image is saved with default origin (0,0) mm and default spacing (1., 1.). According to the manual for UseInputMetaDataDictionaryOff(), "this flag defines whether the MetaDataDictionary to use will be the one from the input image or the one already set in the ImageIO object." My understanding is that if I set it off, the DICOM slice will be written with current values (and not the input values), which is what I want. But this seems not to happen. Relevant parts of my code: filter.SetOutputOrigin( new_origin ) writer_output.SetInput(filter.GetOutput()) writer_output.UseInputMetaDataDictionaryOff() writer_output.SetImageIO(gdcmImageIO) writer_output.Update() Maybe the function UseInputMetaDataDictionaryOff() does not work properly for the itk with Python wrapping? Thanks for your answer. Fabio. -----Original Message----- From: Timothee Evain [mailto:tevain at telecom-paristech.fr] Sent: Dienstag, 20. September 2016 10:35 To: D'Isidoro Fabio Cc: insight-users at itk.org Subject: Re: [ITK] [ITK-users] itk Python: origin of DICOM slice does not change Hi, You refer to the DICOMImageReadWrite example. If you don't change the writing part, I think your problem comes from the fact that you assign the read metadata directly to the output ( ->UseInputMetaDataDictionaryOff() ) so the original origin will be saved. HTH, Tim ----- Mail original ----- De: "D'Isidoro Fabio" ?: insight-users at itk.org Envoy?: Lundi 19 Septembre 2016 22:09:39 Objet: [ITK] [ITK-users] itk Python: origin of DICOM slice does not change Hi, Following the code ResampleImageFilter2.cxx, I am applying an Identity Transform to a single DICOM slice, I change the origin to output_origin = reader.GetOutput().GetOrigin() + offset and I write the transformed DICOM slice into a new DICOM slice (following the code DICOMImageReadAndWrite.cxx). I visualize the written DICOM slice with a viewer (it?s an itk-vtk segmentation software). The transformed DICOM slice looks as it should. Surprisingly however the viewer shows the original input values as origin. This is confirmed by the fact that if I read with an itk script the written DICOM slice again, and I print the information of the DICOM slice, the origin is still the original one and not the modified one. How could this be? Original DICOM slice: Transformed DICOM slice: Thank you for help, Fabio. _____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-users _______________________________________________ Community mailing list Community at itk.org http://public.kitware.com/mailman/listinfo/community From dzenanz at gmail.com Tue Sep 20 08:45:46 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Tue, 20 Sep 2016 08:45:46 -0400 Subject: [ITK-users] [ITK] itk Python: origin of DICOM slice does not change In-Reply-To: <50B858FB5F53124F9E32314E5C1B409435BB6BD7@MBX212.d.ethz.ch> References: <50B858FB5F53124F9E32314E5C1B409435BB5ABA@MBX212.d.ethz.ch> <2009491561.68129018.1474360483434.JavaMail.zimbra@enst.fr> <50B858FB5F53124F9E32314E5C1B409435BB6BD7@MBX212.d.ethz.ch> Message-ID: Hi Fabio, did you try setting the origin directly on the result image: filter->Update(); outImage=filter->GetOutput(); outImage->SetOrigin(new_origin); writer_output->SetInput(outImage); Regards, D?enan On Tue, Sep 20, 2016 at 8:34 AM, D'Isidoro Fabio wrote: > Hi, > > I am currently using the command: > > writer_output.UseInputMetaDataDictionaryOff() > > If I don't use it, the image is saved with default origin (0,0) mm and > default spacing (1., 1.). > > According to the manual for UseInputMetaDataDictionaryOff(), "this flag > defines whether the MetaDataDictionary to use will be the one from the > input image or the one already set in the ImageIO object." My understanding > is that if I set it off, the DICOM slice will be written with current > values (and not the input values), which is what I want. But this seems not > to happen. > > Relevant parts of my code: > > filter.SetOutputOrigin( new_origin ) > writer_output.SetInput(filter.GetOutput()) > writer_output.UseInputMetaDataDictionaryOff() > writer_output.SetImageIO(gdcmImageIO) > writer_output.Update() > > Maybe the function UseInputMetaDataDictionaryOff() does not work properly > for the itk with Python wrapping? > > Thanks for your answer. > > Fabio. > > -----Original Message----- > From: Timothee Evain [mailto:tevain at telecom-paristech.fr] > Sent: Dienstag, 20. September 2016 10:35 > To: D'Isidoro Fabio > Cc: insight-users at itk.org > Subject: Re: [ITK] [ITK-users] itk Python: origin of DICOM slice does not > change > > Hi, > > You refer to the DICOMImageReadWrite example. If you don't change the > writing part, I think your problem comes from the fact that you assign the > read metadata directly to the output ( ->UseInputMetaDataDictionaryOff() > ) so the original origin will be saved. > > HTH, > > Tim > > ----- Mail original ----- > De: "D'Isidoro Fabio" > ?: insight-users at itk.org > Envoy?: Lundi 19 Septembre 2016 22:09:39 > Objet: [ITK] [ITK-users] itk Python: origin of DICOM slice does not change > > > > Hi, > > > > Following the code ResampleImageFilter2.cxx, I am applying an Identity > Transform to a single DICOM slice, I change the origin to > > > > output_origin = reader.GetOutput().GetOrigin() + offset > > > > and I write the transformed DICOM slice into a new DICOM slice (following > the code DICOMImageReadAndWrite.cxx). > > > > I visualize the written DICOM slice with a viewer (it?s an itk-vtk > segmentation software). > > > > The transformed DICOM slice looks as it should. Surprisingly however the > viewer shows the original input values as origin. This is confirmed by the > fact that if I read with an itk script the written DICOM slice again, and I > print the information of the DICOM slice, the origin is still the original > one and not the modified one. > > > > How could this be? > > > > Original DICOM slice: > > > > > > > > Transformed DICOM slice: > > > > > > > > > > Thank you for help, > > > > Fabio. > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/ > opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > _______________________________________________ > Community mailing list > Community at itk.org > http://public.kitware.com/mailman/listinfo/community > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From fisidoro at ethz.ch Tue Sep 20 09:06:35 2016 From: fisidoro at ethz.ch (D'Isidoro Fabio) Date: Tue, 20 Sep 2016 13:06:35 +0000 Subject: [ITK-users] [ITK] itk Python: origin of DICOM slice does not change In-Reply-To: References: <50B858FB5F53124F9E32314E5C1B409435BB5ABA@MBX212.d.ethz.ch> <2009491561.68129018.1474360483434.JavaMail.zimbra@enst.fr> <50B858FB5F53124F9E32314E5C1B409435BB6BD7@MBX212.d.ethz.ch> Message-ID: <50B858FB5F53124F9E32314E5C1B409435BB6BF4@MBX212.d.ethz.ch> Hi, It doesn?t work. Filter.GetOuput() already has the new origin (I can print it and it?s right). Something wrong is in the writing process. By the way, I noticed this problem occurs for change of the origin and of rescaling intensities. It does not occur for changes in size and spacing. Regards, Fabio From: D?enan Zuki? [mailto:dzenanz at gmail.com] Sent: Dienstag, 20. September 2016 14:46 To: D'Isidoro Fabio Cc: Timothee Evain; insight-users at itk.org Subject: Re: [ITK-users] [ITK] itk Python: origin of DICOM slice does not change Hi Fabio, did you try setting the origin directly on the result image: filter->Update(); outImage=filter->GetOutput(); outImage->SetOrigin(new_origin); writer_output->SetInput(outImage); Regards, D?enan On Tue, Sep 20, 2016 at 8:34 AM, D'Isidoro Fabio > wrote: Hi, I am currently using the command: writer_output.UseInputMetaDataDictionaryOff() If I don't use it, the image is saved with default origin (0,0) mm and default spacing (1., 1.). According to the manual for UseInputMetaDataDictionaryOff(), "this flag defines whether the MetaDataDictionary to use will be the one from the input image or the one already set in the ImageIO object." My understanding is that if I set it off, the DICOM slice will be written with current values (and not the input values), which is what I want. But this seems not to happen. Relevant parts of my code: filter.SetOutputOrigin( new_origin ) writer_output.SetInput(filter.GetOutput()) writer_output.UseInputMetaDataDictionaryOff() writer_output.SetImageIO(gdcmImageIO) writer_output.Update() Maybe the function UseInputMetaDataDictionaryOff() does not work properly for the itk with Python wrapping? Thanks for your answer. Fabio. -----Original Message----- From: Timothee Evain [mailto:tevain at telecom-paristech.fr] Sent: Dienstag, 20. September 2016 10:35 To: D'Isidoro Fabio Cc: insight-users at itk.org Subject: Re: [ITK] [ITK-users] itk Python: origin of DICOM slice does not change Hi, You refer to the DICOMImageReadWrite example. If you don't change the writing part, I think your problem comes from the fact that you assign the read metadata directly to the output ( ->UseInputMetaDataDictionaryOff() ) so the original origin will be saved. HTH, Tim ----- Mail original ----- De: "D'Isidoro Fabio" > ?: insight-users at itk.org Envoy?: Lundi 19 Septembre 2016 22:09:39 Objet: [ITK] [ITK-users] itk Python: origin of DICOM slice does not change Hi, Following the code ResampleImageFilter2.cxx, I am applying an Identity Transform to a single DICOM slice, I change the origin to output_origin = reader.GetOutput().GetOrigin() + offset and I write the transformed DICOM slice into a new DICOM slice (following the code DICOMImageReadAndWrite.cxx). I visualize the written DICOM slice with a viewer (it?s an itk-vtk segmentation software). The transformed DICOM slice looks as it should. Surprisingly however the viewer shows the original input values as origin. This is confirmed by the fact that if I read with an itk script the written DICOM slice again, and I print the information of the DICOM slice, the origin is still the original one and not the modified one. How could this be? Original DICOM slice: Transformed DICOM slice: Thank you for help, Fabio. _____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-users _______________________________________________ Community mailing list Community at itk.org http://public.kitware.com/mailman/listinfo/community _____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.mccormick at kitware.com Tue Sep 20 09:14:56 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Tue, 20 Sep 2016 09:14:56 -0400 Subject: [ITK-users] [ITK] itk Python: origin of DICOM slice does not change In-Reply-To: <50B858FB5F53124F9E32314E5C1B409435BB6BF4@MBX212.d.ethz.ch> References: <50B858FB5F53124F9E32314E5C1B409435BB5ABA@MBX212.d.ethz.ch> <2009491561.68129018.1474360483434.JavaMail.zimbra@enst.fr> <50B858FB5F53124F9E32314E5C1B409435BB6BD7@MBX212.d.ethz.ch> <50B858FB5F53124F9E32314E5C1B409435BB6BF4@MBX212.d.ethz.ch> Message-ID: Hi Fabio, As suggested by Tim, call ->UseInputMetaDataDictionaryOff() to use the Origin from the itk::Image. The MetaDataDictionary tags will indicate an Origin that is not correct. HTH, Matt On Tue, Sep 20, 2016 at 9:06 AM, D'Isidoro Fabio wrote: > Hi, > > > > It doesn?t work. > > > > Filter.GetOuput() already has the new origin (I can print it and it?s > right). Something wrong is in the writing process. > > > > By the way, I noticed this problem occurs for change of the origin and of > rescaling intensities. It does not occur for changes in size and spacing. > > > > Regards, > > Fabio > > > > From: D?enan Zuki? [mailto:dzenanz at gmail.com] > Sent: Dienstag, 20. September 2016 14:46 > To: D'Isidoro Fabio > Cc: Timothee Evain; insight-users at itk.org > Subject: Re: [ITK-users] [ITK] itk Python: origin of DICOM slice does not > change > > > > Hi Fabio, > > > > did you try setting the origin directly on the result image: > > filter->Update(); > > outImage=filter->GetOutput(); > > outImage->SetOrigin(new_origin); > > writer_output->SetInput(outImage); > > > > Regards, > > D?enan > > > > > > On Tue, Sep 20, 2016 at 8:34 AM, D'Isidoro Fabio wrote: > > Hi, > > I am currently using the command: > > writer_output.UseInputMetaDataDictionaryOff() > > If I don't use it, the image is saved with default origin (0,0) mm and > default spacing (1., 1.). > > According to the manual for UseInputMetaDataDictionaryOff(), "this flag > defines whether the MetaDataDictionary to use will be the one from the input > image or the one already set in the ImageIO object." My understanding is > that if I set it off, the DICOM slice will be written with current values > (and not the input values), which is what I want. But this seems not to > happen. > > Relevant parts of my code: > > filter.SetOutputOrigin( new_origin ) > writer_output.SetInput(filter.GetOutput()) > writer_output.UseInputMetaDataDictionaryOff() > writer_output.SetImageIO(gdcmImageIO) > writer_output.Update() > > Maybe the function UseInputMetaDataDictionaryOff() does not work properly > for the itk with Python wrapping? > > Thanks for your answer. > > Fabio. > > > -----Original Message----- > From: Timothee Evain [mailto:tevain at telecom-paristech.fr] > Sent: Dienstag, 20. September 2016 10:35 > To: D'Isidoro Fabio > Cc: insight-users at itk.org > Subject: Re: [ITK] [ITK-users] itk Python: origin of DICOM slice does not > change > > Hi, > > You refer to the DICOMImageReadWrite example. If you don't change the > writing part, I think your problem comes from the fact that you assign the > read metadata directly to the output ( ->UseInputMetaDataDictionaryOff() ) > so the original origin will be saved. > > HTH, > > Tim > > ----- Mail original ----- > De: "D'Isidoro Fabio" > ?: insight-users at itk.org > Envoy?: Lundi 19 Septembre 2016 22:09:39 > Objet: [ITK] [ITK-users] itk Python: origin of DICOM slice does not change > > > > Hi, > > > > Following the code ResampleImageFilter2.cxx, I am applying an Identity > Transform to a single DICOM slice, I change the origin to > > > > output_origin = reader.GetOutput().GetOrigin() + offset > > > > and I write the transformed DICOM slice into a new DICOM slice (following > the code DICOMImageReadAndWrite.cxx). > > > > I visualize the written DICOM slice with a viewer (it?s an itk-vtk > segmentation software). > > > > The transformed DICOM slice looks as it should. Surprisingly however the > viewer shows the original input values as origin. This is confirmed by the > fact that if I read with an itk script the written DICOM slice again, and I > print the information of the DICOM slice, the origin is still the original > one and not the modified one. > > > > How could this be? > > > > Original DICOM slice: > > > > > > > > Transformed DICOM slice: > > > > > > > > > > Thank you for help, > > > > Fabio. > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > _______________________________________________ > Community mailing list > Community at itk.org > http://public.kitware.com/mailman/listinfo/community > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > > > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > From matt.mccormick at kitware.com Tue Sep 20 10:02:32 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Tue, 20 Sep 2016 10:02:32 -0400 Subject: [ITK-users] [ITK] itk Python: origin of DICOM slice does not change In-Reply-To: References: <50B858FB5F53124F9E32314E5C1B409435BB5ABA@MBX212.d.ethz.ch> <2009491561.68129018.1474360483434.JavaMail.zimbra@enst.fr> <50B858FB5F53124F9E32314E5C1B409435BB6BD7@MBX212.d.ethz.ch> <50B858FB5F53124F9E32314E5C1B409435BB6BF4@MBX212.d.ethz.ch> Message-ID: Hi Fabio, Also, if writer_output.SetImageIO(gdcmImageIO) is called, and gdcmImageIO is being re-used, then gdcmImageIO will re-use its MetaDataDictionary. So a new instance of GDCMImageIO shoulrd be passed to avoid using the old MetaDataDictionary. HTH, Matt On Tue, Sep 20, 2016 at 9:14 AM, Matt McCormick wrote: > Hi Fabio, > > As suggested by Tim, call ->UseInputMetaDataDictionaryOff() to use > the Origin from the itk::Image. The MetaDataDictionary tags will > indicate an Origin that is not correct. > > HTH, > Matt > > On Tue, Sep 20, 2016 at 9:06 AM, D'Isidoro Fabio wrote: >> Hi, >> >> >> >> It doesn?t work. >> >> >> >> Filter.GetOuput() already has the new origin (I can print it and it?s >> right). Something wrong is in the writing process. >> >> >> >> By the way, I noticed this problem occurs for change of the origin and of >> rescaling intensities. It does not occur for changes in size and spacing. >> >> >> >> Regards, >> >> Fabio >> >> >> >> From: D?enan Zuki? [mailto:dzenanz at gmail.com] >> Sent: Dienstag, 20. September 2016 14:46 >> To: D'Isidoro Fabio >> Cc: Timothee Evain; insight-users at itk.org >> Subject: Re: [ITK-users] [ITK] itk Python: origin of DICOM slice does not >> change >> >> >> >> Hi Fabio, >> >> >> >> did you try setting the origin directly on the result image: >> >> filter->Update(); >> >> outImage=filter->GetOutput(); >> >> outImage->SetOrigin(new_origin); >> >> writer_output->SetInput(outImage); >> >> >> >> Regards, >> >> D?enan >> >> >> >> >> >> On Tue, Sep 20, 2016 at 8:34 AM, D'Isidoro Fabio wrote: >> >> Hi, >> >> I am currently using the command: >> >> writer_output.UseInputMetaDataDictionaryOff() >> >> If I don't use it, the image is saved with default origin (0,0) mm and >> default spacing (1., 1.). >> >> According to the manual for UseInputMetaDataDictionaryOff(), "this flag >> defines whether the MetaDataDictionary to use will be the one from the input >> image or the one already set in the ImageIO object." My understanding is >> that if I set it off, the DICOM slice will be written with current values >> (and not the input values), which is what I want. But this seems not to >> happen. >> >> Relevant parts of my code: >> >> filter.SetOutputOrigin( new_origin ) >> writer_output.SetInput(filter.GetOutput()) >> writer_output.UseInputMetaDataDictionaryOff() >> writer_output.SetImageIO(gdcmImageIO) >> writer_output.Update() >> >> Maybe the function UseInputMetaDataDictionaryOff() does not work properly >> for the itk with Python wrapping? >> >> Thanks for your answer. >> >> Fabio. >> >> >> -----Original Message----- >> From: Timothee Evain [mailto:tevain at telecom-paristech.fr] >> Sent: Dienstag, 20. September 2016 10:35 >> To: D'Isidoro Fabio >> Cc: insight-users at itk.org >> Subject: Re: [ITK] [ITK-users] itk Python: origin of DICOM slice does not >> change >> >> Hi, >> >> You refer to the DICOMImageReadWrite example. If you don't change the >> writing part, I think your problem comes from the fact that you assign the >> read metadata directly to the output ( ->UseInputMetaDataDictionaryOff() ) >> so the original origin will be saved. >> >> HTH, >> >> Tim >> >> ----- Mail original ----- >> De: "D'Isidoro Fabio" >> ?: insight-users at itk.org >> Envoy?: Lundi 19 Septembre 2016 22:09:39 >> Objet: [ITK] [ITK-users] itk Python: origin of DICOM slice does not change >> >> >> >> Hi, >> >> >> >> Following the code ResampleImageFilter2.cxx, I am applying an Identity >> Transform to a single DICOM slice, I change the origin to >> >> >> >> output_origin = reader.GetOutput().GetOrigin() + offset >> >> >> >> and I write the transformed DICOM slice into a new DICOM slice (following >> the code DICOMImageReadAndWrite.cxx). >> >> >> >> I visualize the written DICOM slice with a viewer (it?s an itk-vtk >> segmentation software). >> >> >> >> The transformed DICOM slice looks as it should. Surprisingly however the >> viewer shows the original input values as origin. This is confirmed by the >> fact that if I read with an itk script the written DICOM slice again, and I >> print the information of the DICOM slice, the origin is still the original >> one and not the modified one. >> >> >> >> How could this be? >> >> >> >> Original DICOM slice: >> >> >> >> >> >> >> >> Transformed DICOM slice: >> >> >> >> >> >> >> >> >> >> Thank you for help, >> >> >> >> Fabio. >> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> >> _______________________________________________ >> Community mailing list >> Community at itk.org >> http://public.kitware.com/mailman/listinfo/community >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> >> >> >> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> From fisidoro at ethz.ch Tue Sep 20 10:26:36 2016 From: fisidoro at ethz.ch (D'Isidoro Fabio) Date: Tue, 20 Sep 2016 14:26:36 +0000 Subject: [ITK-users] [ITK] itk Python: origin of DICOM slice does not change In-Reply-To: References: <50B858FB5F53124F9E32314E5C1B409435BB5ABA@MBX212.d.ethz.ch> <2009491561.68129018.1474360483434.JavaMail.zimbra@enst.fr> <50B858FB5F53124F9E32314E5C1B409435BB6BD7@MBX212.d.ethz.ch> <50B858FB5F53124F9E32314E5C1B409435BB6BF4@MBX212.d.ethz.ch> Message-ID: <50B858FB5F53124F9E32314E5C1B409435BB6C3F@MBX212.d.ethz.ch> Hi, I tried this ImageIOType = itk.GDCMImageIO gdcmImageIO = ImageIOType.New() reader.SetImageIO(gdcmImageIO) reader.Update() ... writer_output.SetInput(filter.GetOutput()) writer_output.UseInputMetaDataDictionaryOff() gdcmImageIO_output = ImageIOType.New() writer_output.SetImageIO(gdcmImageIO_output) but the written DICOM image has default origin (0,0) mm and default spacing (1., 1.). Also, the example "DicomImageReadWrite" too does not create a new instance of the gdcmImageIO. -----Original Message----- From: Matt McCormick [mailto:matt.mccormick at kitware.com] Sent: Dienstag, 20. September 2016 16:03 To: D'Isidoro Fabio Cc: D?enan Zuki?; insight-users at itk.org; Timothee Evain Subject: Re: [ITK-users] [ITK] itk Python: origin of DICOM slice does not change Hi Fabio, Also, if writer_output.SetImageIO(gdcmImageIO) is called, and gdcmImageIO is being re-used, then gdcmImageIO will re-use its MetaDataDictionary. So a new instance of GDCMImageIO shoulrd be passed to avoid using the old MetaDataDictionary. HTH, Matt On Tue, Sep 20, 2016 at 9:14 AM, Matt McCormick wrote: > Hi Fabio, > > As suggested by Tim, call ->UseInputMetaDataDictionaryOff() to use > the Origin from the itk::Image. The MetaDataDictionary tags will > indicate an Origin that is not correct. > > HTH, > Matt > > On Tue, Sep 20, 2016 at 9:06 AM, D'Isidoro Fabio wrote: >> Hi, >> >> >> >> It doesn?t work. >> >> >> >> Filter.GetOuput() already has the new origin (I can print it and it?s >> right). Something wrong is in the writing process. >> >> >> >> By the way, I noticed this problem occurs for change of the origin >> and of rescaling intensities. It does not occur for changes in size and spacing. >> >> >> >> Regards, >> >> Fabio >> >> >> >> From: D?enan Zuki? [mailto:dzenanz at gmail.com] >> Sent: Dienstag, 20. September 2016 14:46 >> To: D'Isidoro Fabio >> Cc: Timothee Evain; insight-users at itk.org >> Subject: Re: [ITK-users] [ITK] itk Python: origin of DICOM slice does >> not change >> >> >> >> Hi Fabio, >> >> >> >> did you try setting the origin directly on the result image: >> >> filter->Update(); >> >> outImage=filter->GetOutput(); >> >> outImage->SetOrigin(new_origin); >> >> writer_output->SetInput(outImage); >> >> >> >> Regards, >> >> D?enan >> >> >> >> >> >> On Tue, Sep 20, 2016 at 8:34 AM, D'Isidoro Fabio wrote: >> >> Hi, >> >> I am currently using the command: >> >> writer_output.UseInputMetaDataDictionaryOff() >> >> If I don't use it, the image is saved with default origin (0,0) mm >> and default spacing (1., 1.). >> >> According to the manual for UseInputMetaDataDictionaryOff(), "this >> flag defines whether the MetaDataDictionary to use will be the one >> from the input image or the one already set in the ImageIO object." >> My understanding is that if I set it off, the DICOM slice will be >> written with current values (and not the input values), which is what >> I want. But this seems not to happen. >> >> Relevant parts of my code: >> >> filter.SetOutputOrigin( new_origin ) >> writer_output.SetInput(filter.GetOutput()) >> writer_output.UseInputMetaDataDictionaryOff() >> writer_output.SetImageIO(gdcmImageIO) >> writer_output.Update() >> >> Maybe the function UseInputMetaDataDictionaryOff() does not work >> properly for the itk with Python wrapping? >> >> Thanks for your answer. >> >> Fabio. >> >> >> -----Original Message----- >> From: Timothee Evain [mailto:tevain at telecom-paristech.fr] >> Sent: Dienstag, 20. September 2016 10:35 >> To: D'Isidoro Fabio >> Cc: insight-users at itk.org >> Subject: Re: [ITK] [ITK-users] itk Python: origin of DICOM slice does >> not change >> >> Hi, >> >> You refer to the DICOMImageReadWrite example. If you don't change the >> writing part, I think your problem comes from the fact that you >> assign the read metadata directly to the output ( >> ->UseInputMetaDataDictionaryOff() ) so the original origin will be saved. >> >> HTH, >> >> Tim >> >> ----- Mail original ----- >> De: "D'Isidoro Fabio" >> ?: insight-users at itk.org >> Envoy?: Lundi 19 Septembre 2016 22:09:39 >> Objet: [ITK] [ITK-users] itk Python: origin of DICOM slice does not >> change >> >> >> >> Hi, >> >> >> >> Following the code ResampleImageFilter2.cxx, I am applying an >> Identity Transform to a single DICOM slice, I change the origin to >> >> >> >> output_origin = reader.GetOutput().GetOrigin() + offset >> >> >> >> and I write the transformed DICOM slice into a new DICOM slice >> (following the code DICOMImageReadAndWrite.cxx). >> >> >> >> I visualize the written DICOM slice with a viewer (it?s an itk-vtk >> segmentation software). >> >> >> >> The transformed DICOM slice looks as it should. Surprisingly however >> the viewer shows the original input values as origin. This is >> confirmed by the fact that if I read with an itk script the written >> DICOM slice again, and I print the information of the DICOM slice, >> the origin is still the original one and not the modified one. >> >> >> >> How could this be? >> >> >> >> Original DICOM slice: >> >> >> >> >> >> >> >> Transformed DICOM slice: >> >> >> >> >> >> >> >> >> >> Thank you for help, >> >> >> >> Fabio. >> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> >> _______________________________________________ >> Community mailing list >> Community at itk.org >> http://public.kitware.com/mailman/listinfo/community >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> >> >> >> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> From matt.mccormick at kitware.com Tue Sep 20 13:03:26 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Tue, 20 Sep 2016 13:03:26 -0400 Subject: [ITK-users] [ITK] itk Python: origin of DICOM slice does not change In-Reply-To: <50B858FB5F53124F9E32314E5C1B409435BB6C3F@MBX212.d.ethz.ch> References: <50B858FB5F53124F9E32314E5C1B409435BB5ABA@MBX212.d.ethz.ch> <2009491561.68129018.1474360483434.JavaMail.zimbra@enst.fr> <50B858FB5F53124F9E32314E5C1B409435BB6BD7@MBX212.d.ethz.ch> <50B858FB5F53124F9E32314E5C1B409435BB6BF4@MBX212.d.ethz.ch> <50B858FB5F53124F9E32314E5C1B409435BB6C3F@MBX212.d.ethz.ch> Message-ID: Hi Fabio, In the example, a 3D non-DICOM is written to the output (e.g. NRRD). Your code must have something different if it is writing 2D DICOM files. DicomImageReadWrite is also deprecated [1]. DICOM writing support in ITK could be improved. It is recommended to write to other output formats. HTH, Matt [1] https://github.com/InsightSoftwareConsortium/ITK/blob/077527e86d96daf88663fda6bf7abeb1e92b9d9d/Examples/IO/DicomSeriesReadImageWrite.cxx#L22-L28 On Tue, Sep 20, 2016 at 10:26 AM, D'Isidoro Fabio wrote: > Hi, > > I tried this > > ImageIOType = itk.GDCMImageIO > gdcmImageIO = ImageIOType.New() > reader.SetImageIO(gdcmImageIO) > reader.Update() > > ... > > writer_output.SetInput(filter.GetOutput()) > writer_output.UseInputMetaDataDictionaryOff() > gdcmImageIO_output = ImageIOType.New() > writer_output.SetImageIO(gdcmImageIO_output) > > but the written DICOM image has default origin (0,0) mm and default spacing (1., 1.). > > Also, the example "DicomImageReadWrite" too does not create a new instance of the gdcmImageIO. > > > > > -----Original Message----- > From: Matt McCormick [mailto:matt.mccormick at kitware.com] > Sent: Dienstag, 20. September 2016 16:03 > To: D'Isidoro Fabio > Cc: D?enan Zuki?; insight-users at itk.org; Timothee Evain > Subject: Re: [ITK-users] [ITK] itk Python: origin of DICOM slice does not change > > Hi Fabio, > > Also, if > > writer_output.SetImageIO(gdcmImageIO) > > is called, and gdcmImageIO is being re-used, then gdcmImageIO will re-use its MetaDataDictionary. So a new instance of GDCMImageIO shoulrd be passed to avoid using the old MetaDataDictionary. > > HTH, > Matt > > On Tue, Sep 20, 2016 at 9:14 AM, Matt McCormick wrote: >> Hi Fabio, >> >> As suggested by Tim, call ->UseInputMetaDataDictionaryOff() to use >> the Origin from the itk::Image. The MetaDataDictionary tags will >> indicate an Origin that is not correct. >> >> HTH, >> Matt >> >> On Tue, Sep 20, 2016 at 9:06 AM, D'Isidoro Fabio wrote: >>> Hi, >>> >>> >>> >>> It doesn?t work. >>> >>> >>> >>> Filter.GetOuput() already has the new origin (I can print it and it?s >>> right). Something wrong is in the writing process. >>> >>> >>> >>> By the way, I noticed this problem occurs for change of the origin >>> and of rescaling intensities. It does not occur for changes in size and spacing. >>> >>> >>> >>> Regards, >>> >>> Fabio >>> >>> >>> >>> From: D?enan Zuki? [mailto:dzenanz at gmail.com] >>> Sent: Dienstag, 20. September 2016 14:46 >>> To: D'Isidoro Fabio >>> Cc: Timothee Evain; insight-users at itk.org >>> Subject: Re: [ITK-users] [ITK] itk Python: origin of DICOM slice does >>> not change >>> >>> >>> >>> Hi Fabio, >>> >>> >>> >>> did you try setting the origin directly on the result image: >>> >>> filter->Update(); >>> >>> outImage=filter->GetOutput(); >>> >>> outImage->SetOrigin(new_origin); >>> >>> writer_output->SetInput(outImage); >>> >>> >>> >>> Regards, >>> >>> D?enan >>> >>> >>> >>> >>> >>> On Tue, Sep 20, 2016 at 8:34 AM, D'Isidoro Fabio wrote: >>> >>> Hi, >>> >>> I am currently using the command: >>> >>> writer_output.UseInputMetaDataDictionaryOff() >>> >>> If I don't use it, the image is saved with default origin (0,0) mm >>> and default spacing (1., 1.). >>> >>> According to the manual for UseInputMetaDataDictionaryOff(), "this >>> flag defines whether the MetaDataDictionary to use will be the one >>> from the input image or the one already set in the ImageIO object." >>> My understanding is that if I set it off, the DICOM slice will be >>> written with current values (and not the input values), which is what >>> I want. But this seems not to happen. >>> >>> Relevant parts of my code: >>> >>> filter.SetOutputOrigin( new_origin ) >>> writer_output.SetInput(filter.GetOutput()) >>> writer_output.UseInputMetaDataDictionaryOff() >>> writer_output.SetImageIO(gdcmImageIO) >>> writer_output.Update() >>> >>> Maybe the function UseInputMetaDataDictionaryOff() does not work >>> properly for the itk with Python wrapping? >>> >>> Thanks for your answer. >>> >>> Fabio. >>> >>> >>> -----Original Message----- >>> From: Timothee Evain [mailto:tevain at telecom-paristech.fr] >>> Sent: Dienstag, 20. September 2016 10:35 >>> To: D'Isidoro Fabio >>> Cc: insight-users at itk.org >>> Subject: Re: [ITK] [ITK-users] itk Python: origin of DICOM slice does >>> not change >>> >>> Hi, >>> >>> You refer to the DICOMImageReadWrite example. If you don't change the >>> writing part, I think your problem comes from the fact that you >>> assign the read metadata directly to the output ( >>> ->UseInputMetaDataDictionaryOff() ) so the original origin will be saved. >>> >>> HTH, >>> >>> Tim >>> >>> ----- Mail original ----- >>> De: "D'Isidoro Fabio" >>> ?: insight-users at itk.org >>> Envoy?: Lundi 19 Septembre 2016 22:09:39 >>> Objet: [ITK] [ITK-users] itk Python: origin of DICOM slice does not >>> change >>> >>> >>> >>> Hi, >>> >>> >>> >>> Following the code ResampleImageFilter2.cxx, I am applying an >>> Identity Transform to a single DICOM slice, I change the origin to >>> >>> >>> >>> output_origin = reader.GetOutput().GetOrigin() + offset >>> >>> >>> >>> and I write the transformed DICOM slice into a new DICOM slice >>> (following the code DICOMImageReadAndWrite.cxx). >>> >>> >>> >>> I visualize the written DICOM slice with a viewer (it?s an itk-vtk >>> segmentation software). >>> >>> >>> >>> The transformed DICOM slice looks as it should. Surprisingly however >>> the viewer shows the original input values as origin. This is >>> confirmed by the fact that if I read with an itk script the written >>> DICOM slice again, and I print the information of the DICOM slice, >>> the origin is still the original one and not the modified one. >>> >>> >>> >>> How could this be? >>> >>> >>> >>> Original DICOM slice: >>> >>> >>> >>> >>> >>> >>> >>> Transformed DICOM slice: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> Thank you for help, >>> >>> >>> >>> Fabio. >>> >>> _____________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Kitware offers ITK Training Courses, for more information visit: >>> http://www.kitware.com/products/protraining.php >>> >>> Please keep messages on-topic and check the ITK FAQ at: >>> http://www.itk.org/Wiki/ITK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/insight-users >>> >>> _______________________________________________ >>> Community mailing list >>> Community at itk.org >>> http://public.kitware.com/mailman/listinfo/community >>> _____________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Kitware offers ITK Training Courses, for more information visit: >>> http://www.kitware.com/products/protraining.php >>> >>> Please keep messages on-topic and check the ITK FAQ at: >>> http://www.itk.org/Wiki/ITK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/insight-users >>> >>> >>> >>> >>> _____________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Kitware offers ITK Training Courses, for more information visit: >>> http://www.kitware.com/products/protraining.php >>> >>> Please keep messages on-topic and check the ITK FAQ at: >>> http://www.itk.org/Wiki/ITK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/insight-users >>> From matt.mccormick at kitware.com Tue Sep 20 14:14:23 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Tue, 20 Sep 2016 14:14:23 -0400 Subject: [ITK-users] [ITK] itk Python: origin of DICOM slice does not change In-Reply-To: References: <50B858FB5F53124F9E32314E5C1B409435BB5ABA@MBX212.d.ethz.ch> <2009491561.68129018.1474360483434.JavaMail.zimbra@enst.fr> <50B858FB5F53124F9E32314E5C1B409435BB6BD7@MBX212.d.ethz.ch> <50B858FB5F53124F9E32314E5C1B409435BB6BF4@MBX212.d.ethz.ch> <50B858FB5F53124F9E32314E5C1B409435BB6C3F@MBX212.d.ethz.ch> Message-ID: A Python version of the example is available here: http://review.source.kitware.com/#/c/21554/ On Tue, Sep 20, 2016 at 1:03 PM, Matt McCormick wrote: > Hi Fabio, > > In the example, a 3D non-DICOM is written to the output (e.g. NRRD). > Your code must have something different if it is writing 2D DICOM > files. DicomImageReadWrite is also deprecated [1]. > > DICOM writing support in ITK could be improved. It is recommended to > write to other output formats. > > HTH, > Matt > > [1] https://github.com/InsightSoftwareConsortium/ITK/blob/077527e86d96daf88663fda6bf7abeb1e92b9d9d/Examples/IO/DicomSeriesReadImageWrite.cxx#L22-L28 > > On Tue, Sep 20, 2016 at 10:26 AM, D'Isidoro Fabio wrote: >> Hi, >> >> I tried this >> >> ImageIOType = itk.GDCMImageIO >> gdcmImageIO = ImageIOType.New() >> reader.SetImageIO(gdcmImageIO) >> reader.Update() >> >> ... >> >> writer_output.SetInput(filter.GetOutput()) >> writer_output.UseInputMetaDataDictionaryOff() >> gdcmImageIO_output = ImageIOType.New() >> writer_output.SetImageIO(gdcmImageIO_output) >> >> but the written DICOM image has default origin (0,0) mm and default spacing (1., 1.). >> >> Also, the example "DicomImageReadWrite" too does not create a new instance of the gdcmImageIO. >> >> >> >> >> -----Original Message----- >> From: Matt McCormick [mailto:matt.mccormick at kitware.com] >> Sent: Dienstag, 20. September 2016 16:03 >> To: D'Isidoro Fabio >> Cc: D?enan Zuki?; insight-users at itk.org; Timothee Evain >> Subject: Re: [ITK-users] [ITK] itk Python: origin of DICOM slice does not change >> >> Hi Fabio, >> >> Also, if >> >> writer_output.SetImageIO(gdcmImageIO) >> >> is called, and gdcmImageIO is being re-used, then gdcmImageIO will re-use its MetaDataDictionary. So a new instance of GDCMImageIO shoulrd be passed to avoid using the old MetaDataDictionary. >> >> HTH, >> Matt >> >> On Tue, Sep 20, 2016 at 9:14 AM, Matt McCormick wrote: >>> Hi Fabio, >>> >>> As suggested by Tim, call ->UseInputMetaDataDictionaryOff() to use >>> the Origin from the itk::Image. The MetaDataDictionary tags will >>> indicate an Origin that is not correct. >>> >>> HTH, >>> Matt >>> >>> On Tue, Sep 20, 2016 at 9:06 AM, D'Isidoro Fabio wrote: >>>> Hi, >>>> >>>> >>>> >>>> It doesn?t work. >>>> >>>> >>>> >>>> Filter.GetOuput() already has the new origin (I can print it and it?s >>>> right). Something wrong is in the writing process. >>>> >>>> >>>> >>>> By the way, I noticed this problem occurs for change of the origin >>>> and of rescaling intensities. It does not occur for changes in size and spacing. >>>> >>>> >>>> >>>> Regards, >>>> >>>> Fabio >>>> >>>> >>>> >>>> From: D?enan Zuki? [mailto:dzenanz at gmail.com] >>>> Sent: Dienstag, 20. September 2016 14:46 >>>> To: D'Isidoro Fabio >>>> Cc: Timothee Evain; insight-users at itk.org >>>> Subject: Re: [ITK-users] [ITK] itk Python: origin of DICOM slice does >>>> not change >>>> >>>> >>>> >>>> Hi Fabio, >>>> >>>> >>>> >>>> did you try setting the origin directly on the result image: >>>> >>>> filter->Update(); >>>> >>>> outImage=filter->GetOutput(); >>>> >>>> outImage->SetOrigin(new_origin); >>>> >>>> writer_output->SetInput(outImage); >>>> >>>> >>>> >>>> Regards, >>>> >>>> D?enan >>>> >>>> >>>> >>>> >>>> >>>> On Tue, Sep 20, 2016 at 8:34 AM, D'Isidoro Fabio wrote: >>>> >>>> Hi, >>>> >>>> I am currently using the command: >>>> >>>> writer_output.UseInputMetaDataDictionaryOff() >>>> >>>> If I don't use it, the image is saved with default origin (0,0) mm >>>> and default spacing (1., 1.). >>>> >>>> According to the manual for UseInputMetaDataDictionaryOff(), "this >>>> flag defines whether the MetaDataDictionary to use will be the one >>>> from the input image or the one already set in the ImageIO object." >>>> My understanding is that if I set it off, the DICOM slice will be >>>> written with current values (and not the input values), which is what >>>> I want. But this seems not to happen. >>>> >>>> Relevant parts of my code: >>>> >>>> filter.SetOutputOrigin( new_origin ) >>>> writer_output.SetInput(filter.GetOutput()) >>>> writer_output.UseInputMetaDataDictionaryOff() >>>> writer_output.SetImageIO(gdcmImageIO) >>>> writer_output.Update() >>>> >>>> Maybe the function UseInputMetaDataDictionaryOff() does not work >>>> properly for the itk with Python wrapping? >>>> >>>> Thanks for your answer. >>>> >>>> Fabio. >>>> >>>> >>>> -----Original Message----- >>>> From: Timothee Evain [mailto:tevain at telecom-paristech.fr] >>>> Sent: Dienstag, 20. September 2016 10:35 >>>> To: D'Isidoro Fabio >>>> Cc: insight-users at itk.org >>>> Subject: Re: [ITK] [ITK-users] itk Python: origin of DICOM slice does >>>> not change >>>> >>>> Hi, >>>> >>>> You refer to the DICOMImageReadWrite example. If you don't change the >>>> writing part, I think your problem comes from the fact that you >>>> assign the read metadata directly to the output ( >>>> ->UseInputMetaDataDictionaryOff() ) so the original origin will be saved. >>>> >>>> HTH, >>>> >>>> Tim >>>> >>>> ----- Mail original ----- >>>> De: "D'Isidoro Fabio" >>>> ?: insight-users at itk.org >>>> Envoy?: Lundi 19 Septembre 2016 22:09:39 >>>> Objet: [ITK] [ITK-users] itk Python: origin of DICOM slice does not >>>> change >>>> >>>> >>>> >>>> Hi, >>>> >>>> >>>> >>>> Following the code ResampleImageFilter2.cxx, I am applying an >>>> Identity Transform to a single DICOM slice, I change the origin to >>>> >>>> >>>> >>>> output_origin = reader.GetOutput().GetOrigin() + offset >>>> >>>> >>>> >>>> and I write the transformed DICOM slice into a new DICOM slice >>>> (following the code DICOMImageReadAndWrite.cxx). >>>> >>>> >>>> >>>> I visualize the written DICOM slice with a viewer (it?s an itk-vtk >>>> segmentation software). >>>> >>>> >>>> >>>> The transformed DICOM slice looks as it should. Surprisingly however >>>> the viewer shows the original input values as origin. This is >>>> confirmed by the fact that if I read with an itk script the written >>>> DICOM slice again, and I print the information of the DICOM slice, >>>> the origin is still the original one and not the modified one. >>>> >>>> >>>> >>>> How could this be? >>>> >>>> >>>> >>>> Original DICOM slice: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Transformed DICOM slice: >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> Thank you for help, >>>> >>>> >>>> >>>> Fabio. >>>> >>>> _____________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Kitware offers ITK Training Courses, for more information visit: >>>> http://www.kitware.com/products/protraining.php >>>> >>>> Please keep messages on-topic and check the ITK FAQ at: >>>> http://www.itk.org/Wiki/ITK_FAQ >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/insight-users >>>> >>>> _______________________________________________ >>>> Community mailing list >>>> Community at itk.org >>>> http://public.kitware.com/mailman/listinfo/community >>>> _____________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Kitware offers ITK Training Courses, for more information visit: >>>> http://www.kitware.com/products/protraining.php >>>> >>>> Please keep messages on-topic and check the ITK FAQ at: >>>> http://www.itk.org/Wiki/ITK_FAQ >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/insight-users >>>> >>>> >>>> >>>> >>>> _____________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Kitware offers ITK Training Courses, for more information visit: >>>> http://www.kitware.com/products/protraining.php >>>> >>>> Please keep messages on-topic and check the ITK FAQ at: >>>> http://www.itk.org/Wiki/ITK_FAQ >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/insight-users >>>> From cr at neuro.ma.uni-heidelberg.de Wed Sep 21 05:05:12 2016 From: cr at neuro.ma.uni-heidelberg.de (Chr. Rossmanith) Date: Wed, 21 Sep 2016 11:05:12 +0200 Subject: [ITK-users] Setting tolerance is ignored Message-ID: <9aecc2fe-18e6-fc4f-0d77-d1225c5b1791@neuro.ma.uni-heidelberg.de> Hi, I have two images with slightly differing image origins: InputImage Origin: [-7.9896713e+01, -7.0397179e+01, 0.0000000e+00] InputImage_1 Origin: [-7.9896706e+01, -7.0397186e+01, 0.0000000e+00] which are used as input for MaskImageFilter. Processing fails with the error "Inputs do not occupy the same physical space!" and tolerance being reported as 4.6875000e-07 even if I set it to 0.001 by filter->SetGlobalDefaultCoordinateTolerance( 0.001 ). If itkImageToImageFilter would call GetGlobalDefaultCoordinateTolerance() instead of using this->m_CoordinateTolerance in VerifyInputInformation() the user defined tolerance is used. Is this a bug or is the current behaviour intended? Regards, Christina Rossmanith -- Dept. of Neurology University Medicine Mannheim University of Heidelberg --------------------------------------------- Code ---------------------------------------------------------------------------- #include "itkImageFileReader.h" #include "itkMaskImageFilter.h" int main (int argc, char *argv[]) { const unsigned int Dimension = 3; typedef short PixelType; typedef itk::Image< PixelType, Dimension > ImageType; typedef itk::ImageFileReader< ImageType > ReaderType; ReaderType::Pointer reader = ReaderType::New(); reader->SetFileName( argv[1] ); reader->Update(); ReaderType::Pointer mask = ReaderType::New(); mask->SetFileName( argv[2] ); mask->Update(); typedef itk::MaskImageFilter< ImageType, ImageType > FilterType; FilterType::Pointer filter = FilterType::New(); filter->SetGlobalDefaultCoordinateTolerance( 0.001 ); filter->SetInput1( reader->GetOutput() ); filter->SetInput2( mask->GetOutput() ); try { filter->Update(); } catch ( itk::ExceptionObject & e ) { std::cout << "MaskImageFilter failed: " << e << std::endl; return EXIT_FAILURE; } return EXIT_SUCCESS; } From blowekamp at mail.nih.gov Wed Sep 21 09:00:29 2016 From: blowekamp at mail.nih.gov (Lowekamp, Bradley (NIH/NLM/LHC) [C]) Date: Wed, 21 Sep 2016 13:00:29 +0000 Subject: [ITK-users] Setting tolerance is ignored In-Reply-To: <9aecc2fe-18e6-fc4f-0d77-d1225c5b1791@neuro.ma.uni-heidelberg.de> References: <9aecc2fe-18e6-fc4f-0d77-d1225c5b1791@neuro.ma.uni-heidelberg.de> Message-ID: <73C7483F-976A-4A6F-A50C-651A94CE3F56@mail.nih.gov> Hello, This is behaving as designed. The ?GlobalDefaultCoordinateTolerance? is the default value used when objects are constructed. Use case would be:: typedef itk::MaskImageFilter< ImageType, ImageType > FilterType; FilterType::SetGlobalDefaultCoordinateTolerance(0.001); FilterType::Pointer filter = FilterType::New(); This would set the default tolerance for ALL new ImageFilters. What you may want to do is use SetCoordinateTolerance() on your constructed filter to set the value for just that one filter. HTH, Brad > On Sep 21, 2016, at 5:05 AM, Chr. Rossmanith wrote: > > Hi, > > I have two images with slightly differing image origins: > > InputImage Origin: [-7.9896713e+01, -7.0397179e+01, 0.0000000e+00] > InputImage_1 Origin: [-7.9896706e+01, -7.0397186e+01, 0.0000000e+00] > > which are used as input for MaskImageFilter. Processing fails with the error "Inputs do not occupy the same physical space!" and tolerance being reported as 4.6875000e-07 even if I set it to 0.001 by filter->SetGlobalDefaultCoordinateTolerance( 0.001 ). > > If itkImageToImageFilter would call GetGlobalDefaultCoordinateTolerance() instead of using this->m_CoordinateTolerance in VerifyInputInformation() the user defined tolerance is used. > > Is this a bug or is the current behaviour intended? > > Regards, > Christina Rossmanith > -- > Dept. of Neurology > University Medicine Mannheim > University of Heidelberg > > > --------------------------------------------- Code ---------------------------------------------------------------------------- > > #include "itkImageFileReader.h" > #include "itkMaskImageFilter.h" > > int main (int argc, char *argv[]) > { > const unsigned int Dimension = 3; > typedef short PixelType; > typedef itk::Image< PixelType, Dimension > ImageType; > > typedef itk::ImageFileReader< ImageType > ReaderType; > ReaderType::Pointer reader = ReaderType::New(); > reader->SetFileName( argv[1] ); > reader->Update(); > ReaderType::Pointer mask = ReaderType::New(); > mask->SetFileName( argv[2] ); > mask->Update(); > > typedef itk::MaskImageFilter< ImageType, ImageType > FilterType; > FilterType::Pointer filter = FilterType::New(); > filter->SetGlobalDefaultCoordinateTolerance( 0.001 ); > filter->SetInput1( reader->GetOutput() ); > filter->SetInput2( mask->GetOutput() ); > > try > { > filter->Update(); > } > catch ( itk::ExceptionObject & e ) > { > std::cout << "MaskImageFilter failed: " << e << std::endl; > return EXIT_FAILURE; > } > > return EXIT_SUCCESS; > } > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users From cr at neuro.ma.uni-heidelberg.de Wed Sep 21 09:05:41 2016 From: cr at neuro.ma.uni-heidelberg.de (Chr. Rossmanith) Date: Wed, 21 Sep 2016 15:05:41 +0200 Subject: [ITK-users] Setting tolerance is ignored In-Reply-To: <73C7483F-976A-4A6F-A50C-651A94CE3F56@mail.nih.gov> References: <9aecc2fe-18e6-fc4f-0d77-d1225c5b1791@neuro.ma.uni-heidelberg.de> <73C7483F-976A-4A6F-A50C-651A94CE3F56@mail.nih.gov> Message-ID: <7d85d8e6-b051-7fc0-9f31-e233469fec53@neuro.ma.uni-heidelberg.de> SetCoordinateTolerance() is what I've been looking for. Thanks, Christina On 21.09.2016 15:00, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote: > Hello, > > This is behaving as designed. > > The ?GlobalDefaultCoordinateTolerance? is the default value used when objects are constructed. Use case would be:: > > typedef itk::MaskImageFilter< ImageType, ImageType > FilterType; > FilterType::SetGlobalDefaultCoordinateTolerance(0.001); > FilterType::Pointer filter = FilterType::New(); > > This would set the default tolerance for ALL new ImageFilters. > > What you may want to do is use SetCoordinateTolerance() on your constructed filter to set the value for just that one filter. > > HTH, > Brad > >> On Sep 21, 2016, at 5:05 AM, Chr. Rossmanith wrote: >> >> Hi, >> >> I have two images with slightly differing image origins: >> >> InputImage Origin: [-7.9896713e+01, -7.0397179e+01, 0.0000000e+00] >> InputImage_1 Origin: [-7.9896706e+01, -7.0397186e+01, 0.0000000e+00] >> >> which are used as input for MaskImageFilter. Processing fails with the error "Inputs do not occupy the same physical space!" and tolerance being reported as 4.6875000e-07 even if I set it to 0.001 by filter->SetGlobalDefaultCoordinateTolerance( 0.001 ). >> >> If itkImageToImageFilter would call GetGlobalDefaultCoordinateTolerance() instead of using this->m_CoordinateTolerance in VerifyInputInformation() the user defined tolerance is used. >> >> Is this a bug or is the current behaviour intended? >> >> Regards, >> Christina Rossmanith >> -- >> Dept. of Neurology >> University Medicine Mannheim >> University of Heidelberg >> >> >> --------------------------------------------- Code ---------------------------------------------------------------------------- >> >> #include "itkImageFileReader.h" >> #include "itkMaskImageFilter.h" >> >> int main (int argc, char *argv[]) >> { >> const unsigned int Dimension = 3; >> typedef short PixelType; >> typedef itk::Image< PixelType, Dimension > ImageType; >> >> typedef itk::ImageFileReader< ImageType > ReaderType; >> ReaderType::Pointer reader = ReaderType::New(); >> reader->SetFileName( argv[1] ); >> reader->Update(); >> ReaderType::Pointer mask = ReaderType::New(); >> mask->SetFileName( argv[2] ); >> mask->Update(); >> >> typedef itk::MaskImageFilter< ImageType, ImageType > FilterType; >> FilterType::Pointer filter = FilterType::New(); >> filter->SetGlobalDefaultCoordinateTolerance( 0.001 ); >> filter->SetInput1( reader->GetOutput() ); >> filter->SetInput2( mask->GetOutput() ); >> >> try >> { >> filter->Update(); >> } >> catch ( itk::ExceptionObject & e ) >> { >> std::cout << "MaskImageFilter failed: " << e << std::endl; >> return EXIT_FAILURE; >> } >> >> return EXIT_SUCCESS; >> } >> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users From matt.mccormick at kitware.com Wed Sep 21 10:15:59 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Wed, 21 Sep 2016 10:15:59 -0400 Subject: [ITK-users] PyBuffer memory consumption In-Reply-To: References: Message-ID: Hi Roy, Thanks for bringing the issue up again and sharing testing code. The issue has been addressed here: https://github.com/InsightSoftwareConsortium/ITKBridgeNumPy/commit/4d006eb39d2eb1db13a3f7ce6e639ee715d4360e including a test based off your code. It will be added to ITK with this patch: http://review.source.kitware.com/#/c/21556/ Thanks, Matt On Thu, Sep 1, 2016 at 6:44 PM, Harnish, Roy wrote: > Hi Again, > > I've played with it more and have another example that shows differences in > memory usage depending on the interplay between calls to numpy.ones() and > converter.GetImageFromArray(inputNumpyVolume): > > import itk > import numpy as np > import resource > import matplotlib.pyplot as plt > > ImageType = itk.Image[itk.D, 3] > converter = itk.PyBuffer[ImageType] > > # adding +1 to numpy created once > inputNumpyVolume = np.ones([100,100,100]) > M = [] > n = 10 > for i in range(n): > > inputNumpyVolume += 1 > inputVolume = converter.GetImageFromArray(inputNumpyVolume) > M.append(resource.getrusage(resource.RUSAGE_SELF).ru_maxrss) > > X = range(n) > plt.plot(X,M,'o', color='red') > > # creating new numpy volume each time > M = [] > for i in range(n): > > inputNumpyVolume = np.ones([100,100,100]) > inputVolume = converter.GetImageFromArray(inputNumpyVolume) > M.append(resource.getrusage(resource.RUSAGE_SELF).ru_maxrss) > > X = [x + n for x in range(n)] > plt.plot(X,M,'o', color='green') > > # creating new numpy volume but not calling > converter.GetImageFromArray(inputNumpyVolume) > M = [] > for i in range(n): > > inputNumpyVolume = np.ones([100,100,100]) > M.append(resource.getrusage(resource.RUSAGE_SELF).ru_maxrss) > > X = [x + 2*n for x in range(n)] > plt.plot(X,M,'o', color='blue') > > plt.savefig("PyBufferMem.png") > plt.show() > > Thanks for taking a look. > > Roy > ________________________________ > From: Insight-users [insight-users-bounces at itk.org] on behalf of Harnish, > Roy [Roy.Harnish at ucsf.edu] > Sent: Thursday, September 01, 2016 2:39 PM > To: insight-users at itk.org > Subject: [ITK-users] PyBuffer memory consumption > > Hi, > > I'm resurrecting a thread that I ran across trying to debug what looks to be > a memory leak when using PyBuffer: > > https://itk.org/pipermail/insight-users/2009-May/030386.html > > If I repeatedly assign the output of > itk.PyBuffer[ImageType].GetImageFromArray() to the same python variable > name, more and more memory is consumed by the process. Wondering if anyone > knows how to get this memory released? Here's some example code based on the > linked thread that should reproduce the problem: > > import itk > import numpy as np > import resource > > M = [] > > for i in range(200): > > M.append(resource.getrusage(resource.RUSAGE_SELF).ru_maxrss) > > ImageType = itk.Image[itk.D, 3] > converter = itk.PyBuffer[ImageType] > > inputNumpyVolume = np.ones((100, 100, 100)) > inputVolume = converter.GetImageFromArray(inputNumpyVolume) > # inputVolume.Delete() > > print M > > Any suggestions much appreciated. > > Roy > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > From zeinsalah at gmail.com Thu Sep 22 04:57:21 2016 From: zeinsalah at gmail.com (Zein Salah) Date: Thu, 22 Sep 2016 10:57:21 +0200 Subject: [ITK-users] False spacing from itk image reader Message-ID: Hi, I have a stragne behaviour in the itk::ImageFileReader. when I load a multiframe dicom image with the reader, the output of the reader has a correct z-spacing. But the x- and y- spacings are always 1.0. I am using itk 3.20.1 Is this a know issue? Thanks, Zein PS: Multiframe dicom: a dicom dataset in which all slices are packed in one file, not every slice in a separate file. From dzenanz at gmail.com Thu Sep 22 09:49:20 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Thu, 22 Sep 2016 09:49:20 -0400 Subject: [ITK-users] False spacing from itk image reader In-Reply-To: References: Message-ID: Hi Zein, can you check whether the same behavior occurs with ITK 4.10? Just try reading the file with one of the examples. Regards, D?enan On Thu, Sep 22, 2016 at 4:57 AM, Zein Salah wrote: > Hi, > > I have a stragne behaviour in the itk::ImageFileReader. > when I load a multiframe dicom image with the reader, the output of the > reader > has a correct z-spacing. But the x- and y- spacings are always 1.0. > > I am using itk 3.20.1 > > Is this a know issue? > > Thanks, > Zein > > PS: Multiframe dicom: a dicom dataset in which all slices are packed > in one file, > not every slice in a separate file. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ndel314 at gmail.com Thu Sep 22 10:28:20 2016 From: ndel314 at gmail.com (Nico Del Piano) Date: Thu, 22 Sep 2016 11:28:20 -0300 Subject: [ITK-users] 3D Nifti image registration Message-ID: Hello ITK users, I'm working on 3D image registration, in particular Nifti images. I'd like to know if there's some tutorial or documentation available for 3D registration. Any recommendation or suggestion would be really appreciated, as I'm just starting to use ITK and also I'm very new on medical image processing. Thanks! Nico. From matt.mccormick at kitware.com Thu Sep 22 11:04:05 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Thu, 22 Sep 2016 11:04:05 -0400 Subject: [ITK-users] 3D Nifti image registration In-Reply-To: References: Message-ID: Hi Nico, Welcome to ITK! A good starting point is the Registration chapter of the ITK Software Guide [1]. Hope this helps, Matt [1] https://itk.org/ITKSoftwareGuide/html/Book2/ITKSoftwareGuide-Book2ch3.html#x26-980003 On Thu, Sep 22, 2016 at 10:28 AM, Nico Del Piano wrote: > Hello ITK users, > > I'm working on 3D image registration, in particular Nifti images. I'd > like to know if there's some tutorial or documentation available for > 3D registration. Any recommendation or suggestion would be really > appreciated, as I'm just starting to use ITK and also I'm very new on > medical image processing. > > Thanks! > > Nico. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users From francois.budin at kitware.com Thu Sep 22 11:10:18 2016 From: francois.budin at kitware.com (Francois Budin) Date: Thu, 22 Sep 2016 11:10:18 -0400 Subject: [ITK-users] 3D Nifti image registration In-Reply-To: References: Message-ID: Hello Nico, To complete Matt's answer, you can also look at the very nice examples available on the Sphinx documentation page [1] as well as the ones on the wiki [2]. If you compile the examples (setting BUILD_EXAMPLES to ON in CMake), you can also experiment with the executables that are compiled on your machine, and look at their source code in the ITK directory. Francois [1] https://itk.org/ITKExamples/src/Registration/index.html [2] https://itk.org/Wiki/ITK/Examples#Image_Registration On Thu, Sep 22, 2016 at 11:04 AM, Matt McCormick wrote: > Hi Nico, > > Welcome to ITK! > > A good starting point is the Registration chapter of the ITK Software > Guide [1]. > > Hope this helps, > Matt > > [1] https://itk.org/ITKSoftwareGuide/html/Book2/ITKSoftwareGuide-Book2ch3. > html#x26-980003 > > On Thu, Sep 22, 2016 at 10:28 AM, Nico Del Piano > wrote: > > Hello ITK users, > > > > I'm working on 3D image registration, in particular Nifti images. I'd > > like to know if there's some tutorial or documentation available for > > 3D registration. Any recommendation or suggestion would be really > > appreciated, as I'm just starting to use ITK and also I'm very new on > > medical image processing. > > > > Thanks! > > > > Nico. > > _____________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Kitware offers ITK Training Courses, for more information visit: > > http://www.kitware.com/products/protraining.php > > > > Please keep messages on-topic and check the ITK FAQ at: > > http://www.itk.org/Wiki/ITK_FAQ > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/insight-users > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Roy.Harnish at ucsf.edu Fri Sep 23 16:53:32 2016 From: Roy.Harnish at ucsf.edu (Harnish, Roy) Date: Fri, 23 Sep 2016 20:53:32 +0000 Subject: [ITK-users] PyBuffer memory consumption In-Reply-To: References: , Message-ID: Hi Matt, Many thanks for taking a look and finding a solution! Roy ________________________________________ From: Matt McCormick [matt.mccormick at kitware.com] Sent: Wednesday, September 21, 2016 7:15 AM To: Harnish, Roy Cc: insight-users at itk.org Subject: Re: [ITK-users] PyBuffer memory consumption Hi Roy, Thanks for bringing the issue up again and sharing testing code. The issue has been addressed here: https://github.com/InsightSoftwareConsortium/ITKBridgeNumPy/commit/4d006eb39d2eb1db13a3f7ce6e639ee715d4360e including a test based off your code. It will be added to ITK with this patch: http://review.source.kitware.com/#/c/21556/ Thanks, Matt On Thu, Sep 1, 2016 at 6:44 PM, Harnish, Roy wrote: > Hi Again, > > I've played with it more and have another example that shows differences in > memory usage depending on the interplay between calls to numpy.ones() and > converter.GetImageFromArray(inputNumpyVolume): > > import itk > import numpy as np > import resource > import matplotlib.pyplot as plt > > ImageType = itk.Image[itk.D, 3] > converter = itk.PyBuffer[ImageType] > > # adding +1 to numpy created once > inputNumpyVolume = np.ones([100,100,100]) > M = [] > n = 10 > for i in range(n): > > inputNumpyVolume += 1 > inputVolume = converter.GetImageFromArray(inputNumpyVolume) > M.append(resource.getrusage(resource.RUSAGE_SELF).ru_maxrss) > > X = range(n) > plt.plot(X,M,'o', color='red') > > # creating new numpy volume each time > M = [] > for i in range(n): > > inputNumpyVolume = np.ones([100,100,100]) > inputVolume = converter.GetImageFromArray(inputNumpyVolume) > M.append(resource.getrusage(resource.RUSAGE_SELF).ru_maxrss) > > X = [x + n for x in range(n)] > plt.plot(X,M,'o', color='green') > > # creating new numpy volume but not calling > converter.GetImageFromArray(inputNumpyVolume) > M = [] > for i in range(n): > > inputNumpyVolume = np.ones([100,100,100]) > M.append(resource.getrusage(resource.RUSAGE_SELF).ru_maxrss) > > X = [x + 2*n for x in range(n)] > plt.plot(X,M,'o', color='blue') > > plt.savefig("PyBufferMem.png") > plt.show() > > Thanks for taking a look. > > Roy > ________________________________ > From: Insight-users [insight-users-bounces at itk.org] on behalf of Harnish, > Roy [Roy.Harnish at ucsf.edu] > Sent: Thursday, September 01, 2016 2:39 PM > To: insight-users at itk.org > Subject: [ITK-users] PyBuffer memory consumption > > Hi, > > I'm resurrecting a thread that I ran across trying to debug what looks to be > a memory leak when using PyBuffer: > > https://itk.org/pipermail/insight-users/2009-May/030386.html > > If I repeatedly assign the output of > itk.PyBuffer[ImageType].GetImageFromArray() to the same python variable > name, more and more memory is consumed by the process. Wondering if anyone > knows how to get this memory released? Here's some example code based on the > linked thread that should reproduce the problem: > > import itk > import numpy as np > import resource > > M = [] > > for i in range(200): > > M.append(resource.getrusage(resource.RUSAGE_SELF).ru_maxrss) > > ImageType = itk.Image[itk.D, 3] > converter = itk.PyBuffer[ImageType] > > inputNumpyVolume = np.ones((100, 100, 100)) > inputVolume = converter.GetImageFromArray(inputNumpyVolume) > # inputVolume.Delete() > > print M > > Any suggestions much appreciated. > > Roy > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > From jinzhong76 at gmail.com Fri Sep 23 18:36:31 2016 From: jinzhong76 at gmail.com (Yang, Jinzhong) Date: Fri, 23 Sep 2016 17:36:31 -0500 Subject: [ITK-users] ITK build_shared_libs Message-ID: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> Hi all, I have a very weird problem when I try to build my library. I have an old library, previously was built based on ITK 3.16 and VTK 5.8. I built my library to both DLL and static library. By configuring in cmake properly, I could build both types of libraries without any problem. Recently, I upgrade it to ITK 4.10 and VTK 7.0. If I turned on BUILD_SHARED_LIBS in ITK, both DLL and static lib for my library can be compiled and linked, however, I need to include all DLL files from ITK when I would like to distribute my library. I don't want to do so. Then I turned off BUILD_SHARED_LIBS in ITK. The static lib of my library can be built, but the DLL couldn't. Error happened during the link stage. The error message was attached below. I used CMake 3.6.2 + VS 2008 + Windows 7. 2> Creating library D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.l ib and object D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.e xp 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$Label Map at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for 'ImageIOFactoryRegisterRegisterList''(void)" (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl std::_Debug_order,class std::allocator,0> >::iterator>(class std::_Tree,class std::allocator,0> >::iterator,class std::_Tree,class std::allocator,0> >::iterator,wchar_t const *,unsigned int)" (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$alloca tor at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less@ K at std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for 'ImageIOFactoryRegisterRegisterList''(void)" (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "public: __thiscall std::vector,class itk::LabelMap > >::runLength,class std::allocator,class itk::LabelMap > >::runLength> >,class std::allocator,class itk::LabelMap > >::runLength,class std::allocator,class itk::LabelMap > >::runLength> > > >::~vector,class itk::LabelMap > >::runLength,class std::allocator,class itk::LabelMap > >::runLength> >,class std::allocator,class itk::LabelMap > >::runLength,class std::allocator,class itk::LabelMap > >::runLength> > > >(void)" (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$0 1 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength @?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject @F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryIm ageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@ @2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 @itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE @XZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "protected: __thiscall std::_Vector_val > >::MemoryBlock,class std::allocator > >::MemoryBlock> >::_Vector_val > >::MemoryBlock,class std::allocator > >::MemoryBlock> >(class std::allocator > >::MemoryBlock>)" (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$I ndex@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseF ieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V?$allocator@ UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk @@@itk@@@1@@Z) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for 'ImageIOFactoryRegisterRegisterList''(void)" (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function __ehhandler$??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V ?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator @VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$ LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength @?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject @F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V? $Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@ 2@@std@@QAE at XZ 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl std::_Debug_order2,class std::allocator,0> >::iterator>(class std::_Tree,class std::allocator,0> >::iterator,class std::_Tree,class std::allocator,0> >::iterator,wchar_t const *,unsigned int,struct std::forward_iterator_tag)" (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$alloc ator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less @K at std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl std::_Debug_order2,class std::allocator,0> >::iterator>(class std::_Tree,class std::allocator,0> >::iterator,class std::_Tree,class std::allocator,0> >::iterator,wchar_t const *,unsigned int,struct std::forward_iterator_tag)" (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$alloc ator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less @K at std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "protected: void __thiscall std::vector > >::MemoryBlock,class std::allocator > >::MemoryBlock> >::_Tidy(void)" (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$In dex@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFi eldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAEXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for 'ImageIOFactoryRegisterRegisterList''(void)" (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for 'ImageIOFactoryRegisterRegisterList''(void)" (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "public: __thiscall std::vector >::~vector >(void)" (??1?$vector at KV?$allocator at K@std@@@std@@QAE at XZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl std::_Debug_order2,class std::allocator,0> >::iterator>(class std::_Tree,class std::allocator,0> >::iterator,class std::_Tree,class std::allocator,0> >::iterator,wchar_t const *,unsigned int,struct std::forward_iterator_tag)" (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$alloc ator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less @K at std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "protected: bool __thiscall std::vector > >::MemoryBlock,class std::allocator > >::MemoryBlock> >::_Buy(unsigned int)" (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Ind ex@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFie ldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE_NI at Z) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for 'ImageIOFactoryRegisterRegisterList''(void)" (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32 .dll : fatal error LNK1120: 17 unresolved externals -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc-michel.rohe at inria.fr Sat Sep 24 14:54:34 2016 From: marc-michel.rohe at inria.fr (=?UTF-8?Q?Marc-Michel_Roh=c3=a9?=) Date: Sat, 24 Sep 2016 20:54:34 +0200 Subject: [ITK-users] Restrict parameters of a transformation to be optimized during registration Message-ID: <57E6CBEA.9000303@inria.fr> Hello, I am working with the registration pipeline of ITK using 3D images. What I would like to do is to register two images with translations but keeping the translation with respect to the third dimension at 0 (so find the best 2D translation on the axis X and Y mapping two images). Is there a way to use the ITK classes "itkTranslationTransform" and "itkImageRegistrationMethodv4" ? I have looked at multiple examples and documentation but could not find a way to do it easily if not coding a whole new class that performs 2D transform in 3D... Thx ! From dzenanz at gmail.com Sun Sep 25 10:36:18 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Sun, 25 Sep 2016 10:36:18 -0400 Subject: [ITK-users] ITK build_shared_libs In-Reply-To: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> References: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> Message-ID: Hi Yang, all your link errors are for I/O class factories. Can you read the following and see whether it helps you solve the problem? https://itk.org/Wiki/Plugin_IO_mechanisms https://itk.org/ITKExamples/src/IO/ImageBase/RegisterIOFactories/Documentation.html Regards, D?enan On Fri, Sep 23, 2016 at 6:36 PM, Yang, Jinzhong wrote: > Hi all, > > > > I have a very weird problem when I try to build my library. I have an old > library, previously was built based on ITK 3.16 and VTK 5.8. I built my > library to both DLL and static library. By configuring in cmake properly, I > could build both types of libraries without any problem. Recently, I > upgrade it to ITK 4.10 and VTK 7.0. If I turned on BUILD_SHARED_LIBS in > ITK, both DLL and static lib for my library can be compiled and linked, > however, I need to include all DLL files from ITK when I would like to > distribute my library. I don?t want to do so. Then I turned off > BUILD_SHARED_LIBS in ITK. The static lib of my library can be built, but > the DLL couldn?t. Error happened during the link stage. The error message > was attached below. I used CMake 3.6.2 + VS 2008 + Windows 7. > > > > 2> Creating library D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.lib > and object D:\MeshContourDeformation\ContourWarpingLib-x86-dll\ > Debug\ContourWarping32.exp > > 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E > $01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0 > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > GE5ImageIOFactoryRegister__Private(void)" (__imp_? > GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > GE5ImageIOFactoryRegister__Private(void)" (__imp_? > GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > GE4ImageIOFactoryRegister__Private(void)" (__imp_? > GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" (??__ > EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > GE4ImageIOFactoryRegister__Private(void)" (__imp_? > GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > MRCImageIOFactoryRegister__Private(void)" (__imp_? > MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function > "void __cdecl std::_Debug_order std::_Tset_traits,class > std::allocator,0> >::iterator>(class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,wchar_t const *,unsigned int)" > (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std > @@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V > ?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > MRCImageIOFactoryRegister__Private(void)" (__imp_? > MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > MetaImageIOFactoryRegister__Private(void)" (__imp_? > MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" (??__ > EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > MetaImageIOFactoryRegister__Private(void)" (__imp_? > MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "public: __thiscall std::vector BinaryImageToLabelMapFilter,class > itk::LabelMap > >::runLength,class > std::allocator itk::Image,class itk::LabelMap itk::LabelObject > >::runLength> >,class std::allocator std::vector itk::Image,class itk::LabelMap itk::LabelObject > >::runLength,class std::allocator BinaryImageToLabelMapFilter,class > itk::LabelMap > >::runLength> > > > >::~vector itk::Image,class itk::LabelMap itk::LabelObject > >::runLength,class std::allocator BinaryImageToLabelMapFilter,class > itk::LabelMap > >::runLength> >,class > std::allocator itk::Image,class itk::LabelMap itk::LabelObject > >::runLength,class std::allocator BinaryImageToLabelMapFilter,class > itk::LabelMap > >::runLength> > > >(void)" > (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E > $01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@ > @V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk > @@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator@ > V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk > @@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@? > $BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap@ > V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > BioRadImageIOFactoryRegister__Private(void)" (__imp_? > BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > BioRadImageIOFactoryRegister__Private(void)" (__imp_? > BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) referenced > in function "protected: __thiscall std::_Vector_val itk::ObjectStore > > >::MemoryBlock,class std::allocator itk::SparseFieldLevelSetNode > >::MemoryBlock> > >::_Vector_val itk::Index<3> > >::MemoryBlock,class std::allocator itk::ObjectStore > > >::MemoryBlock> >(class std::allocator itk::SparseFieldLevelSetNode > >::MemoryBlock>)" > (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V > ?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$ > SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V > ?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$ > Index@$02 at itk@@@itk@@@itk@@@1@@Z) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > StimulateImageIOFactoryRegister__Private(void)" (__imp_? > StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > StimulateImageIOFactoryRegister__Private(void)" (__imp_? > StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > VTKImageIOFactoryRegister__Private(void)" (__imp_? > VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" (??__ > EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > VTKImageIOFactoryRegister__Private(void)" (__imp_? > VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function __ehhandler$??1?$vector at V?$vector at VrunLength@?$ > BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V > ?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@? > $BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap@ > V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator@ > V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk > @@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@? > $BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap@ > V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > TIFFImageIOFactoryRegister__Private(void)" (__imp_? > TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > TIFFImageIOFactoryRegister__Private(void)" (__imp_? > TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > PNGImageIOFactoryRegister__Private(void)" (__imp_? > PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function > "void __cdecl std::_Debug_order2 std::_Tset_traits,class > std::allocator,0> >::iterator>(class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,wchar_t const *,unsigned > int,struct std::forward_iterator_tag)" (??$_Debug_order2 at Viterator@?$ > _Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@ > @@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K > @2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > PNGImageIOFactoryRegister__Private(void)" (__imp_? > PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > LSMImageIOFactoryRegister__Private(void)" (__imp_? > LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function > "void __cdecl std::_Debug_order2 std::_Tset_traits,class > std::allocator,0> >::iterator>(class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,wchar_t const *,unsigned > int,struct std::forward_iterator_tag)" (??$_Debug_order2 at Viterator@?$ > _Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@ > @@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K > @2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > LSMImageIOFactoryRegister__Private(void)" (__imp_? > LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "protected: void __thiscall std::vector itk::ObjectStore > > >::MemoryBlock,class std::allocator itk::SparseFieldLevelSetNode > >::MemoryBlock> > >::_Tidy(void)" (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V?$ > SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$ > allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@ > $02 at itk@@@itk@@@itk@@@std@@@std@@IAEXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > BMPImageIOFactoryRegister__Private(void)" (__imp_? > BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > BMPImageIOFactoryRegister__Private(void)" (__imp_? > BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > GDCMImageIOFactoryRegister__Private(void)" (__imp_? > GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" (??__ > EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > GDCMImageIOFactoryRegister__Private(void)" (__imp_? > GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > JPEGImageIOFactoryRegister__Private(void)" (__imp_? > JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" (??__ > EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > JPEGImageIOFactoryRegister__Private(void)" (__imp_? > JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "public: __thiscall std::vector std::allocator >::~vector std::allocator >(void)" (??1?$vector at KV?$allocator at K@std@ > @@std@@QAE at XZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > HDF5ImageIOFactoryRegister__Private(void)" (__imp_? > HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > HDF5ImageIOFactoryRegister__Private(void)" (__imp_? > HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > GiplImageIOFactoryRegister__Private(void)" (__imp_? > GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function > "void __cdecl std::_Debug_order2 std::_Tset_traits,class > std::allocator,0> >::iterator>(class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,wchar_t const *,unsigned > int,struct std::forward_iterator_tag)" (??$_Debug_order2 at Viterator@?$ > _Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@ > @@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K > @2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > GiplImageIOFactoryRegister__Private(void)" (__imp_? > GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "protected: bool __thiscall std::vector itk::ObjectStore > > >::MemoryBlock,class std::allocator itk::SparseFieldLevelSetNode > >::MemoryBlock> > >::_Buy(unsigned int)" (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V?$ > SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$ > allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@ > $02 at itk@@@itk@@@itk@@@std@@@std@@IAE_NI at Z) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > NrrdImageIOFactoryRegister__Private(void)" (__imp_? > NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > NrrdImageIOFactoryRegister__Private(void)" (__imp_? > NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > NiftiImageIOFactoryRegister__Private(void)" (__imp_? > NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" (??__ > EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > symbol "__declspec(dllimport) void __cdecl itk:: > NiftiImageIOFactoryRegister__Private(void)" (__imp_? > NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.dll > : fatal error LNK1120: 17 unresolved externals > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Sun Sep 25 10:41:12 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Sun, 25 Sep 2016 10:41:12 -0400 Subject: [ITK-users] Restrict parameters of a transformation to be optimized during registration In-Reply-To: <57E6CBEA.9000303@inria.fr> References: <57E6CBEA.9000303@inria.fr> Message-ID: Hi Marc-Michel, the classic solution for such a case is to derive a class from itkTranslationTransform and re-implement the relevant methods (TransformPoint, Translate etc). Then supply your transform class instead of itkTranslationTransform to itkImageRegistrationMethodv4. Regards, D?enan On Sat, Sep 24, 2016 at 2:54 PM, Marc-Michel Roh? wrote: > Hello, > > I am working with the registration pipeline of ITK using 3D images. What I > would like to do is to register two images with translations but keeping > the translation with respect to the third dimension at 0 (so find the best > 2D translation on the axis X and Y mapping two images). > > Is there a way to use the ITK classes "itkTranslationTransform" and > "itkImageRegistrationMethodv4" ? > > I have looked at multiple examples and documentation but could not find a > way to do it easily if not coding a whole new class that performs 2D > transform in 3D... > > Thx ! > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stnava at gmail.com Sun Sep 25 11:59:55 2016 From: stnava at gmail.com (brian avants) Date: Sun, 25 Sep 2016 11:59:55 -0400 Subject: [ITK-users] Restrict parameters of a transformation to be optimized during registration In-Reply-To: References: <57E6CBEA.9000303@inria.fr> Message-ID: This use case is also what parameter weights are for On Sunday, September 25, 2016, D?enan Zuki? wrote: > Hi Marc-Michel, > > the classic solution for such a case is to derive a class > from itkTranslationTransform and re-implement the relevant methods > (TransformPoint, Translate etc). Then supply your transform class instead > of itkTranslationTransform to itkImageRegistrationMethodv4. > > Regards, > D?enan > > On Sat, Sep 24, 2016 at 2:54 PM, Marc-Michel Roh? < > marc-michel.rohe at inria.fr > > wrote: > >> Hello, >> >> I am working with the registration pipeline of ITK using 3D images. What >> I would like to do is to register two images with translations but keeping >> the translation with respect to the third dimension at 0 (so find the best >> 2D translation on the axis X and Y mapping two images). >> >> Is there a way to use the ITK classes "itkTranslationTransform" and >> "itkImageRegistrationMethodv4" ? >> >> I have looked at multiple examples and documentation but could not find a >> way to do it easily if not coding a whole new class that performs 2D >> transform in 3D... >> >> Thx ! >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> > > -- brian -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc-michel.rohe at inria.fr Sun Sep 25 13:01:04 2016 From: marc-michel.rohe at inria.fr (Marc michel Rohe) Date: Sun, 25 Sep 2016 19:01:04 +0200 (CEST) Subject: [ITK-users] Restrict parameters of a transformation to be optimized during registration In-Reply-To: References: <57E6CBEA.9000303@inria.fr> Message-ID: <576726547.3211759.1474822864264.JavaMail.zimbra@inria.fr> Thanks a lot for both your answers. Indeed I think the method SetWeights for the optimizer is what I am looking for, and this might spare me the trouble of redefining a whole new subclass ! Best, Marc-Michel ----- Mail original ----- > De: "brian avants" > ?: "D?enan Zuki?" > Cc: "Marc-Michel Roh?" , "Insight-users" > > Envoy?: Dimanche 25 Septembre 2016 17:59:55 > Objet: Re: [ITK-users] Restrict parameters of a transformation to be > optimized during registration > This use case is also what parameter weights are for > On Sunday, September 25, 2016, D?enan Zuki? < dzenanz at gmail.com > wrote: > > Hi Marc-Michel, > > > the classic solution for such a case is to derive a class from > > itkTranslationTransform and re-implement the relevant methods > > (TransformPoint, Translate etc). Then supply your transform class instead > > of > > itkTranslationTransform to itkImageRegistrationMethodv4. > > > Regards, > > > D?enan > > > On Sat, Sep 24, 2016 at 2:54 PM, Marc-Michel Roh? < > > marc-michel.rohe at inria.fr > > > wrote: > > > > Hello, > > > > > > I am working with the registration pipeline of ITK using 3D images. What > > > I > > > would like to do is to register two images with translations but keeping > > > the > > > translation with respect to the third dimension at 0 (so find the best 2D > > > translation on the axis X and Y mapping two images). > > > > > > Is there a way to use the ITK classes "itkTranslationTransform" and > > > "itkImageRegistrationMethodv4" ? > > > > > > I have looked at multiple examples and documentation but could not find a > > > way > > > to do it easily if not coding a whole new class that performs 2D > > > transform > > > in 3D... > > > > > > Thx ! > > > > > > _____________________________________ > > > > > > Powered by www.kitware.com > > > > > > Visit other Kitware open-source projects at > > > > > > http://www.kitware.com/opensource/opensource.html > > > > > > Kitware offers ITK Training Courses, for more information visit: > > > > > > http://www.kitware.com/products/protraining.php > > > > > > Please keep messages on-topic and check the ITK FAQ at: > > > > > > http://www.itk.org/Wiki/ITK_FAQ > > > > > > Follow this link to subscribe/unsubscribe: > > > > > > http://public.kitware.com/mailman/listinfo/insight-users > > > > -- > brian -------------- next part -------------- An HTML attachment was scrubbed... URL: From swetha.bsharma at gmail.com Mon Sep 26 05:41:24 2016 From: swetha.bsharma at gmail.com (swetha) Date: Mon, 26 Sep 2016 02:41:24 -0700 (MST) Subject: [ITK-users] itk 3D image format Message-ID: <1474882884216-7589262.post@n2.nabble.com> Hi, I want to send a image volume from my application to ITK.I would like to send the pixel data and the other image parameters from my application to ITK which will then reconstruct it into a 3D volume to be further processed in ITK. I need the format of 3d volumes in ITK. -swetha -- View this message in context: http://itk-insight-users.2283740.n2.nabble.com/itk-3D-image-format-tp7589262.html Sent from the ITK Insight Users mailing list archive at Nabble.com. From chinander at gmail.com Mon Sep 26 08:52:22 2016 From: chinander at gmail.com (Mike Chinander) Date: Mon, 26 Sep 2016 07:52:22 -0500 Subject: [ITK-users] itk 3D image format In-Reply-To: <1474882884216-7589262.post@n2.nabble.com> References: <1474882884216-7589262.post@n2.nabble.com> Message-ID: Check out the ImportImageFilter example: https://itk.org/Wiki/ITK/Examples/IO/ImportImageFilter https://itk.org/Doxygen/html/classitk_1_1ImportImageFilter.html On Mon, Sep 26, 2016 at 4:41 AM, swetha wrote: > Hi, > > I want to send a image volume from my application to ITK.I would like to > send the pixel data and the other image parameters from my application to > ITK which will then reconstruct it into a 3D volume to be further processed > in ITK. I need the format of 3d volumes in ITK. > -swetha > > > > -- > View this message in context: http://itk-insight-users. > 2283740.n2.nabble.com/itk-3D-image-format-tp7589262.html > Sent from the ITK Insight Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From francois.budin at kitware.com Mon Sep 26 09:04:28 2016 From: francois.budin at kitware.com (Francois Budin) Date: Mon, 26 Sep 2016 09:04:28 -0400 Subject: [ITK-users] ITK build_shared_libs In-Reply-To: References: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> Message-ID: Hello, As Dzenan said, your problem most likely comes from a problem with the ITK IO factory. You may want to check that in your build directory, you have a directory called "ITKIOFactoryRegistration" that is created, and that it contains a file called itkImageIOFactoryRegisterManager.h. This file specifies all the type of images that are automatically registered to the factory. You should compare the list of types included in this header file with the list of ITK libraries that is passed to your compiler and make sure that it matches. Hope this helps, Francois On Sun, Sep 25, 2016 at 10:36 AM, D?enan Zuki? wrote: > Hi Yang, > > all your link errors are for I/O class factories. Can you read the > following and see whether it helps you solve the problem? > https://itk.org/Wiki/Plugin_IO_mechanisms > https://itk.org/ITKExamples/src/IO/ImageBase/RegisterIOFactories/ > Documentation.html > > Regards, > D?enan > > On Fri, Sep 23, 2016 at 6:36 PM, Yang, Jinzhong > wrote: > >> Hi all, >> >> >> >> I have a very weird problem when I try to build my library. I have an old >> library, previously was built based on ITK 3.16 and VTK 5.8. I built my >> library to both DLL and static library. By configuring in cmake properly, I >> could build both types of libraries without any problem. Recently, I >> upgrade it to ITK 4.10 and VTK 7.0. If I turned on BUILD_SHARED_LIBS in >> ITK, both DLL and static lib for my library can be compiled and linked, >> however, I need to include all DLL files from ITK when I would like to >> distribute my library. I don?t want to do so. Then I turned off >> BUILD_SHARED_LIBS in ITK. The static lib of my library can be built, but >> the DLL couldn?t. Error happened during the link stage. The error message >> was attached below. I used CMake 3.6.2 + VS 2008 + Windows 7. >> >> >> >> 2> Creating library D:\MeshContourDeformation\Cont >> ourWarpingLib-x86-dll\Debug\ContourWarping32.lib and object >> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ >> ContourWarping32.exp >> >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> function __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E$ >> 01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0 >> >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for >> 'ImageIOFactoryRegisterRegisterList''(void)" >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> function "void __cdecl std::_Debug_order> std::_Tset_traits,class >> std::allocator,0> >::iterator>(class std::_Tree> std::_Tset_traits,class >> std::allocator,0> >::iterator,class std::_Tree> std::_Tset_traits,class >> std::allocator,0> >::iterator,wchar_t const *,unsigned int)" >> (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std >> @@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V >> ?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z) >> >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for >> 'ImageIOFactoryRegisterRegisterList''(void)" >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> function "public: __thiscall std::vector> itk::BinaryImageToLabelMapFilter,class >> itk::LabelMap > >::runLength,class >> std::allocator> itk::Image,class itk::LabelMap> itk::LabelObject > >::runLength> >,class std::allocator> std::vector> itk::Image,class itk::LabelMap> itk::LabelObject > >::runLength,class std::allocator> itk::BinaryImageToLabelMapFilter,class >> itk::LabelMap > >::runLength> > > >> >::~vector> itk::Image,class itk::LabelMap> itk::LabelObject > >::runLength,class std::allocator> itk::BinaryImageToLabelMapFilter,class >> itk::LabelMap > >::runLength> >,class >> std::allocator> itk::Image,class itk::LabelMap> itk::LabelObject > >::runLength,class std::allocator> itk::BinaryImageToLabelMapFilter,class >> itk::LabelMap > >::runLength> > > >(void)" >> (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V >> ?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@ >> @V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk >> @@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@ >> @V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V >> ?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@ >> @V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk >> @@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@ >> @QAE at XZ) >> >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) referenced >> in function "protected: __thiscall std::_Vector_val> itk::ObjectStore >> > >::MemoryBlock,class std::allocator> itk::SparseFieldLevelSetNode > >::MemoryBlock> >> >::_Vector_val> itk::Index<3> > >::MemoryBlock,class std::allocator> itk::ObjectStore >> > >::MemoryBlock> >(class std::allocator> itk::SparseFieldLevelSetNode > >::MemoryBlock>)" >> (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V >> ?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$ >> SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V >> ?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V >> ?$Index@$02 at itk@@@itk@@@itk@@@1@@Z) >> >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for >> 'ImageIOFactoryRegisterRegisterList''(void)" >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> function __ehhandler$??1?$vector at V?$vector at VrunLength@?$BinaryImageTo >> LabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk >> @@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V? >> $Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@ >> @@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V >> ?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@ >> @V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk >> @@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@ >> @QAE at XZ >> >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> function "void __cdecl std::_Debug_order2> std::_Tset_traits,class >> std::allocator,0> >::iterator>(class std::_Tree> std::_Tset_traits,class >> std::allocator,0> >::iterator,class std::_Tree> std::_Tset_traits,class >> std::allocator,0> >::iterator,wchar_t const *,unsigned >> int,struct std::forward_iterator_tag)" (??$_Debug_order2 at Viterator@?$ >> _Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@ >> @@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@ >> @V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >> >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> function "void __cdecl std::_Debug_order2> std::_Tset_traits,class >> std::allocator,0> >::iterator>(class std::_Tree> std::_Tset_traits,class >> std::allocator,0> >::iterator,class std::_Tree> std::_Tset_traits,class >> std::allocator,0> >::iterator,wchar_t const *,unsigned >> int,struct std::forward_iterator_tag)" (??$_Debug_order2 at Viterator@?$ >> _Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@ >> @@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@ >> @V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >> >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> function "protected: void __thiscall std::vector> itk::ObjectStore >> > >::MemoryBlock,class std::allocator> itk::SparseFieldLevelSetNode > >::MemoryBlock> >> >::_Tidy(void)" (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V >> ?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator@ >> UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk >> @@@itk@@@itk@@@std@@@std@@IAEXXZ) >> >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for >> 'ImageIOFactoryRegisterRegisterList''(void)" >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for >> 'ImageIOFactoryRegisterRegisterList''(void)" >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> function "public: __thiscall std::vector> std::allocator >::~vector> std::allocator >(void)" (??1?$vector at KV?$allocator at K@std@ >> @@std@@QAE at XZ) >> >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> function "void __cdecl std::_Debug_order2> std::_Tset_traits,class >> std::allocator,0> >::iterator>(class std::_Tree> std::_Tset_traits,class >> std::allocator,0> >::iterator,class std::_Tree> std::_Tset_traits,class >> std::allocator,0> >::iterator,wchar_t const *,unsigned >> int,struct std::forward_iterator_tag)" (??$_Debug_order2 at Viterator@?$ >> _Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@ >> @@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@ >> @V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >> >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> function "protected: bool __thiscall std::vector> itk::ObjectStore >> > >::MemoryBlock,class std::allocator> itk::SparseFieldLevelSetNode > >::MemoryBlock> >> >::_Buy(unsigned int)" (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V >> ?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator@ >> UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk >> @@@itk@@@itk@@@std@@@std@@IAE_NI at Z) >> >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for >> 'ImageIOFactoryRegisterRegisterList''(void)" >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >> 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.dll >> : fatal error LNK1120: 17 unresolved externals >> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> >> > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tevain at telecom-paristech.fr Mon Sep 26 09:19:31 2016 From: tevain at telecom-paristech.fr (Timothee Evain) Date: Mon, 26 Sep 2016 15:19:31 +0200 (CEST) Subject: [ITK-users] [ITK] itk 3D image format In-Reply-To: References: <1474882884216-7589262.post@n2.nabble.com> Message-ID: <1938198408.73480812.1474895971375.JavaMail.zimbra@enst.fr> Hi, To complete Mike answer, you also have this tutorial covering the topic : https://itk.org/CourseWare/Training/GettingStarted-V.pdf HTH, Tim ----- Mail original ----- De: "Mike Chinander" ?: insight-users at itk.org Envoy?: Lundi 26 Septembre 2016 14:52:22 Objet: Re: [ITK] [ITK-users] itk 3D image format Check out the ImportImageFilter example: https://itk.org/Wiki/ITK/Examples/IO/ImportImageFilter https://itk.org/Doxygen/html/classitk_1_1ImportImageFilter.html On Mon, Sep 26, 2016 at 4:41 AM, swetha < swetha.bsharma at gmail.com > wrote: Hi, I want to send a image volume from my application to ITK.I would like to send the pixel data and the other image parameters from my application to ITK which will then reconstruct it into a 3D volume to be further processed in ITK. I need the format of 3d volumes in ITK. -swetha -- View this message in context: http://itk-insight-users.2283740.n2.nabble.com/itk-3D-image-format-tp7589262.html Sent from the ITK Insight Users mailing list archive at Nabble.com. _____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-users _____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-users _______________________________________________ Community mailing list Community at itk.org http://public.kitware.com/mailman/listinfo/community From jinzhong76 at gmail.com Mon Sep 26 14:32:57 2016 From: jinzhong76 at gmail.com (Yang, Jinzhong) Date: Mon, 26 Sep 2016 13:32:57 -0500 Subject: [ITK-users] ITK build_shared_libs In-Reply-To: References: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> Message-ID: <000901d21824$6789f770$369de650$@gmail.com> Still no clue. I checked the file itkImageIOFactoryRegisterManager.h. It seems all classes imported in that header were not linked. However, I check all IO libraries, it seems they were all included as dependency. As I mentioned before, if I compiled my code as static library, there is not such a problem. Here are all ITK/VTK related libraries passed to my compiler (they are generated by cmake. I enabled ITK_USE_SYSTEM_GDCM in building my ITK): D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkdouble-conversion-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itksys-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl_algo-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkv3p_netlib-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itknetlib-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvcl-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkNetlibSlatec-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKStatistics-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKTransform-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOImageBase-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBMP-4.10.lib D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDICT.lib D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmMSFF.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGDCM-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkzlib-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGIPL-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkjpeg-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOJPEG-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMetaIO-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMeta-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKznz-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKniftiio-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONIFTI-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKNrrdIO-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONRRD-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkpng-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOPNG-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itktiff-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTIFF-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOVTK-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKLabelMap-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMesh-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKSpatialObjects-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPath-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKQuadEdgeMesh-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizers-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPolynomials-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBiasCorrection-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBioCell-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDICOMParser-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDeprecated-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBioRad-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOLSM-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOStimulate-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKEXPAT-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOXML-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSpatialObjects-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKFEM-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKgiftiio-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMesh-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5_cpp-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOCSV-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOIPL-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSiemens-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOHDF5-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMRC-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformBase-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformHDF5-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformInsightLegacy-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformMatlab-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKKLMRegionGrowing-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVTK-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKWatersheds-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizersv4-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoCore-4.10.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoIO-4.10.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkChartsCore-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonColor-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonDataModel-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMath-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonCore-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtksys-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMisc-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonSystem-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonTransforms-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisCore-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersExtraction-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonExecutionModel-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersCore-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneral-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonComputationalGeometry-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersStatistics-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingFourier-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingCore-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkalglib-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContext2D-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingCore-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeometry-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSources-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingFreeType-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkfreetype-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkzlib-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDICOMParser-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistry-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXML-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOGeometry-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOCore-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXMLParser-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexpat-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistryOpenGL2-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingOpenGL2-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingHybrid-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImage-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkmetaio-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjpeg-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkpng-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtktiff-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkglew-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersAMR-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkParallelCore-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLegacy-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersFlowPaths-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneric-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHybrid-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingSources-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHyperTree-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersImaging-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingGeneral-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersModeling-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallel-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallelImaging-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersProgrammable-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSMP-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSelection-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersTexture-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersVerdict-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkverdict-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkGeovisCore-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisLayout-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionStyle-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionWidgets-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingAnnotation-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingColor-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolume-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsCore-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkproj4-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOAMR-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5_hl-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOEnSight-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExodus-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexoIIc-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF_cxx-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExport-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLabel-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImport-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOInfovis-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtklibxml2-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLSDyna-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMINC-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMovie-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkoggtheora-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIONetCDF-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOPLY-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallel-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjsoncpp-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallelXML-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOSQL-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtksqlite-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOVideo-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMath-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMorphological-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStatistics-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStencil-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionImage-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContextOpenGL2-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingImage-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLOD-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolumeOpenGL2-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingGenericBridge-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingIOSQL-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingRendering-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsContext2D-7.0.lib D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsInfovis-7.0.lib D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmIOD.lib D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDSED.lib D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmzlib.lib D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmCommon.lib D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmexpat.lib D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg8.lib D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg12.lib D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg16.lib D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmopenjpeg.lib D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmcharls.lib rpcrt4.lib D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVNLInstantiation-4.10.lib Thanks, -Jinzhong From: Francois Budin [mailto:francois.budin at kitware.com] Sent: Monday, September 26, 2016 8:04 AM To: D?enan Zuki? Cc: Yang, Jinzhong ; Insight-users Subject: Re: [ITK-users] ITK build_shared_libs Hello, As Dzenan said, your problem most likely comes from a problem with the ITK IO factory. You may want to check that in your build directory, you have a directory called "ITKIOFactoryRegistration" that is created, and that it contains a file called itkImageIOFactoryRegisterManager.h. This file specifies all the type of images that are automatically registered to the factory. You should compare the list of types included in this header file with the list of ITK libraries that is passed to your compiler and make sure that it matches. Hope this helps, Francois On Sun, Sep 25, 2016 at 10:36 AM, D?enan Zuki? > wrote: Hi Yang, all your link errors are for I/O class factories. Can you read the following and see whether it helps you solve the problem? https://itk.org/Wiki/Plugin_IO_mechanisms https://itk.org/ITKExamples/src/IO/ImageBase/RegisterIOFactories/Documentation.html Regards, D?enan On Fri, Sep 23, 2016 at 6:36 PM, Yang, Jinzhong > wrote: Hi all, I have a very weird problem when I try to build my library. I have an old library, previously was built based on ITK 3.16 and VTK 5.8. I built my library to both DLL and static library. By configuring in cmake properly, I could build both types of libraries without any problem. Recently, I upgrade it to ITK 4.10 and VTK 7.0. If I turned on BUILD_SHARED_LIBS in ITK, both DLL and static lib for my library can be compiled and linked, however, I need to include all DLL files from ITK when I would like to distribute my library. I don?t want to do so. Then I turned off BUILD_SHARED_LIBS in ITK. The static lib of my library can be built, but the DLL couldn?t. Error happened during the link stage. The error message was attached below. I used CMake 3.6.2 + VS 2008 + Windows 7. 2> Creating library D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.lib and object D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.exp 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE5ImageIOFactoryRegister__Private(void)" (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for 'ImageIOFactoryRegisterRegisterList''(void)" (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GE4ImageIOFactoryRegister__Private(void)" (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl std::_Debug_order,class std::allocator,0> >::iterator>(class std::_Tree,class std::allocator,0> >::iterator,class std::_Tree,class std::allocator,0> >::iterator,wchar_t const *,unsigned int)" (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MRCImageIOFactoryRegister__Private(void)" (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for 'ImageIOFactoryRegisterRegisterList''(void)" (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::MetaImageIOFactoryRegister__Private(void)" (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "public: __thiscall std::vector,class itk::LabelMap > >::runLength,class std::allocator,class itk::LabelMap > >::runLength> >,class std::allocator,class itk::LabelMap > >::runLength,class std::allocator,class itk::LabelMap > >::runLength> > > >::~vector,class itk::LabelMap > >::runLength,class std::allocator,class itk::LabelMap > >::runLength> >,class std::allocator,class itk::LabelMap > >::runLength,class std::allocator,class itk::LabelMap > >::runLength> > > >(void)" (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BioRadImageIOFactoryRegister__Private(void)" (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "protected: __thiscall std::_Vector_val > >::MemoryBlock,class std::allocator > >::MemoryBlock> >::_Vector_val > >::MemoryBlock,class std::allocator > >::MemoryBlock> >(class std::allocator > >::MemoryBlock>)" (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@1@@Z) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::StimulateImageIOFactoryRegister__Private(void)" (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for 'ImageIOFactoryRegisterRegisterList''(void)" (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::VTKImageIOFactoryRegister__Private(void)" (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function __ehhandler$??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::TIFFImageIOFactoryRegister__Private(void)" (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl std::_Debug_order2,class std::allocator,0> >::iterator>(class std::_Tree,class std::allocator,0> >::iterator,class std::_Tree,class std::allocator,0> >::iterator,wchar_t const *,unsigned int,struct std::forward_iterator_tag)" (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::PNGImageIOFactoryRegister__Private(void)" (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl std::_Debug_order2,class std::allocator,0> >::iterator>(class std::_Tree,class std::allocator,0> >::iterator,class std::_Tree,class std::allocator,0> >::iterator,wchar_t const *,unsigned int,struct std::forward_iterator_tag)" (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::LSMImageIOFactoryRegister__Private(void)" (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "protected: void __thiscall std::vector > >::MemoryBlock,class std::allocator > >::MemoryBlock> >::_Tidy(void)" (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAEXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::BMPImageIOFactoryRegister__Private(void)" (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for 'ImageIOFactoryRegisterRegisterList''(void)" (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GDCMImageIOFactoryRegister__Private(void)" (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for 'ImageIOFactoryRegisterRegisterList''(void)" (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::JPEGImageIOFactoryRegister__Private(void)" (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "public: __thiscall std::vector >::~vector >(void)" (??1?$vector at KV?$allocator at K@std@@@std@@QAE at XZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::HDF5ImageIOFactoryRegister__Private(void)" (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl std::_Debug_order2,class std::allocator,0> >::iterator>(class std::_Tree,class std::allocator,0> >::iterator,class std::_Tree,class std::allocator,0> >::iterator,wchar_t const *,unsigned int,struct std::forward_iterator_tag)" (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::GiplImageIOFactoryRegister__Private(void)" (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "protected: bool __thiscall std::vector > >::MemoryBlock,class std::allocator > >::MemoryBlock> >::_Buy(unsigned int)" (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE_NI at Z) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NrrdImageIOFactoryRegister__Private(void)" (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for 'ImageIOFactoryRegisterRegisterList''(void)" (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl itk::NiftiImageIOFactoryRegister__Private(void)" (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.dll : fatal error LNK1120: 17 unresolved externals _____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-users _____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.mccormick at kitware.com Mon Sep 26 14:50:16 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Mon, 26 Sep 2016 14:50:16 -0400 Subject: [ITK-users] ITK build_shared_libs In-Reply-To: <000901d21824$6789f770$369de650$@gmail.com> References: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> <000901d21824$6789f770$369de650$@gmail.com> Message-ID: Hi Jinzhong, It sounds like you are not using CMake to build the project or using it in some non-standard way? There are a few options: 1) Use CMake to compile the project. 2) Set ITK_NO_IO_FACTORY_REGISTER_MANAGER before calling "include(${ITK_USE_FILE})", the register the factories manually. HTH, Matt On Mon, Sep 26, 2016 at 2:32 PM, Yang, Jinzhong wrote: > Still no clue. I checked the file itkImageIOFactoryRegisterManager.h. It > seems all classes imported in that header were not linked. However, I check > all IO libraries, it seems they were all included as dependency. As I > mentioned before, if I compiled my code as static library, there is not such > a problem. > > > > Here are all ITK/VTK related libraries passed to my compiler (they are > generated by cmake. I enabled ITK_USE_SYSTEM_GDCM in building my ITK): > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkdouble-conversion-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itksys-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl_algo-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkv3p_netlib-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itknetlib-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvcl-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkNetlibSlatec-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKStatistics-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKTransform-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOImageBase-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBMP-4.10.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDICT.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmMSFF.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGDCM-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkzlib-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGIPL-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkjpeg-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOJPEG-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMetaIO-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMeta-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKznz-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKniftiio-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONIFTI-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKNrrdIO-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONRRD-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkpng-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOPNG-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itktiff-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTIFF-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOVTK-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKLabelMap-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMesh-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKSpatialObjects-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPath-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKQuadEdgeMesh-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizers-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPolynomials-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBiasCorrection-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBioCell-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDICOMParser-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDeprecated-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBioRad-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOLSM-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOStimulate-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKEXPAT-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOXML-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSpatialObjects-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKFEM-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKgiftiio-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMesh-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5_cpp-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOCSV-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOIPL-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSiemens-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOHDF5-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMRC-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformBase-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformHDF5-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformInsightLegacy-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformMatlab-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKKLMRegionGrowing-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVTK-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKWatersheds-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizersv4-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoCore-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoIO-4.10.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkChartsCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonColor-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonDataModel-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMath-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtksys-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMisc-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonSystem-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonTransforms-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersExtraction-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonExecutionModel-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneral-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonComputationalGeometry-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersStatistics-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingFourier-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkalglib-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContext2D-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeometry-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSources-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingFreeType-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkfreetype-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkzlib-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDICOMParser-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistry-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXML-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOGeometry-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXMLParser-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexpat-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistryOpenGL2-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingOpenGL2-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingHybrid-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImage-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkmetaio-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjpeg-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkpng-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtktiff-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkglew-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersAMR-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkParallelCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLegacy-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersFlowPaths-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneric-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHybrid-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingSources-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHyperTree-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersImaging-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingGeneral-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersModeling-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallel-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallelImaging-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersProgrammable-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSMP-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSelection-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersTexture-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersVerdict-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkverdict-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkGeovisCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisLayout-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionStyle-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionWidgets-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingAnnotation-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingColor-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolume-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkproj4-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOAMR-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5_hl-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOEnSight-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExodus-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexoIIc-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF_cxx-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExport-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLabel-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImport-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOInfovis-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtklibxml2-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLSDyna-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMINC-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMovie-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkoggtheora-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIONetCDF-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOPLY-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallel-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjsoncpp-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallelXML-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOSQL-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtksqlite-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOVideo-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMath-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMorphological-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStatistics-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStencil-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionImage-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContextOpenGL2-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingImage-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLOD-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolumeOpenGL2-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingGenericBridge-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingIOSQL-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingRendering-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsContext2D-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsInfovis-7.0.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmIOD.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDSED.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmzlib.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmCommon.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmexpat.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg8.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg12.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg16.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmopenjpeg.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmcharls.lib > > rpcrt4.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVNLInstantiation-4.10.lib > > > > Thanks, > > -Jinzhong > > > > From: Francois Budin [mailto:francois.budin at kitware.com] > Sent: Monday, September 26, 2016 8:04 AM > To: D?enan Zuki? > Cc: Yang, Jinzhong ; Insight-users > > Subject: Re: [ITK-users] ITK build_shared_libs > > > > Hello, > > As Dzenan said, your problem most likely comes from a problem with the ITK > IO factory. You may want to check that in your build directory, you have a > directory called "ITKIOFactoryRegistration" that is created, and that it > contains a file called itkImageIOFactoryRegisterManager.h. This file > specifies all the type of images that are automatically registered to the > factory. You should compare the list of types included in this header file > with the list of ITK libraries that is passed to your compiler and make sure > that it matches. > > Hope this helps, > > Francois > > > > On Sun, Sep 25, 2016 at 10:36 AM, D?enan Zuki? wrote: > > Hi Yang, > > > > all your link errors are for I/O class factories. Can you read the following > and see whether it helps you solve the problem? > > https://itk.org/Wiki/Plugin_IO_mechanisms > > https://itk.org/ITKExamples/src/IO/ImageBase/RegisterIOFactories/Documentation.html > > > > Regards, > > D?enan > > > > On Fri, Sep 23, 2016 at 6:36 PM, Yang, Jinzhong > wrote: > > Hi all, > > > > I have a very weird problem when I try to build my library. I have an old > library, previously was built based on ITK 3.16 and VTK 5.8. I built my > library to both DLL and static library. By configuring in cmake properly, I > could build both types of libraries without any problem. Recently, I upgrade > it to ITK 4.10 and VTK 7.0. If I turned on BUILD_SHARED_LIBS in ITK, both > DLL and static lib for my library can be compiled and linked, however, I > need to include all DLL files from ITK when I would like to distribute my > library. I don?t want to do so. Then I turned off BUILD_SHARED_LIBS in ITK. > The static lib of my library can be built, but the DLL couldn?t. Error > happened during the link stage. The error message was attached below. I used > CMake 3.6.2 + VS 2008 + Windows 7. > > > > 2> Creating library > D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.lib > and object > D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.exp > > 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function > __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0 > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" > (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl std::_Debug_order std::_Tset_traits,class > std::allocator,0> >::iterator>(class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,wchar_t const *,unsigned int)" > (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" > (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "public: __thiscall std::vector itk::BinaryImageToLabelMapFilter,class > itk::LabelMap > >::runLength,class > std::allocator itk::Image,class itk::LabelMap itk::LabelObject > >::runLength> >,class std::allocator std::vector char,2>,class itk::LabelMap > >>::runLength,class std::allocator itk::BinaryImageToLabelMapFilter,class > itk::LabelMap > >::runLength> > > >>::~vector itk::Image,class itk::LabelMap itk::LabelObject > >::runLength,class std::allocator itk::BinaryImageToLabelMapFilter,class > itk::LabelMap > >::runLength> >,class > std::allocator itk::BinaryImageToLabelMapFilter,class > itk::LabelMap > >::runLength,class > std::allocator itk::Image,class itk::LabelMap itk::LabelObject > >::runLength> > > >(void)" > (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "protected: __thiscall std::_Vector_val itk::ObjectStore > >>::MemoryBlock,class std::allocator itk::SparseFieldLevelSetNode > >::MemoryBlock> >>::_Vector_val itk::SparseFieldLevelSetNode > >::MemoryBlock,class > std::allocator itk::SparseFieldLevelSetNode > >::MemoryBlock> >(class > std::allocator itk::SparseFieldLevelSetNode > >::MemoryBlock>)" > (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@1@@Z) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" > (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function > __ehhandler$??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl std::_Debug_order2 std::_Tset_traits,class > std::allocator,0> >::iterator>(class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,wchar_t const *,unsigned > int,struct std::forward_iterator_tag)" > (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl std::_Debug_order2 std::_Tset_traits,class > std::allocator,0> >::iterator>(class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,wchar_t const *,unsigned > int,struct std::forward_iterator_tag)" > (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "protected: void __thiscall std::vector itk::ObjectStore > >>::MemoryBlock,class std::allocator itk::SparseFieldLevelSetNode > >::MemoryBlock> >>::_Tidy(void)" > (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAEXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" > (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" > (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "public: __thiscall std::vector std::allocator >::~vector std::allocator >(void)" > (??1?$vector at KV?$allocator at K@std@@@std@@QAE at XZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl std::_Debug_order2 std::_Tset_traits,class > std::allocator,0> >::iterator>(class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,wchar_t const *,unsigned > int,struct std::forward_iterator_tag)" > (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "protected: bool __thiscall std::vector itk::ObjectStore > >>::MemoryBlock,class std::allocator itk::SparseFieldLevelSetNode > >::MemoryBlock> >>::_Buy(unsigned int)" > (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE_NI at Z) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" > (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.dll > : fatal error LNK1120: 17 unresolved externals > > > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > > > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > > > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > From jinzhong76 at gmail.com Mon Sep 26 15:53:05 2016 From: jinzhong76 at gmail.com (Yang, Jinzhong) Date: Mon, 26 Sep 2016 14:53:05 -0500 Subject: [ITK-users] ITK build_shared_libs In-Reply-To: References: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> <000901d21824$6789f770$369de650$@gmail.com> Message-ID: <001b01d2182f$9943e9a0$cbcbbce0$@gmail.com> Hi Matt, I use CMake, but the CMakeLists.txt was written for old ITK (3.16). I recently upgraded to ITK 4.10 in order for a project depending on this library and GDCM library ( I had trouble to compile that project with ITK 3.16). I don't want to manually register the factories. I might need to revise my CMakeLists.txt. Below is my CMakeLists.txt. Please let me know if there is anything wrong here. To help you understand my problem, I summarize my problem below - - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project compiled with "BUILD_SHARED_LIBS", WORK - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project NOT compiled with "BUILD_SHARED_LIBS", WORK - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project NOT compiled with "BUILD_SHARED_LIBS", WORK - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project compiled with "BUILD_SHARED_LIBS", NOT WORKING I prefer to compiling ITK without using shared libs because I don?t want to distribute a lot of files to other computers with my program. Thank you, Jinzhong //////////////////CMakeLists.txt //////////////////////////// CMAKE_MINIMUM_REQUIRED(VERSION 2.6) PROJECT(ContourWarping) FIND_PACKAGE(ITK) IF(ITK_FOUND) INCLUDE(${ITK_USE_FILE}) ELSE(ITK_FOUND) MESSAGE(FATAL_ERROR "ITK not found. Please set ITK_DIR.") ENDIF(ITK_FOUND) FIND_PACKAGE(VTK) IF (VTK_FOUND) INCLUDE (${VTK_USE_FILE}) ELSE (VTK_FOUND) MESSAGE(FATAL_ERROR "VTK not found. Please set VTK_DIR.") ENDIF(VTK_FOUND) OPTION(BUILD_SHARED_LIBS "Build ContourWarping with shared libraries." OFF) OPTION(BUILD_LIB_TEST "Build ContourWarping with testing option enabled." OFF) IF (BUILD_LIB_TEST) ADD_DEFINITIONS(-D_LIB_TEST) ENDIF(BUILD_LIB_TEST) LINK_LIBRARIES( ${ITK_LIBRARIES} ${VTK_LIBRARIES} #vtkIO vtkCommon vtkFiltering vtkGraphics ) SET(BOOST_DIR "D:/boost_1_41_0" CACHE PATH "D:/boost_1_41_0") IF (CMAKE_SIZEOF_VOID_P EQUAL 8) SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage64/lib" CACHE PATH "D:/boost_1_41_0/stage64/lib") ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage/lib" CACHE PATH "D:/boost_1_41_0/stage/lib") ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) INCLUDE_DIRECTORIES( "C:/Program Files/Visual Leak Detector/include" # for memory leak detection, "vld.h" ${BOOST_DIR} #boost ${PROJECT_SOURCE_DIR} "${PROJECT_SOURCE_DIR}/itkLabelMap" "${PROJECT_SOURCE_DIR}/boost" ) LINK_DIRECTORIES( ${PROJECT_BINARY_DIR}/${CMAKE_ARCHIVE_OUTPUT_DIRECTORY} "C:/Program Files/Visual Leak Detector/lib" # for memory leak detection, "vld.lib" ${BOOST_LIB_DIR} #boost ) #LINK_DIRECTORIES( ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}) SET(SRCS stdafx.h stdafx.cpp ContourWarpingWrapUp.cpp PinnacleROIStructInterface.cpp BinaryImageRoiPolyInterface.cpp contourwarpingparallel.cpp ParallelDispatcher.h ParallelDispatcher.cpp Win32Header.h PinnacleROIConvert.cpp PinnacleROIConvert.h PinnacleROIMesh.cpp PinnacleROIMesh.h PinnaclePOIConvert.cpp PinnaclePOIConvert.h PinnacleImage.cpp PinnacleImage.txx PinnacleImage.h Auxiliary.h MeshConvertor.cpp MeshConvertor.h vtkPolyContours.cpp vtkPolyContours.h vtkVoxelContoursToSurfaceFilterEx.cpp vtkVoxelContoursToSurfaceFilterEx.h vtkWindowedSincPolyDataFilterEx.cpp vtkWindowedSincPolyDataFilterEx.h vtkSurfaceToSliceContours.cpp vtkSurfaceToSliceContours.h vtkSurfaceCutter.cpp vtkSurfaceCutter.h vtkSurfaceMeshProcess.cpp vtkSurfaceMeshProcess.h vtkSurfaceDeformation.cpp vtkSurfaceDeformation.h vtkSurfaceDeformationUsingCatField.cpp vtkSurfaceDeformationUsingCatField.h vtkSurfaceTransformation.cpp vtkSurfaceTransformation.h vtkContourProcess.cpp vtkContourProcess.h vtkSurfaceClipper.cpp vtkSurfaceClipper.h vtkPolyContoursClipper.cpp vtkPolyContoursClipper.h vtkUndirectedGraphCPP.cpp vtkUndirectedGraphCPP.h itkPolygonFill2DBinaryImageFilter.h itkPolygonFill2DBinaryImageFilter.txx catDeformationField.cpp catDeformationField.h boundaries.txx boundaries.h PinnacleROI2ImagesParallel.cpp PinnacleROI2ImagesParallel.h ) IF (WIN32) SET(SRCS ${SRCS} resource.h ContourWarping.rc) ENDIF(WIN32) ADD_LIBRARY(ContourWarping ${SRCS}) SET(OUTPUTNAME ContourWarping) IF (BUILD_SHARED_LIBS) IF (CMAKE_SIZEOF_VOID_P EQUAL 8) SET_TARGET_PROPERTIES(ContourWarping PROPERTIES OUTPUT_NAME ContourWarping64 ) SET(OUTPUTNAME ContourWarping64) ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) SET_TARGET_PROPERTIES(ContourWarping PROPERTIES OUTPUT_NAME ContourWarping32 ) SET(OUTPUTNAME ContourWarping32) ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) ENDIF (BUILD_SHARED_LIBS) #SET(CMAKE_BUILD_TYPE Release) #INCLUDE(PCHSupport.cmake) #ADD_PRECOMPILED_HEADER(ContourWarping stdafx.h) TARGET_LINK_LIBRARIES( ContourWarping ${ITK_LIBRARIES} ${VTK_LIBRARIES} #vtkIO vtkFiltering vtkGraphics #debug vld.lib # for memory leak detection ) #SET(TARGET_LIB_VERSION "1.0" CACHE STRING "1.0") SET_TARGET_PROPERTIES(ContourWarping PROPERTIES VERSION 1.8.8 ) IF (BUILD_SHARED_LIBS) SET_TARGET_PROPERTIES(ContourWarping PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" ) # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK ENDIF(BUILD_SHARED_LIBS) IF (WIN32) #enable PCH support & add resource file SET_TARGET_PROPERTIES(ContourWarping PROPERTIES COMPILE_FLAGS /Yu"stdafx.h" ) SET_SOURCE_FILES_PROPERTIES(stdafx.cpp PROPERTIES COMPILE_FLAGS /Yc"stdafx.h" ) ENDIF(WIN32) IF (BUILD_LIB_TEST) TARGET_LINK_LIBRARIES( ContourWarping vtkRendering vtkWidgets ) ENDIF(BUILD_LIB_TEST) ###### ADD_EXECUTABLE( ContourWarpingTest testdll.cpp ) TARGET_LINK_LIBRARIES( ContourWarpingTest ${OUTPUTNAME}.lib ) ADD_DEPENDENCIES( ContourWarpingTest ContourWarping ) ###### ADD_EXECUTABLE( PinnacleROI2BinaryImage PinnacleROI2BinaryImage.cpp ) TARGET_LINK_LIBRARIES( PinnacleROI2BinaryImage ${OUTPUTNAME}.lib ) ADD_DEPENDENCIES( PinnacleROI2BinaryImage ContourWarping ) ###### ADD_EXECUTABLE( PinnacleROIFromBitmap PinnacleROIFromBitmap.cpp ) TARGET_LINK_LIBRARIES( PinnacleROIFromBitmap ${OUTPUTNAME}.lib ) ADD_DEPENDENCIES( PinnacleROIFromBitmap ContourWarping ) ###### ADD_EXECUTABLE( MeshTest MeshTest.cpp ) TARGET_LINK_LIBRARIES( MeshTest ${OUTPUTNAME}.lib ) ADD_DEPENDENCIES( MeshTest ContourWarping ) -----Original Message----- From: Matt McCormick [mailto:matt.mccormick at kitware.com] Sent: Monday, September 26, 2016 1:50 PM To: Yang, Jinzhong Cc: Francois Budin ; D?enan Zuki? ; Insight-users Subject: Re: [ITK-users] ITK build_shared_libs Hi Jinzhong, It sounds like you are not using CMake to build the project or using it in some non-standard way? There are a few options: 1) Use CMake to compile the project. 2) Set ITK_NO_IO_FACTORY_REGISTER_MANAGER before calling "include(${ITK_USE_FILE})", the register the factories manually. HTH, Matt On Mon, Sep 26, 2016 at 2:32 PM, Yang, Jinzhong < jinzhong76 at gmail.com> wrote: > Still no clue. I checked the file itkImageIOFactoryRegisterManager.h. It > seems all classes imported in that header were not linked. However, I check > all IO libraries, it seems they were all included as dependency. As I > mentioned before, if I compiled my code as static library, there is not such > a problem. > > > > Here are all ITK/VTK related libraries passed to my compiler (they are > generated by cmake. I enabled ITK_USE_SYSTEM_GDCM in building my ITK): > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkdouble-conversion-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itksys-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl_algo-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkv3p_netlib-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itknetlib-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvcl-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkNetlibSlatec-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKStatistics-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKTransform-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOImageBase-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBMP-4.10.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDICT.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmMSFF.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGDCM-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkzlib-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGIPL-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkjpeg-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOJPEG-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMetaIO-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMeta-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKznz-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKniftiio-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONIFTI-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKNrrdIO-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONRRD-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkpng-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOPNG-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itktiff-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTIFF-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOVTK-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKLabelMap-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMesh-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKSpatialObjects-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPath-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKQuadEdgeMesh-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizers-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPolynomials-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBiasCorrection-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBioCell-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDICOMParser-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDeprecated-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBioRad-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOLSM-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOStimulate-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKEXPAT-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOXML-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSpatialObjects-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKFEM-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKgiftiio-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMesh-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5_cpp-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOCSV-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOIPL-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSiemens-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOHDF5-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMRC-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformBase-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformHDF5-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformInsightLegacy-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformMatlab-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKKLMRegionGrowing-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVTK-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKWatersheds-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizersv4-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoCore-4.10.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoIO-4.10.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkChartsCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonColor-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonDataModel-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMath-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtksys-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMisc-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonSystem-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonTransforms-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersExtraction-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonExecutionModel-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneral-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonComputationalGeometry-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersStatistics-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingFourier-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkalglib-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContext2D-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeometry-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSources-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingFreeType-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkfreetype-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkzlib-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDICOMParser-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistry-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXML-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOGeometry-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXMLParser-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexpat-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistryOpenGL2-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingOpenGL2-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingHybrid-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImage-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkmetaio-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjpeg-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkpng-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtktiff-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkglew-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersAMR-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkParallelCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLegacy-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersFlowPaths-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneric-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHybrid-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingSources-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHyperTree-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersImaging-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingGeneral-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersModeling-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallel-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallelImaging-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersProgrammable-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSMP-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSelection-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersTexture-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersVerdict-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkverdict-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkGeovisCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisLayout-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionStyle-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionWidgets-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingAnnotation-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingColor-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolume-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsCore-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkproj4-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOAMR-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5_hl-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOEnSight-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExodus-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexoIIc-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF_cxx-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExport-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLabel-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImport-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOInfovis-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtklibxml2-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLSDyna-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMINC-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMovie-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkoggtheora-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIONetCDF-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOPLY-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallel-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjsoncpp-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallelXML-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOSQL-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtksqlite-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOVideo-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMath-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMorphological-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStatistics-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStencil-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionImage-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContextOpenGL2-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingImage-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLOD-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolumeOpenGL2-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingGenericBridge-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingIOSQL-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingRendering-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsContext2D-7.0.lib > > D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsInfovis-7.0.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmIOD.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDSED.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmzlib.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmCommon.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmexpat.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg8.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg12.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg16.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmopenjpeg.lib > > D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmcharls.lib > > rpcrt4.lib > > D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVNLInstantiation-4.10.lib > > > > Thanks, > > -Jinzhong > > > > From: Francois Budin [ mailto:francois.budin at kitware.com] > Sent: Monday, September 26, 2016 8:04 AM > To: D?enan Zuki? < dzenanz at gmail.com> > Cc: Yang, Jinzhong < jinzhong76 at gmail.com>; Insight-users > < insight-users at itk.org> > Subject: Re: [ITK-users] ITK build_shared_libs > > > > Hello, > > As Dzenan said, your problem most likely comes from a problem with the ITK > IO factory. You may want to check that in your build directory, you have a > directory called "ITKIOFactoryRegistration" that is created, and that it > contains a file called itkImageIOFactoryRegisterManager.h. This file > specifies all the type of images that are automatically registered to the > factory. You should compare the list of types included in this header file > with the list of ITK libraries that is passed to your compiler and make sure > that it matches. > > Hope this helps, > > Francois > > > > On Sun, Sep 25, 2016 at 10:36 AM, D?enan Zuki? < dzenanz at gmail.com> wrote: > > Hi Yang, > > > > all your link errors are for I/O class factories. Can you read the following > and see whether it helps you solve the problem? > > https://itk.org/Wiki/Plugin_IO_mechanisms > > https://itk.org/ITKExamples/src/IO/ImageBase/RegisterIOFactories/Documentation.html > > > > Regards, > > D?enan > > > > On Fri, Sep 23, 2016 at 6:36 PM, Yang, Jinzhong < jinzhong76 at gmail.com> > wrote: > > Hi all, > > > > I have a very weird problem when I try to build my library. I have an old > library, previously was built based on ITK 3.16 and VTK 5.8. I built my > library to both DLL and static library. By configuring in cmake properly, I > could build both types of libraries without any problem. Recently, I upgrade > it to ITK 4.10 and VTK 7.0. If I turned on BUILD_SHARED_LIBS in ITK, both > DLL and static lib for my library can be compiled and linked, however, I > need to include all DLL files from ITK when I would like to distribute my > library. I don?t want to do so. Then I turned off BUILD_SHARED_LIBS in ITK. > The static lib of my library can be built, but the DLL couldn?t. Error > happened during the link stage. The error message was attached below. I used > CMake 3.6.2 + VS 2008 + Windows 7. > > > > 2> Creating library > D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.lib > and object > D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.exp > > 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function > __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0 > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE5ImageIOFactoryRegister__Private(void)" > (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" > (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GE4ImageIOFactoryRegister__Private(void)" > (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl std::_Debug_order std::_Tset_traits,class > std::allocator,0> >::iterator>(class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,wchar_t const *,unsigned int)" > (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MRCImageIOFactoryRegister__Private(void)" > (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" > (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::MetaImageIOFactoryRegister__Private(void)" > (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "public: __thiscall std::vector itk::BinaryImageToLabelMapFilter,class > itk::LabelMap > >::runLength,class > std::allocator itk::Image,class itk::LabelMap itk::LabelObject > >::runLength> >,class std::allocator std::vector char,2>,class itk::LabelMap > >>::runLength,class std::allocator itk::BinaryImageToLabelMapFilter,class > itk::LabelMap > >::runLength> > > >>::~vector itk::Image,class itk::LabelMap itk::LabelObject > >::runLength,class std::allocator itk::BinaryImageToLabelMapFilter,class > itk::LabelMap > >::runLength> >,class > std::allocator itk::BinaryImageToLabelMapFilter,class > itk::LabelMap > >::runLength,class > std::allocator itk::Image,class itk::LabelMap itk::LabelObject > >::runLength> > > >(void)" > (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BioRadImageIOFactoryRegister__Private(void)" > (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "protected: __thiscall std::_Vector_val itk::ObjectStore > >>::MemoryBlock,class std::allocator itk::SparseFieldLevelSetNode > >::MemoryBlock> >>::_Vector_val itk::SparseFieldLevelSetNode > >::MemoryBlock,class > std::allocator itk::SparseFieldLevelSetNode > >::MemoryBlock> >(class > std::allocator itk::SparseFieldLevelSetNode > >::MemoryBlock>)" > (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@1@@Z) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::StimulateImageIOFactoryRegister__Private(void)" > (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" > (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::VTKImageIOFactoryRegister__Private(void)" > (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function > __ehhandler$??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::TIFFImageIOFactoryRegister__Private(void)" > (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl std::_Debug_order2 std::_Tset_traits,class > std::allocator,0> >::iterator>(class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,wchar_t const *,unsigned > int,struct std::forward_iterator_tag)" > (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::PNGImageIOFactoryRegister__Private(void)" > (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl std::_Debug_order2 std::_Tset_traits,class > std::allocator,0> >::iterator>(class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,wchar_t const *,unsigned > int,struct std::forward_iterator_tag)" > (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::LSMImageIOFactoryRegister__Private(void)" > (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "protected: void __thiscall std::vector itk::ObjectStore > >>::MemoryBlock,class std::allocator itk::SparseFieldLevelSetNode > >::MemoryBlock> >>::_Tidy(void)" > (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAEXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::BMPImageIOFactoryRegister__Private(void)" > (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" > (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GDCMImageIOFactoryRegister__Private(void)" > (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" > (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::JPEGImageIOFactoryRegister__Private(void)" > (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "public: __thiscall std::vector std::allocator >::~vector std::allocator >(void)" > (??1?$vector at KV?$allocator at K@std@@@std@@QAE at XZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::HDF5ImageIOFactoryRegister__Private(void)" > (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl std::_Debug_order2 std::_Tset_traits,class > std::allocator,0> >::iterator>(class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,class std::_Tree std::_Tset_traits,class > std::allocator,0> >::iterator,wchar_t const *,unsigned > int,struct std::forward_iterator_tag)" > (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::GiplImageIOFactoryRegister__Private(void)" > (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "protected: bool __thiscall std::vector itk::ObjectStore > >>::MemoryBlock,class std::allocator itk::SparseFieldLevelSetNode > >::MemoryBlock> >>::_Buy(unsigned int)" > (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE_NI at Z) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NrrdImageIOFactoryRegister__Private(void)" > (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > function "void __cdecl itk::`anonymous namespace'::`dynamic initializer for > 'ImageIOFactoryRegisterRegisterList''(void)" > (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > "__declspec(dllimport) void __cdecl > itk::NiftiImageIOFactoryRegister__Private(void)" > (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.dll > : fatal error LNK1120: 17 unresolved externals > > > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > > > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > > > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.mccormick at kitware.com Mon Sep 26 15:56:45 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Mon, 26 Sep 2016 15:56:45 -0400 Subject: [ITK-users] ITK build_shared_libs In-Reply-To: <001b01d2182f$9943e9a0$cbcbbce0$@gmail.com> References: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> <000901d21824$6789f770$369de650$@gmail.com> <001b01d2182f$9943e9a0$cbcbbce0$@gmail.com> Message-ID: Hi Jinzhong, Does replacing link_libraries calls with target_link_libraries address the issue (this should be done regardless)? HTH, Matt On Mon, Sep 26, 2016 at 3:53 PM, Yang, Jinzhong wrote: > Hi Matt, > > > > I use CMake, but the CMakeLists.txt was written for old ITK (3.16). I > recently upgraded to ITK 4.10 in order for a project depending on this > library and GDCM library ( I had trouble to compile that project with ITK > 3.16). I don't want to manually register the factories. I might need to > revise my CMakeLists.txt. Below is my CMakeLists.txt. Please let me know if > there is anything wrong here. To help you understand my problem, I summarize > my problem below - > > - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project compiled with > "BUILD_SHARED_LIBS", WORK > > - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project NOT compiled with > "BUILD_SHARED_LIBS", WORK > > - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project NOT compiled > with "BUILD_SHARED_LIBS", WORK > > - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project compiled with > "BUILD_SHARED_LIBS", NOT WORKING > > > > I prefer to compiling ITK without using shared libs because I don?t want to > distribute a lot of files to other computers with my program. > > Thank you, > > Jinzhong > > > > //////////////////CMakeLists.txt //////////////////////////// > > CMAKE_MINIMUM_REQUIRED(VERSION 2.6) > > > > PROJECT(ContourWarping) > > > > FIND_PACKAGE(ITK) > > IF(ITK_FOUND) > > INCLUDE(${ITK_USE_FILE}) > > ELSE(ITK_FOUND) > > MESSAGE(FATAL_ERROR > > "ITK not found. Please set ITK_DIR.") > > ENDIF(ITK_FOUND) > > > > FIND_PACKAGE(VTK) > > IF (VTK_FOUND) > > INCLUDE (${VTK_USE_FILE}) > > ELSE (VTK_FOUND) > > MESSAGE(FATAL_ERROR > > "VTK not found. Please set VTK_DIR.") > > ENDIF(VTK_FOUND) > > > > OPTION(BUILD_SHARED_LIBS "Build ContourWarping with shared libraries." OFF) > > > > OPTION(BUILD_LIB_TEST "Build ContourWarping with testing option enabled." > OFF) > > IF (BUILD_LIB_TEST) > > ADD_DEFINITIONS(-D_LIB_TEST) > > ENDIF(BUILD_LIB_TEST) > > > > LINK_LIBRARIES( > > ${ITK_LIBRARIES} > > ${VTK_LIBRARIES} > > #vtkIO vtkCommon vtkFiltering vtkGraphics > > ) > > > > SET(BOOST_DIR "D:/boost_1_41_0" CACHE PATH "D:/boost_1_41_0") > > > > IF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage64/lib" CACHE PATH > "D:/boost_1_41_0/stage64/lib") > > ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) > > SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage/lib" CACHE PATH > "D:/boost_1_41_0/stage/lib") > > ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > > > INCLUDE_DIRECTORIES( "C:/Program Files/Visual Leak Detector/include" # for > memory leak detection, "vld.h" > > ${BOOST_DIR} #boost > > ${PROJECT_SOURCE_DIR} > > "${PROJECT_SOURCE_DIR}/itkLabelMap" > > > "${PROJECT_SOURCE_DIR}/boost" > > ) > > LINK_DIRECTORIES( ${PROJECT_BINARY_DIR}/${CMAKE_ARCHIVE_OUTPUT_DIRECTORY} > > "C:/Program Files/Visual Leak Detector/lib" # for memory > leak detection, "vld.lib" > > ${BOOST_LIB_DIR} #boost > > ) > > #LINK_DIRECTORIES( ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}) > > > > SET(SRCS > > stdafx.h > > stdafx.cpp > > ContourWarpingWrapUp.cpp > > PinnacleROIStructInterface.cpp > > BinaryImageRoiPolyInterface.cpp > > contourwarpingparallel.cpp > > ParallelDispatcher.h > > ParallelDispatcher.cpp > > Win32Header.h > > PinnacleROIConvert.cpp > > PinnacleROIConvert.h > > PinnacleROIMesh.cpp > > PinnacleROIMesh.h > > PinnaclePOIConvert.cpp > > PinnaclePOIConvert.h > > PinnacleImage.cpp > > PinnacleImage.txx > > PinnacleImage.h > > Auxiliary.h > > MeshConvertor.cpp > > MeshConvertor.h > > vtkPolyContours.cpp > > vtkPolyContours.h > > vtkVoxelContoursToSurfaceFilterEx.cpp > > vtkVoxelContoursToSurfaceFilterEx.h > > vtkWindowedSincPolyDataFilterEx.cpp > > vtkWindowedSincPolyDataFilterEx.h > > vtkSurfaceToSliceContours.cpp > > vtkSurfaceToSliceContours.h > > vtkSurfaceCutter.cpp > > vtkSurfaceCutter.h > > vtkSurfaceMeshProcess.cpp > > vtkSurfaceMeshProcess.h > > vtkSurfaceDeformation.cpp > > vtkSurfaceDeformation.h > > vtkSurfaceDeformationUsingCatField.cpp > > vtkSurfaceDeformationUsingCatField.h > > vtkSurfaceTransformation.cpp > > vtkSurfaceTransformation.h > > vtkContourProcess.cpp > > vtkContourProcess.h > > vtkSurfaceClipper.cpp > > vtkSurfaceClipper.h > > vtkPolyContoursClipper.cpp > > vtkPolyContoursClipper.h > > vtkUndirectedGraphCPP.cpp > > vtkUndirectedGraphCPP.h > > itkPolygonFill2DBinaryImageFilter.h > > itkPolygonFill2DBinaryImageFilter.txx > > catDeformationField.cpp > > catDeformationField.h > > boundaries.txx > > boundaries.h > > PinnacleROI2ImagesParallel.cpp > > PinnacleROI2ImagesParallel.h > > ) > > > > IF (WIN32) > > SET(SRCS ${SRCS} resource.h ContourWarping.rc) > > ENDIF(WIN32) > > > > > > ADD_LIBRARY(ContourWarping ${SRCS}) > > > > SET(OUTPUTNAME ContourWarping) > > > > IF (BUILD_SHARED_LIBS) > > IF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > SET_TARGET_PROPERTIES(ContourWarping > > > PROPERTIES OUTPUT_NAME ContourWarping64 > > ) > > SET(OUTPUTNAME ContourWarping64) > > ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) > > SET_TARGET_PROPERTIES(ContourWarping > > > PROPERTIES OUTPUT_NAME ContourWarping32 > > ) > > SET(OUTPUTNAME ContourWarping32) > > ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > ENDIF (BUILD_SHARED_LIBS) > > > > > > #SET(CMAKE_BUILD_TYPE Release) > > #INCLUDE(PCHSupport.cmake) > > #ADD_PRECOMPILED_HEADER(ContourWarping stdafx.h) > > > > TARGET_LINK_LIBRARIES( > > ContourWarping > > ${ITK_LIBRARIES} > > ${VTK_LIBRARIES} > > #vtkIO vtkFiltering vtkGraphics > > #debug vld.lib # for memory leak detection > > ) > > > > #SET(TARGET_LIB_VERSION "1.0" CACHE STRING "1.0") > > SET_TARGET_PROPERTIES(ContourWarping > > PROPERTIES VERSION 1.8.8 > > ) > > > > IF (BUILD_SHARED_LIBS) > > SET_TARGET_PROPERTIES(ContourWarping > > PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" > > ) > > # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK > > ENDIF(BUILD_SHARED_LIBS) > > > > IF (WIN32) #enable PCH support & add resource file > > SET_TARGET_PROPERTIES(ContourWarping > > PROPERTIES COMPILE_FLAGS /Yu"stdafx.h" > > ) > > SET_SOURCE_FILES_PROPERTIES(stdafx.cpp > > PROPERTIES COMPILE_FLAGS /Yc"stdafx.h" > > ) > > ENDIF(WIN32) > > > > > > IF (BUILD_LIB_TEST) > > TARGET_LINK_LIBRARIES( > > ContourWarping > > vtkRendering vtkWidgets > > ) > > ENDIF(BUILD_LIB_TEST) > > > > ###### > > ADD_EXECUTABLE( ContourWarpingTest > > testdll.cpp > > ) > > > > TARGET_LINK_LIBRARIES( > > ContourWarpingTest > > ${OUTPUTNAME}.lib > > ) > > > > ADD_DEPENDENCIES( > > ContourWarpingTest > > ContourWarping > > ) > > > > ###### > > ADD_EXECUTABLE( PinnacleROI2BinaryImage > > PinnacleROI2BinaryImage.cpp > > ) > > > > TARGET_LINK_LIBRARIES( > > PinnacleROI2BinaryImage > > ${OUTPUTNAME}.lib > > ) > > > > ADD_DEPENDENCIES( > > PinnacleROI2BinaryImage > > ContourWarping > > ) > > > > ###### > > ADD_EXECUTABLE( PinnacleROIFromBitmap > > PinnacleROIFromBitmap.cpp > > ) > > > > TARGET_LINK_LIBRARIES( > > PinnacleROIFromBitmap > > ${OUTPUTNAME}.lib > > ) > > > > ADD_DEPENDENCIES( > > PinnacleROIFromBitmap > > ContourWarping > > ) > > > > ###### > > ADD_EXECUTABLE( MeshTest > > MeshTest.cpp > > ) > > > > TARGET_LINK_LIBRARIES( > > MeshTest > > ${OUTPUTNAME}.lib > > ) > > > > ADD_DEPENDENCIES( > > MeshTest > > ContourWarping > > ) > > > > > > -----Original Message----- > From: Matt McCormick [mailto:matt.mccormick at kitware.com] > Sent: Monday, September 26, 2016 1:50 PM > To: Yang, Jinzhong > Cc: Francois Budin ; D?enan Zuki? > ; Insight-users > Subject: Re: [ITK-users] ITK build_shared_libs > > > > Hi Jinzhong, > > > > It sounds like you are not using CMake to build the project or using > > it in some non-standard way? There are a few options: > > > > 1) Use CMake to compile the project. > > 2) Set ITK_NO_IO_FACTORY_REGISTER_MANAGER before calling > > "include(${ITK_USE_FILE})", the register the factories manually. > > > > HTH, > > Matt > > > > On Mon, Sep 26, 2016 at 2:32 PM, Yang, Jinzhong > wrote: > >> Still no clue. I checked the file itkImageIOFactoryRegisterManager.h. It > >> seems all classes imported in that header were not linked. However, I >> check > >> all IO libraries, it seems they were all included as dependency. As I > >> mentioned before, if I compiled my code as static library, there is not >> such > >> a problem. > >> > >> > >> > >> Here are all ITK/VTK related libraries passed to my compiler (they are > >> generated by cmake. I enabled ITK_USE_SYSTEM_GDCM in building my ITK): > >> > >> >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkdouble-conversion-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itksys-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl_algo-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkv3p_netlib-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itknetlib-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvcl-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkNetlibSlatec-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKStatistics-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKTransform-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOImageBase-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBMP-4.10.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDICT.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmMSFF.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGDCM-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkzlib-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGIPL-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkjpeg-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOJPEG-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMetaIO-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMeta-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKznz-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKniftiio-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONIFTI-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKNrrdIO-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONRRD-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkpng-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOPNG-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itktiff-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTIFF-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOVTK-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKLabelMap-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMesh-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKSpatialObjects-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPath-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKQuadEdgeMesh-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizers-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPolynomials-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBiasCorrection-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBioCell-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDICOMParser-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDeprecated-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBioRad-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOLSM-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOStimulate-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKEXPAT-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOXML-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSpatialObjects-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKFEM-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKgiftiio-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMesh-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5_cpp-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOCSV-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOIPL-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSiemens-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOHDF5-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMRC-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformBase-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformHDF5-4.10.lib > >> > >> >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformInsightLegacy-4.10.lib > >> > >> >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformMatlab-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKKLMRegionGrowing-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVTK-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKWatersheds-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizersv4-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoCore-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoIO-4.10.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkChartsCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonColor-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonDataModel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMath-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksys-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMisc-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonSystem-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonTransforms-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersExtraction-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonExecutionModel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneral-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonComputationalGeometry-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersStatistics-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingFourier-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkalglib-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContext2D-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeometry-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSources-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingFreeType-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkfreetype-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkzlib-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDICOMParser-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistry-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXML-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOGeometry-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXMLParser-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexpat-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistryOpenGL2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingOpenGL2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingHybrid-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImage-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkmetaio-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjpeg-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkpng-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtktiff-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkglew-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersAMR-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkParallelCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLegacy-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersFlowPaths-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneric-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHybrid-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingSources-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHyperTree-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersImaging-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingGeneral-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersModeling-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallelImaging-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersProgrammable-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSMP-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSelection-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersTexture-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersVerdict-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkverdict-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkGeovisCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisLayout-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionStyle-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionWidgets-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingAnnotation-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingColor-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolume-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkproj4-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOAMR-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5_hl-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOEnSight-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExodus-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexoIIc-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF_cxx-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExport-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLabel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImport-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOInfovis-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtklibxml2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLSDyna-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMINC-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMovie-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkoggtheora-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIONetCDF-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOPLY-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjsoncpp-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallelXML-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOSQL-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksqlite-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOVideo-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMath-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMorphological-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStatistics-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStencil-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionImage-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContextOpenGL2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingImage-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLOD-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolumeOpenGL2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingGenericBridge-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingIOSQL-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingRendering-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsContext2D-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsInfovis-7.0.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmIOD.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDSED.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmzlib.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmCommon.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmexpat.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg8.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg12.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg16.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmopenjpeg.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmcharls.lib > >> > >> rpcrt4.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVNLInstantiation-4.10.lib > >> > >> > >> > >> Thanks, > >> > >> -Jinzhong > >> > >> > >> > >> From: Francois Budin [mailto:francois.budin at kitware.com] > >> Sent: Monday, September 26, 2016 8:04 AM > >> To: D?enan Zuki? > >> Cc: Yang, Jinzhong ; Insight-users > >> > >> Subject: Re: [ITK-users] ITK build_shared_libs > >> > >> > >> > >> Hello, > >> > >> As Dzenan said, your problem most likely comes from a problem with the ITK > >> IO factory. You may want to check that in your build directory, you have a > >> directory called "ITKIOFactoryRegistration" that is created, and that it > >> contains a file called itkImageIOFactoryRegisterManager.h. This file > >> specifies all the type of images that are automatically registered to the > >> factory. You should compare the list of types included in this header file > >> with the list of ITK libraries that is passed to your compiler and make >> sure > >> that it matches. > >> > >> Hope this helps, > >> > >> Francois > >> > >> > >> > >> On Sun, Sep 25, 2016 at 10:36 AM, D?enan Zuki? wrote: > >> > >> Hi Yang, > >> > >> > >> > >> all your link errors are for I/O class factories. Can you read the >> following > >> and see whether it helps you solve the problem? > >> > >> https://itk.org/Wiki/Plugin_IO_mechanisms > >> > >> >> https://itk.org/ITKExamples/src/IO/ImageBase/RegisterIOFactories/Documentation.html > >> > >> > >> > >> Regards, > >> > >> D?enan > >> > >> > >> > >> On Fri, Sep 23, 2016 at 6:36 PM, Yang, Jinzhong > >> wrote: > >> > >> Hi all, > >> > >> > >> > >> I have a very weird problem when I try to build my library. I have an old > >> library, previously was built based on ITK 3.16 and VTK 5.8. I built my > >> library to both DLL and static library. By configuring in cmake properly, >> I > >> could build both types of libraries without any problem. Recently, I >> upgrade > >> it to ITK 4.10 and VTK 7.0. If I turned on BUILD_SHARED_LIBS in ITK, both > >> DLL and static lib for my library can be compiled and linked, however, I > >> need to include all DLL files from ITK when I would like to distribute my > >> library. I don?t want to do so. Then I turned off BUILD_SHARED_LIBS in >> ITK. > >> The static lib of my library can be built, but the DLL couldn?t. Error > >> happened during the link stage. The error message was attached below. I >> used > >> CMake 3.6.2 + VS 2008 + Windows 7. > >> > >> > >> > >> 2> Creating library > >> >> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.lib > >> and object > >> >> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.exp > >> > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function > >> >> __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0 > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl std::_Debug_order >> std::_Tset_traits,class > >> std::allocator,0> >::iterator>(class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,wchar_t const *,unsigned >> int)" > >> >> (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "public: __thiscall std::vector >> itk::BinaryImageToLabelMapFilter,class > >> itk::LabelMap > >::runLength,class > >> std::allocator >> itk::Image,class itk::LabelMap >> itk::LabelObject > >::runLength> >,class std::allocator >> std::vector> itk::Image >> char,2>,class itk::LabelMap > > >>>::runLength,class std::allocator >> itk::BinaryImageToLabelMapFilter,class > >> itk::LabelMap > >::runLength> > > > >>>::~vector >> itk::Image,class itk::LabelMap >> itk::LabelObject > >::runLength,class std::allocator >> itk::BinaryImageToLabelMapFilter,class > >> itk::LabelMap > >::runLength> >,class > >> std::allocator >> itk::BinaryImageToLabelMapFilter,class > >> itk::LabelMap > >::runLength,class > >> std::allocator >> itk::Image,class itk::LabelMap >> itk::LabelObject > >::runLength> > > >(void)" > >> >> (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "protected: __thiscall std::_Vector_val >> itk::ObjectStore > > >>>::MemoryBlock,class std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock> > >>>::_Vector_val >> itk::SparseFieldLevelSetNode > >::MemoryBlock,class > >> std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock> >(class > >> std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock>)" > >> >> (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@1@@Z) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function > >> >> __ehhandler$??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl std::_Debug_order2 >> std::_Tset_traits,class > >> std::allocator,0> >::iterator>(class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,wchar_t const *,unsigned > >> int,struct std::forward_iterator_tag)" > >> >> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl std::_Debug_order2 >> std::_Tset_traits,class > >> std::allocator,0> >::iterator>(class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,wchar_t const *,unsigned > >> int,struct std::forward_iterator_tag)" > >> >> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "protected: void __thiscall std::vector >> itk::ObjectStore > > >>>::MemoryBlock,class std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock> > >>>::_Tidy(void)" > >> >> (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAEXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "public: __thiscall std::vector >> std::allocator >::~vector >> std::allocator >(void)" > >> (??1?$vector at KV?$allocator at K@std@@@std@@QAE at XZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl std::_Debug_order2 >> std::_Tset_traits,class > >> std::allocator,0> >::iterator>(class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,wchar_t const *,unsigned > >> int,struct std::forward_iterator_tag)" > >> >> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "protected: bool __thiscall std::vector >> itk::ObjectStore > > >>>::MemoryBlock,class std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock> > >>>::_Buy(unsigned int)" > >> >> (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE_NI at Z) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> >> 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.dll > >> : fatal error LNK1120: 17 unresolved externals > >> > >> > >> > >> _____________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Kitware offers ITK Training Courses, for more information visit: > >> http://www.kitware.com/products/protraining.php > >> > >> Please keep messages on-topic and check the ITK FAQ at: > >> http://www.itk.org/Wiki/ITK_FAQ > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/insight-users > >> > >> > >> > >> > >> _____________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Kitware offers ITK Training Courses, for more information visit: > >> http://www.kitware.com/products/protraining.php > >> > >> Please keep messages on-topic and check the ITK FAQ at: > >> http://www.itk.org/Wiki/ITK_FAQ > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/insight-users > >> > >> > >> > >> > >> _____________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Kitware offers ITK Training Courses, for more information visit: > >> http://www.kitware.com/products/protraining.php > >> > >> Please keep messages on-topic and check the ITK FAQ at: > >> http://www.itk.org/Wiki/ITK_FAQ > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/insight-users > >> From fisidoro at ethz.ch Mon Sep 26 16:44:44 2016 From: fisidoro at ethz.ch (D'Isidoro Fabio) Date: Mon, 26 Sep 2016 20:44:44 +0000 Subject: [ITK-users] Digitaly Reconstructed Radiograph (itk Python) Message-ID: <50B858FB5F53124F9E32314E5C1B409435BC379A@MBX212.d.ethz.ch> Hallo, I am coding in Python the C++ version of DigitallyReconstructedRadiograph1.cxx. I use itk.RayCastInterpolateImageFunction as interpolator, itk.CenteredEuler3DTransform as transform. 1) I generate my DRR and write it as .png image. The generated DRR has the "y axis" (increasing values of the physical y coordinates, since the direction matrix is the identity) pointing downwards intead of upwards. This is in contrast with the standard physical coordinate system for images explained the manual. Why does the coordinate system of the generated DRR goes left-to-right and top-to-bottom (origin at the top left corner)? 2) The axes of my input CT scan would need to be switched in order to generate a DRR where the body is seen from a frontal view. I achieve this by applying a proper 90? centered rotation about one axis (CenteredEuler3DTransform) and resampling the image volume (ResampleImageFilter). I make sure to set the proper origin, spacing and size of the resampled image volume, so that the image volume is exactly the same as the original one (but with the axes switched). I can visualize the resampled rotated image volume with a viewer and it looks correct. - When I load the original CT scan, the DRR generation works well (both .png image and .mha image are written as DRRs). - When I load the CT scan after rotation by 90?, the program works (both .png image and .mha image are written as DRRs and they look alright) but it crashes immediately after writing the images ("Python.exe has stopped working"). - If I rotate the original CT scan by 0? rather than by 90?, the crash does not occur (meaning that my code for rotation+resampling works for a 0? rotation). - I tried to rotate the original CT scan by only 0.1?, and the problem comes up again, meaning the that it's not an issue concerning the geometry of the camera system (focal length, principal point coordinates). Why could this be happening? I would appreciate any clarification about these two points. Thank you, Fabio. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jinzhong76 at gmail.com Mon Sep 26 18:34:12 2016 From: jinzhong76 at gmail.com (Yang, Jinzhong) Date: Mon, 26 Sep 2016 17:34:12 -0500 Subject: [ITK-users] ITK build_shared_libs In-Reply-To: References: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> <000901d21824$6789f770$369de650$@gmail.com> <001b01d2182f$9943e9a0$cbcbbce0$@gmail.com> Message-ID: <003b01d21846$1b923630$52b6a290$@gmail.com> Hi Matt, I tried, but it doesn't help. I actually have both in my CMakeLists.txt. The link_libraries calls are for all projects in the solution. -Jinzhong -----Original Message----- From: Matt McCormick [mailto:matt.mccormick at kitware.com] Sent: Monday, September 26, 2016 2:57 PM To: Yang, Jinzhong Cc: Insight-users Subject: Re: [ITK-users] ITK build_shared_libs Hi Jinzhong, Does replacing link_libraries calls with target_link_libraries address the issue (this should be done regardless)? HTH, Matt On Mon, Sep 26, 2016 at 3:53 PM, Yang, Jinzhong wrote: > Hi Matt, > > > > I use CMake, but the CMakeLists.txt was written for old ITK (3.16). I > recently upgraded to ITK 4.10 in order for a project depending on this > library and GDCM library ( I had trouble to compile that project with ITK > 3.16). I don't want to manually register the factories. I might need to > revise my CMakeLists.txt. Below is my CMakeLists.txt. Please let me know if > there is anything wrong here. To help you understand my problem, I summarize > my problem below - > > - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project compiled with > "BUILD_SHARED_LIBS", WORK > > - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project NOT compiled with > "BUILD_SHARED_LIBS", WORK > > - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project NOT compiled > with "BUILD_SHARED_LIBS", WORK > > - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project compiled with > "BUILD_SHARED_LIBS", NOT WORKING > > > > I prefer to compiling ITK without using shared libs because I don?t want to > distribute a lot of files to other computers with my program. > > Thank you, > > Jinzhong > > > > //////////////////CMakeLists.txt //////////////////////////// > > CMAKE_MINIMUM_REQUIRED(VERSION 2.6) > > > > PROJECT(ContourWarping) > > > > FIND_PACKAGE(ITK) > > IF(ITK_FOUND) > > INCLUDE(${ITK_USE_FILE}) > > ELSE(ITK_FOUND) > > MESSAGE(FATAL_ERROR > > "ITK not found. Please set ITK_DIR.") > > ENDIF(ITK_FOUND) > > > > FIND_PACKAGE(VTK) > > IF (VTK_FOUND) > > INCLUDE (${VTK_USE_FILE}) > > ELSE (VTK_FOUND) > > MESSAGE(FATAL_ERROR > > "VTK not found. Please set VTK_DIR.") > > ENDIF(VTK_FOUND) > > > > OPTION(BUILD_SHARED_LIBS "Build ContourWarping with shared libraries." OFF) > > > > OPTION(BUILD_LIB_TEST "Build ContourWarping with testing option enabled." > OFF) > > IF (BUILD_LIB_TEST) > > ADD_DEFINITIONS(-D_LIB_TEST) > > ENDIF(BUILD_LIB_TEST) > > > > LINK_LIBRARIES( > > ${ITK_LIBRARIES} > > ${VTK_LIBRARIES} > > #vtkIO vtkCommon vtkFiltering vtkGraphics > > ) > > > > SET(BOOST_DIR "D:/boost_1_41_0" CACHE PATH "D:/boost_1_41_0") > > > > IF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage64/lib" CACHE PATH > "D:/boost_1_41_0/stage64/lib") > > ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) > > SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage/lib" CACHE PATH > "D:/boost_1_41_0/stage/lib") > > ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > > > INCLUDE_DIRECTORIES( "C:/Program Files/Visual Leak Detector/include" # for > memory leak detection, "vld.h" > > ${BOOST_DIR} #boost > > ${PROJECT_SOURCE_DIR} > > "${PROJECT_SOURCE_DIR}/itkLabelMap" > > > "${PROJECT_SOURCE_DIR}/boost" > > ) > > LINK_DIRECTORIES( ${PROJECT_BINARY_DIR}/${CMAKE_ARCHIVE_OUTPUT_DIRECTORY} > > "C:/Program Files/Visual Leak Detector/lib" # for memory > leak detection, "vld.lib" > > ${BOOST_LIB_DIR} #boost > > ) > > #LINK_DIRECTORIES( ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}) > > > > SET(SRCS > > stdafx.h > > stdafx.cpp > > ContourWarpingWrapUp.cpp > > PinnacleROIStructInterface.cpp > > BinaryImageRoiPolyInterface.cpp > > contourwarpingparallel.cpp > > ParallelDispatcher.h > > ParallelDispatcher.cpp > > Win32Header.h > > PinnacleROIConvert.cpp > > PinnacleROIConvert.h > > PinnacleROIMesh.cpp > > PinnacleROIMesh.h > > PinnaclePOIConvert.cpp > > PinnaclePOIConvert.h > > PinnacleImage.cpp > > PinnacleImage.txx > > PinnacleImage.h > > Auxiliary.h > > MeshConvertor.cpp > > MeshConvertor.h > > vtkPolyContours.cpp > > vtkPolyContours.h > > vtkVoxelContoursToSurfaceFilterEx.cpp > > vtkVoxelContoursToSurfaceFilterEx.h > > vtkWindowedSincPolyDataFilterEx.cpp > > vtkWindowedSincPolyDataFilterEx.h > > vtkSurfaceToSliceContours.cpp > > vtkSurfaceToSliceContours.h > > vtkSurfaceCutter.cpp > > vtkSurfaceCutter.h > > vtkSurfaceMeshProcess.cpp > > vtkSurfaceMeshProcess.h > > vtkSurfaceDeformation.cpp > > vtkSurfaceDeformation.h > > vtkSurfaceDeformationUsingCatField.cpp > > vtkSurfaceDeformationUsingCatField.h > > vtkSurfaceTransformation.cpp > > vtkSurfaceTransformation.h > > vtkContourProcess.cpp > > vtkContourProcess.h > > vtkSurfaceClipper.cpp > > vtkSurfaceClipper.h > > vtkPolyContoursClipper.cpp > > vtkPolyContoursClipper.h > > vtkUndirectedGraphCPP.cpp > > vtkUndirectedGraphCPP.h > > itkPolygonFill2DBinaryImageFilter.h > > itkPolygonFill2DBinaryImageFilter.txx > > catDeformationField.cpp > > catDeformationField.h > > boundaries.txx > > boundaries.h > > PinnacleROI2ImagesParallel.cpp > > PinnacleROI2ImagesParallel.h > > ) > > > > IF (WIN32) > > SET(SRCS ${SRCS} resource.h ContourWarping.rc) > > ENDIF(WIN32) > > > > > > ADD_LIBRARY(ContourWarping ${SRCS}) > > > > SET(OUTPUTNAME ContourWarping) > > > > IF (BUILD_SHARED_LIBS) > > IF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > SET_TARGET_PROPERTIES(ContourWarping > > > PROPERTIES OUTPUT_NAME ContourWarping64 > > ) > > SET(OUTPUTNAME ContourWarping64) > > ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) > > SET_TARGET_PROPERTIES(ContourWarping > > > PROPERTIES OUTPUT_NAME ContourWarping32 > > ) > > SET(OUTPUTNAME ContourWarping32) > > ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > ENDIF (BUILD_SHARED_LIBS) > > > > > > #SET(CMAKE_BUILD_TYPE Release) > > #INCLUDE(PCHSupport.cmake) > > #ADD_PRECOMPILED_HEADER(ContourWarping stdafx.h) > > > > TARGET_LINK_LIBRARIES( > > ContourWarping > > ${ITK_LIBRARIES} > > ${VTK_LIBRARIES} > > #vtkIO vtkFiltering vtkGraphics > > #debug vld.lib # for memory leak detection > > ) > > > > #SET(TARGET_LIB_VERSION "1.0" CACHE STRING "1.0") > > SET_TARGET_PROPERTIES(ContourWarping > > PROPERTIES VERSION 1.8.8 > > ) > > > > IF (BUILD_SHARED_LIBS) > > SET_TARGET_PROPERTIES(ContourWarping > > PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" > > ) > > # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK > > ENDIF(BUILD_SHARED_LIBS) > > > > IF (WIN32) #enable PCH support & add resource file > > SET_TARGET_PROPERTIES(ContourWarping > > PROPERTIES COMPILE_FLAGS /Yu"stdafx.h" > > ) > > SET_SOURCE_FILES_PROPERTIES(stdafx.cpp > > PROPERTIES COMPILE_FLAGS /Yc"stdafx.h" > > ) > > ENDIF(WIN32) > > > > > > IF (BUILD_LIB_TEST) > > TARGET_LINK_LIBRARIES( > > ContourWarping > > vtkRendering vtkWidgets > > ) > > ENDIF(BUILD_LIB_TEST) > > > > ###### > > ADD_EXECUTABLE( ContourWarpingTest > > testdll.cpp > > ) > > > > TARGET_LINK_LIBRARIES( > > ContourWarpingTest > > ${OUTPUTNAME}.lib > > ) > > > > ADD_DEPENDENCIES( > > ContourWarpingTest > > ContourWarping > > ) > > > > ###### > > ADD_EXECUTABLE( PinnacleROI2BinaryImage > > PinnacleROI2BinaryImage.cpp > > ) > > > > TARGET_LINK_LIBRARIES( > > PinnacleROI2BinaryImage > > ${OUTPUTNAME}.lib > > ) > > > > ADD_DEPENDENCIES( > > PinnacleROI2BinaryImage > > ContourWarping > > ) > > > > ###### > > ADD_EXECUTABLE( PinnacleROIFromBitmap > > PinnacleROIFromBitmap.cpp > > ) > > > > TARGET_LINK_LIBRARIES( > > PinnacleROIFromBitmap > > ${OUTPUTNAME}.lib > > ) > > > > ADD_DEPENDENCIES( > > PinnacleROIFromBitmap > > ContourWarping > > ) > > > > ###### > > ADD_EXECUTABLE( MeshTest > > MeshTest.cpp > > ) > > > > TARGET_LINK_LIBRARIES( > > MeshTest > > ${OUTPUTNAME}.lib > > ) > > > > ADD_DEPENDENCIES( > > MeshTest > > ContourWarping > > ) > > > > > > -----Original Message----- > From: Matt McCormick [mailto:matt.mccormick at kitware.com] > Sent: Monday, September 26, 2016 1:50 PM > To: Yang, Jinzhong > Cc: Francois Budin ; D?enan Zuki? > ; Insight-users > Subject: Re: [ITK-users] ITK build_shared_libs > > > > Hi Jinzhong, > > > > It sounds like you are not using CMake to build the project or using > > it in some non-standard way? There are a few options: > > > > 1) Use CMake to compile the project. > > 2) Set ITK_NO_IO_FACTORY_REGISTER_MANAGER before calling > > "include(${ITK_USE_FILE})", the register the factories manually. > > > > HTH, > > Matt > > > > On Mon, Sep 26, 2016 at 2:32 PM, Yang, Jinzhong > wrote: > >> Still no clue. I checked the file itkImageIOFactoryRegisterManager.h. It > >> seems all classes imported in that header were not linked. However, I >> check > >> all IO libraries, it seems they were all included as dependency. As I > >> mentioned before, if I compiled my code as static library, there is not >> such > >> a problem. > >> > >> > >> > >> Here are all ITK/VTK related libraries passed to my compiler (they are > >> generated by cmake. I enabled ITK_USE_SYSTEM_GDCM in building my ITK): > >> > >> >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkdouble-conversion-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itksys-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl_algo-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkv3p_netlib-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itknetlib-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvcl-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkNetlibSlatec-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKStatistics-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKTransform-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOImageBase-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBMP-4.10.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDICT.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmMSFF.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGDCM-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkzlib-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGIPL-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkjpeg-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOJPEG-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMetaIO-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMeta-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKznz-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKniftiio-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONIFTI-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKNrrdIO-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONRRD-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkpng-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOPNG-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itktiff-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTIFF-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOVTK-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKLabelMap-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMesh-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKSpatialObjects-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPath-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKQuadEdgeMesh-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizers-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPolynomials-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBiasCorrection-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBioCell-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDICOMParser-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDeprecated-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBioRad-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOLSM-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOStimulate-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKEXPAT-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOXML-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSpatialObjects-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKFEM-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKgiftiio-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMesh-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5_cpp-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOCSV-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOIPL-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSiemens-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOHDF5-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMRC-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformBase-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformHDF5-4.10.lib > >> > >> >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformInsightLegacy-4.10.lib > >> > >> >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformMatlab-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKKLMRegionGrowing-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVTK-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKWatersheds-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizersv4-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoCore-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoIO-4.10.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkChartsCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonColor-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonDataModel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMath-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksys-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMisc-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonSystem-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonTransforms-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersExtraction-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonExecutionModel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneral-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonComputationalGeometry-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersStatistics-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingFourier-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkalglib-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContext2D-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeometry-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSources-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingFreeType-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkfreetype-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkzlib-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDICOMParser-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistry-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXML-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOGeometry-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXMLParser-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexpat-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistryOpenGL2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingOpenGL2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingHybrid-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImage-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkmetaio-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjpeg-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkpng-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtktiff-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkglew-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersAMR-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkParallelCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLegacy-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersFlowPaths-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneric-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHybrid-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingSources-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHyperTree-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersImaging-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingGeneral-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersModeling-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallelImaging-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersProgrammable-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSMP-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSelection-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersTexture-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersVerdict-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkverdict-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkGeovisCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisLayout-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionStyle-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionWidgets-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingAnnotation-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingColor-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolume-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkproj4-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOAMR-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5_hl-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOEnSight-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExodus-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexoIIc-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF_cxx-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExport-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLabel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImport-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOInfovis-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtklibxml2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLSDyna-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMINC-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMovie-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkoggtheora-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIONetCDF-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOPLY-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjsoncpp-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallelXML-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOSQL-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksqlite-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOVideo-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMath-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMorphological-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStatistics-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStencil-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionImage-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContextOpenGL2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingImage-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLOD-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolumeOpenGL2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingGenericBridge-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingIOSQL-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingRendering-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsContext2D-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsInfovis-7.0.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmIOD.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDSED.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmzlib.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmCommon.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmexpat.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg8.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg12.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg16.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmopenjpeg.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmcharls.lib > >> > >> rpcrt4.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVNLInstantiation-4.10.lib > >> > >> > >> > >> Thanks, > >> > >> -Jinzhong > >> > >> > >> > >> From: Francois Budin [mailto:francois.budin at kitware.com] > >> Sent: Monday, September 26, 2016 8:04 AM > >> To: D?enan Zuki? > >> Cc: Yang, Jinzhong ; Insight-users > >> > >> Subject: Re: [ITK-users] ITK build_shared_libs > >> > >> > >> > >> Hello, > >> > >> As Dzenan said, your problem most likely comes from a problem with the ITK > >> IO factory. You may want to check that in your build directory, you have a > >> directory called "ITKIOFactoryRegistration" that is created, and that it > >> contains a file called itkImageIOFactoryRegisterManager.h. This file > >> specifies all the type of images that are automatically registered to the > >> factory. You should compare the list of types included in this header file > >> with the list of ITK libraries that is passed to your compiler and make >> sure > >> that it matches. > >> > >> Hope this helps, > >> > >> Francois > >> > >> > >> > >> On Sun, Sep 25, 2016 at 10:36 AM, D?enan Zuki? wrote: > >> > >> Hi Yang, > >> > >> > >> > >> all your link errors are for I/O class factories. Can you read the >> following > >> and see whether it helps you solve the problem? > >> > >> https://itk.org/Wiki/Plugin_IO_mechanisms > >> > >> >> https://itk.org/ITKExamples/src/IO/ImageBase/RegisterIOFactories/Documentation.html > >> > >> > >> > >> Regards, > >> > >> D?enan > >> > >> > >> > >> On Fri, Sep 23, 2016 at 6:36 PM, Yang, Jinzhong > >> wrote: > >> > >> Hi all, > >> > >> > >> > >> I have a very weird problem when I try to build my library. I have an old > >> library, previously was built based on ITK 3.16 and VTK 5.8. I built my > >> library to both DLL and static library. By configuring in cmake properly, >> I > >> could build both types of libraries without any problem. Recently, I >> upgrade > >> it to ITK 4.10 and VTK 7.0. If I turned on BUILD_SHARED_LIBS in ITK, both > >> DLL and static lib for my library can be compiled and linked, however, I > >> need to include all DLL files from ITK when I would like to distribute my > >> library. I don?t want to do so. Then I turned off BUILD_SHARED_LIBS in >> ITK. > >> The static lib of my library can be built, but the DLL couldn?t. Error > >> happened during the link stage. The error message was attached below. I >> used > >> CMake 3.6.2 + VS 2008 + Windows 7. > >> > >> > >> > >> 2> Creating library > >> >> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.lib > >> and object > >> >> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.exp > >> > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function > >> >> __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0 > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl std::_Debug_order >> std::_Tset_traits,class > >> std::allocator,0> >::iterator>(class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,wchar_t const *,unsigned >> int)" > >> >> (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "public: __thiscall std::vector >> itk::BinaryImageToLabelMapFilter,class > >> itk::LabelMap > >::runLength,class > >> std::allocator >> itk::Image,class itk::LabelMap >> itk::LabelObject > >::runLength> >,class std::allocator >> std::vector> itk::Image >> char,2>,class itk::LabelMap > > >>>::runLength,class std::allocator >> itk::BinaryImageToLabelMapFilter,class > >> itk::LabelMap > >::runLength> > > > >>>::~vector >> itk::Image,class itk::LabelMap >> itk::LabelObject > >::runLength,class std::allocator >> itk::BinaryImageToLabelMapFilter,class > >> itk::LabelMap > >::runLength> >,class > >> std::allocator >> itk::BinaryImageToLabelMapFilter,class > >> itk::LabelMap > >::runLength,class > >> std::allocator >> itk::Image,class itk::LabelMap >> itk::LabelObject > >::runLength> > > >(void)" > >> >> (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "protected: __thiscall std::_Vector_val >> itk::ObjectStore > > >>>::MemoryBlock,class std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock> > >>>::_Vector_val >> itk::SparseFieldLevelSetNode > >::MemoryBlock,class > >> std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock> >(class > >> std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock>)" > >> >> (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@1@@Z) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function > >> >> __ehhandler$??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl std::_Debug_order2 >> std::_Tset_traits,class > >> std::allocator,0> >::iterator>(class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,wchar_t const *,unsigned > >> int,struct std::forward_iterator_tag)" > >> >> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl std::_Debug_order2 >> std::_Tset_traits,class > >> std::allocator,0> >::iterator>(class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,wchar_t const *,unsigned > >> int,struct std::forward_iterator_tag)" > >> >> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "protected: void __thiscall std::vector >> itk::ObjectStore > > >>>::MemoryBlock,class std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock> > >>>::_Tidy(void)" > >> >> (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAEXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "public: __thiscall std::vector >> std::allocator >::~vector >> std::allocator >(void)" > >> (??1?$vector at KV?$allocator at K@std@@@std@@QAE at XZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl std::_Debug_order2 >> std::_Tset_traits,class > >> std::allocator,0> >::iterator>(class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,wchar_t const *,unsigned > >> int,struct std::forward_iterator_tag)" > >> >> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "protected: bool __thiscall std::vector >> itk::ObjectStore > > >>>::MemoryBlock,class std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock> > >>>::_Buy(unsigned int)" > >> >> (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE_NI at Z) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> >> 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.dll > >> : fatal error LNK1120: 17 unresolved externals > >> > >> > >> > >> _____________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Kitware offers ITK Training Courses, for more information visit: > >> http://www.kitware.com/products/protraining.php > >> > >> Please keep messages on-topic and check the ITK FAQ at: > >> http://www.itk.org/Wiki/ITK_FAQ > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/insight-users > >> > >> > >> > >> > >> _____________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Kitware offers ITK Training Courses, for more information visit: > >> http://www.kitware.com/products/protraining.php > >> > >> Please keep messages on-topic and check the ITK FAQ at: > >> http://www.itk.org/Wiki/ITK_FAQ > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/insight-users > >> > >> > >> > >> > >> _____________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Kitware offers ITK Training Courses, for more information visit: > >> http://www.kitware.com/products/protraining.php > >> > >> Please keep messages on-topic and check the ITK FAQ at: > >> http://www.itk.org/Wiki/ITK_FAQ > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/insight-users > >> From jinzhong76 at gmail.com Mon Sep 26 18:39:57 2016 From: jinzhong76 at gmail.com (Yang, Jinzhong) Date: Mon, 26 Sep 2016 17:39:57 -0500 Subject: [ITK-users] ITK build_shared_libs In-Reply-To: References: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> <000901d21824$6789f770$369de650$@gmail.com> <001b01d2182f$9943e9a0$cbcbbce0$@gmail.com> Message-ID: <003c01d21846$e91e4c60$bb5ae520$@gmail.com> Hi Matt, When I built ITK, I turned on ITKV3_COMPATIBILITY. Could this cause the problem? Thanks, -Jinzhong -----Original Message----- From: Matt McCormick [mailto:matt.mccormick at kitware.com] Sent: Monday, September 26, 2016 2:57 PM To: Yang, Jinzhong Cc: Insight-users Subject: Re: [ITK-users] ITK build_shared_libs Hi Jinzhong, Does replacing link_libraries calls with target_link_libraries address the issue (this should be done regardless)? HTH, Matt On Mon, Sep 26, 2016 at 3:53 PM, Yang, Jinzhong wrote: > Hi Matt, > > > > I use CMake, but the CMakeLists.txt was written for old ITK (3.16). I > recently upgraded to ITK 4.10 in order for a project depending on this > library and GDCM library ( I had trouble to compile that project with ITK > 3.16). I don't want to manually register the factories. I might need to > revise my CMakeLists.txt. Below is my CMakeLists.txt. Please let me know if > there is anything wrong here. To help you understand my problem, I summarize > my problem below - > > - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project compiled with > "BUILD_SHARED_LIBS", WORK > > - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project NOT compiled with > "BUILD_SHARED_LIBS", WORK > > - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project NOT compiled > with "BUILD_SHARED_LIBS", WORK > > - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project compiled with > "BUILD_SHARED_LIBS", NOT WORKING > > > > I prefer to compiling ITK without using shared libs because I don?t want to > distribute a lot of files to other computers with my program. > > Thank you, > > Jinzhong > > > > //////////////////CMakeLists.txt //////////////////////////// > > CMAKE_MINIMUM_REQUIRED(VERSION 2.6) > > > > PROJECT(ContourWarping) > > > > FIND_PACKAGE(ITK) > > IF(ITK_FOUND) > > INCLUDE(${ITK_USE_FILE}) > > ELSE(ITK_FOUND) > > MESSAGE(FATAL_ERROR > > "ITK not found. Please set ITK_DIR.") > > ENDIF(ITK_FOUND) > > > > FIND_PACKAGE(VTK) > > IF (VTK_FOUND) > > INCLUDE (${VTK_USE_FILE}) > > ELSE (VTK_FOUND) > > MESSAGE(FATAL_ERROR > > "VTK not found. Please set VTK_DIR.") > > ENDIF(VTK_FOUND) > > > > OPTION(BUILD_SHARED_LIBS "Build ContourWarping with shared libraries." OFF) > > > > OPTION(BUILD_LIB_TEST "Build ContourWarping with testing option enabled." > OFF) > > IF (BUILD_LIB_TEST) > > ADD_DEFINITIONS(-D_LIB_TEST) > > ENDIF(BUILD_LIB_TEST) > > > > LINK_LIBRARIES( > > ${ITK_LIBRARIES} > > ${VTK_LIBRARIES} > > #vtkIO vtkCommon vtkFiltering vtkGraphics > > ) > > > > SET(BOOST_DIR "D:/boost_1_41_0" CACHE PATH "D:/boost_1_41_0") > > > > IF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage64/lib" CACHE PATH > "D:/boost_1_41_0/stage64/lib") > > ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) > > SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage/lib" CACHE PATH > "D:/boost_1_41_0/stage/lib") > > ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > > > INCLUDE_DIRECTORIES( "C:/Program Files/Visual Leak Detector/include" # for > memory leak detection, "vld.h" > > ${BOOST_DIR} #boost > > ${PROJECT_SOURCE_DIR} > > "${PROJECT_SOURCE_DIR}/itkLabelMap" > > > "${PROJECT_SOURCE_DIR}/boost" > > ) > > LINK_DIRECTORIES( ${PROJECT_BINARY_DIR}/${CMAKE_ARCHIVE_OUTPUT_DIRECTORY} > > "C:/Program Files/Visual Leak Detector/lib" # for memory > leak detection, "vld.lib" > > ${BOOST_LIB_DIR} #boost > > ) > > #LINK_DIRECTORIES( ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}) > > > > SET(SRCS > > stdafx.h > > stdafx.cpp > > ContourWarpingWrapUp.cpp > > PinnacleROIStructInterface.cpp > > BinaryImageRoiPolyInterface.cpp > > contourwarpingparallel.cpp > > ParallelDispatcher.h > > ParallelDispatcher.cpp > > Win32Header.h > > PinnacleROIConvert.cpp > > PinnacleROIConvert.h > > PinnacleROIMesh.cpp > > PinnacleROIMesh.h > > PinnaclePOIConvert.cpp > > PinnaclePOIConvert.h > > PinnacleImage.cpp > > PinnacleImage.txx > > PinnacleImage.h > > Auxiliary.h > > MeshConvertor.cpp > > MeshConvertor.h > > vtkPolyContours.cpp > > vtkPolyContours.h > > vtkVoxelContoursToSurfaceFilterEx.cpp > > vtkVoxelContoursToSurfaceFilterEx.h > > vtkWindowedSincPolyDataFilterEx.cpp > > vtkWindowedSincPolyDataFilterEx.h > > vtkSurfaceToSliceContours.cpp > > vtkSurfaceToSliceContours.h > > vtkSurfaceCutter.cpp > > vtkSurfaceCutter.h > > vtkSurfaceMeshProcess.cpp > > vtkSurfaceMeshProcess.h > > vtkSurfaceDeformation.cpp > > vtkSurfaceDeformation.h > > vtkSurfaceDeformationUsingCatField.cpp > > vtkSurfaceDeformationUsingCatField.h > > vtkSurfaceTransformation.cpp > > vtkSurfaceTransformation.h > > vtkContourProcess.cpp > > vtkContourProcess.h > > vtkSurfaceClipper.cpp > > vtkSurfaceClipper.h > > vtkPolyContoursClipper.cpp > > vtkPolyContoursClipper.h > > vtkUndirectedGraphCPP.cpp > > vtkUndirectedGraphCPP.h > > itkPolygonFill2DBinaryImageFilter.h > > itkPolygonFill2DBinaryImageFilter.txx > > catDeformationField.cpp > > catDeformationField.h > > boundaries.txx > > boundaries.h > > PinnacleROI2ImagesParallel.cpp > > PinnacleROI2ImagesParallel.h > > ) > > > > IF (WIN32) > > SET(SRCS ${SRCS} resource.h ContourWarping.rc) > > ENDIF(WIN32) > > > > > > ADD_LIBRARY(ContourWarping ${SRCS}) > > > > SET(OUTPUTNAME ContourWarping) > > > > IF (BUILD_SHARED_LIBS) > > IF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > SET_TARGET_PROPERTIES(ContourWarping > > > PROPERTIES OUTPUT_NAME ContourWarping64 > > ) > > SET(OUTPUTNAME ContourWarping64) > > ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) > > SET_TARGET_PROPERTIES(ContourWarping > > > PROPERTIES OUTPUT_NAME ContourWarping32 > > ) > > SET(OUTPUTNAME ContourWarping32) > > ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > ENDIF (BUILD_SHARED_LIBS) > > > > > > #SET(CMAKE_BUILD_TYPE Release) > > #INCLUDE(PCHSupport.cmake) > > #ADD_PRECOMPILED_HEADER(ContourWarping stdafx.h) > > > > TARGET_LINK_LIBRARIES( > > ContourWarping > > ${ITK_LIBRARIES} > > ${VTK_LIBRARIES} > > #vtkIO vtkFiltering vtkGraphics > > #debug vld.lib # for memory leak detection > > ) > > > > #SET(TARGET_LIB_VERSION "1.0" CACHE STRING "1.0") > > SET_TARGET_PROPERTIES(ContourWarping > > PROPERTIES VERSION 1.8.8 > > ) > > > > IF (BUILD_SHARED_LIBS) > > SET_TARGET_PROPERTIES(ContourWarping > > PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" > > ) > > # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK > > ENDIF(BUILD_SHARED_LIBS) > > > > IF (WIN32) #enable PCH support & add resource file > > SET_TARGET_PROPERTIES(ContourWarping > > PROPERTIES COMPILE_FLAGS /Yu"stdafx.h" > > ) > > SET_SOURCE_FILES_PROPERTIES(stdafx.cpp > > PROPERTIES COMPILE_FLAGS /Yc"stdafx.h" > > ) > > ENDIF(WIN32) > > > > > > IF (BUILD_LIB_TEST) > > TARGET_LINK_LIBRARIES( > > ContourWarping > > vtkRendering vtkWidgets > > ) > > ENDIF(BUILD_LIB_TEST) > > > > ###### > > ADD_EXECUTABLE( ContourWarpingTest > > testdll.cpp > > ) > > > > TARGET_LINK_LIBRARIES( > > ContourWarpingTest > > ${OUTPUTNAME}.lib > > ) > > > > ADD_DEPENDENCIES( > > ContourWarpingTest > > ContourWarping > > ) > > > > ###### > > ADD_EXECUTABLE( PinnacleROI2BinaryImage > > PinnacleROI2BinaryImage.cpp > > ) > > > > TARGET_LINK_LIBRARIES( > > PinnacleROI2BinaryImage > > ${OUTPUTNAME}.lib > > ) > > > > ADD_DEPENDENCIES( > > PinnacleROI2BinaryImage > > ContourWarping > > ) > > > > ###### > > ADD_EXECUTABLE( PinnacleROIFromBitmap > > PinnacleROIFromBitmap.cpp > > ) > > > > TARGET_LINK_LIBRARIES( > > PinnacleROIFromBitmap > > ${OUTPUTNAME}.lib > > ) > > > > ADD_DEPENDENCIES( > > PinnacleROIFromBitmap > > ContourWarping > > ) > > > > ###### > > ADD_EXECUTABLE( MeshTest > > MeshTest.cpp > > ) > > > > TARGET_LINK_LIBRARIES( > > MeshTest > > ${OUTPUTNAME}.lib > > ) > > > > ADD_DEPENDENCIES( > > MeshTest > > ContourWarping > > ) > > > > > > -----Original Message----- > From: Matt McCormick [mailto:matt.mccormick at kitware.com] > Sent: Monday, September 26, 2016 1:50 PM > To: Yang, Jinzhong > Cc: Francois Budin ; D?enan Zuki? > ; Insight-users > Subject: Re: [ITK-users] ITK build_shared_libs > > > > Hi Jinzhong, > > > > It sounds like you are not using CMake to build the project or using > > it in some non-standard way? There are a few options: > > > > 1) Use CMake to compile the project. > > 2) Set ITK_NO_IO_FACTORY_REGISTER_MANAGER before calling > > "include(${ITK_USE_FILE})", the register the factories manually. > > > > HTH, > > Matt > > > > On Mon, Sep 26, 2016 at 2:32 PM, Yang, Jinzhong > wrote: > >> Still no clue. I checked the file itkImageIOFactoryRegisterManager.h. It > >> seems all classes imported in that header were not linked. However, I >> check > >> all IO libraries, it seems they were all included as dependency. As I > >> mentioned before, if I compiled my code as static library, there is not >> such > >> a problem. > >> > >> > >> > >> Here are all ITK/VTK related libraries passed to my compiler (they are > >> generated by cmake. I enabled ITK_USE_SYSTEM_GDCM in building my ITK): > >> > >> >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkdouble-conversion-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itksys-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl_algo-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkv3p_netlib-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itknetlib-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvcl-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkNetlibSlatec-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKStatistics-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKTransform-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOImageBase-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBMP-4.10.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDICT.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmMSFF.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGDCM-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkzlib-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGIPL-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkjpeg-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOJPEG-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMetaIO-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMeta-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKznz-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKniftiio-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONIFTI-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKNrrdIO-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONRRD-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkpng-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOPNG-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itktiff-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTIFF-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOVTK-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKLabelMap-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMesh-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKSpatialObjects-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPath-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKQuadEdgeMesh-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizers-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPolynomials-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBiasCorrection-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBioCell-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDICOMParser-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDeprecated-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBioRad-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOLSM-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOStimulate-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKEXPAT-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOXML-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSpatialObjects-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKFEM-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKgiftiio-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMesh-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5_cpp-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOCSV-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOIPL-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSiemens-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOHDF5-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMRC-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformBase-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformHDF5-4.10.lib > >> > >> >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformInsightLegacy-4.10.lib > >> > >> >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformMatlab-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKKLMRegionGrowing-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVTK-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKWatersheds-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizersv4-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoCore-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoIO-4.10.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkChartsCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonColor-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonDataModel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMath-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksys-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMisc-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonSystem-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonTransforms-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersExtraction-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonExecutionModel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneral-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonComputationalGeometry-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersStatistics-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingFourier-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkalglib-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContext2D-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeometry-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSources-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingFreeType-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkfreetype-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkzlib-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDICOMParser-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistry-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXML-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOGeometry-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXMLParser-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexpat-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistryOpenGL2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingOpenGL2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingHybrid-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImage-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkmetaio-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjpeg-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkpng-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtktiff-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkglew-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersAMR-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkParallelCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLegacy-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersFlowPaths-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneric-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHybrid-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingSources-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHyperTree-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersImaging-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingGeneral-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersModeling-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallelImaging-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersProgrammable-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSMP-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSelection-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersTexture-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersVerdict-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkverdict-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkGeovisCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisLayout-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionStyle-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionWidgets-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingAnnotation-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingColor-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolume-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkproj4-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOAMR-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5_hl-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOEnSight-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExodus-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexoIIc-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF_cxx-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExport-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLabel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImport-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOInfovis-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtklibxml2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLSDyna-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMINC-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMovie-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkoggtheora-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIONetCDF-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOPLY-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjsoncpp-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallelXML-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOSQL-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksqlite-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOVideo-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMath-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMorphological-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStatistics-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStencil-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionImage-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContextOpenGL2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingImage-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLOD-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolumeOpenGL2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingGenericBridge-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingIOSQL-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingRendering-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsContext2D-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsInfovis-7.0.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmIOD.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDSED.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmzlib.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmCommon.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmexpat.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg8.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg12.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg16.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmopenjpeg.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmcharls.lib > >> > >> rpcrt4.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVNLInstantiation-4.10.lib > >> > >> > >> > >> Thanks, > >> > >> -Jinzhong > >> > >> > >> > >> From: Francois Budin [mailto:francois.budin at kitware.com] > >> Sent: Monday, September 26, 2016 8:04 AM > >> To: D?enan Zuki? > >> Cc: Yang, Jinzhong ; Insight-users > >> > >> Subject: Re: [ITK-users] ITK build_shared_libs > >> > >> > >> > >> Hello, > >> > >> As Dzenan said, your problem most likely comes from a problem with the ITK > >> IO factory. You may want to check that in your build directory, you have a > >> directory called "ITKIOFactoryRegistration" that is created, and that it > >> contains a file called itkImageIOFactoryRegisterManager.h. This file > >> specifies all the type of images that are automatically registered to the > >> factory. You should compare the list of types included in this header file > >> with the list of ITK libraries that is passed to your compiler and make >> sure > >> that it matches. > >> > >> Hope this helps, > >> > >> Francois > >> > >> > >> > >> On Sun, Sep 25, 2016 at 10:36 AM, D?enan Zuki? wrote: > >> > >> Hi Yang, > >> > >> > >> > >> all your link errors are for I/O class factories. Can you read the >> following > >> and see whether it helps you solve the problem? > >> > >> https://itk.org/Wiki/Plugin_IO_mechanisms > >> > >> >> https://itk.org/ITKExamples/src/IO/ImageBase/RegisterIOFactories/Documentation.html > >> > >> > >> > >> Regards, > >> > >> D?enan > >> > >> > >> > >> On Fri, Sep 23, 2016 at 6:36 PM, Yang, Jinzhong > >> wrote: > >> > >> Hi all, > >> > >> > >> > >> I have a very weird problem when I try to build my library. I have an old > >> library, previously was built based on ITK 3.16 and VTK 5.8. I built my > >> library to both DLL and static library. By configuring in cmake properly, >> I > >> could build both types of libraries without any problem. Recently, I >> upgrade > >> it to ITK 4.10 and VTK 7.0. If I turned on BUILD_SHARED_LIBS in ITK, both > >> DLL and static lib for my library can be compiled and linked, however, I > >> need to include all DLL files from ITK when I would like to distribute my > >> library. I don?t want to do so. Then I turned off BUILD_SHARED_LIBS in >> ITK. > >> The static lib of my library can be built, but the DLL couldn?t. Error > >> happened during the link stage. The error message was attached below. I >> used > >> CMake 3.6.2 + VS 2008 + Windows 7. > >> > >> > >> > >> 2> Creating library > >> >> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.lib > >> and object > >> >> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.exp > >> > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function > >> >> __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0 > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl std::_Debug_order >> std::_Tset_traits,class > >> std::allocator,0> >::iterator>(class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,wchar_t const *,unsigned >> int)" > >> >> (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "public: __thiscall std::vector >> itk::BinaryImageToLabelMapFilter,class > >> itk::LabelMap > >::runLength,class > >> std::allocator >> itk::Image,class itk::LabelMap >> itk::LabelObject > >::runLength> >,class std::allocator >> std::vector> itk::Image >> char,2>,class itk::LabelMap > > >>>::runLength,class std::allocator >> itk::BinaryImageToLabelMapFilter,class > >> itk::LabelMap > >::runLength> > > > >>>::~vector >> itk::Image,class itk::LabelMap >> itk::LabelObject > >::runLength,class std::allocator >> itk::BinaryImageToLabelMapFilter,class > >> itk::LabelMap > >::runLength> >,class > >> std::allocator >> itk::BinaryImageToLabelMapFilter,class > >> itk::LabelMap > >::runLength,class > >> std::allocator >> itk::Image,class itk::LabelMap >> itk::LabelObject > >::runLength> > > >(void)" > >> >> (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "protected: __thiscall std::_Vector_val >> itk::ObjectStore > > >>>::MemoryBlock,class std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock> > >>>::_Vector_val >> itk::SparseFieldLevelSetNode > >::MemoryBlock,class > >> std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock> >(class > >> std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock>)" > >> >> (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@1@@Z) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function > >> >> __ehhandler$??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl std::_Debug_order2 >> std::_Tset_traits,class > >> std::allocator,0> >::iterator>(class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,wchar_t const *,unsigned > >> int,struct std::forward_iterator_tag)" > >> >> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl std::_Debug_order2 >> std::_Tset_traits,class > >> std::allocator,0> >::iterator>(class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,wchar_t const *,unsigned > >> int,struct std::forward_iterator_tag)" > >> >> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "protected: void __thiscall std::vector >> itk::ObjectStore > > >>>::MemoryBlock,class std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock> > >>>::_Tidy(void)" > >> >> (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAEXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "public: __thiscall std::vector >> std::allocator >::~vector >> std::allocator >(void)" > >> (??1?$vector at KV?$allocator at K@std@@@std@@QAE at XZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl std::_Debug_order2 >> std::_Tset_traits,class > >> std::allocator,0> >::iterator>(class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,wchar_t const *,unsigned > >> int,struct std::forward_iterator_tag)" > >> >> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "protected: bool __thiscall std::vector >> itk::ObjectStore > > >>>::MemoryBlock,class std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock> > >>>::_Buy(unsigned int)" > >> >> (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE_NI at Z) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> >> 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.dll > >> : fatal error LNK1120: 17 unresolved externals > >> > >> > >> > >> _____________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Kitware offers ITK Training Courses, for more information visit: > >> http://www.kitware.com/products/protraining.php > >> > >> Please keep messages on-topic and check the ITK FAQ at: > >> http://www.itk.org/Wiki/ITK_FAQ > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/insight-users > >> > >> > >> > >> > >> _____________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Kitware offers ITK Training Courses, for more information visit: > >> http://www.kitware.com/products/protraining.php > >> > >> Please keep messages on-topic and check the ITK FAQ at: > >> http://www.itk.org/Wiki/ITK_FAQ > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/insight-users > >> > >> > >> > >> > >> _____________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Kitware offers ITK Training Courses, for more information visit: > >> http://www.kitware.com/products/protraining.php > >> > >> Please keep messages on-topic and check the ITK FAQ at: > >> http://www.itk.org/Wiki/ITK_FAQ > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/insight-users > >> From francois.budin at kitware.com Mon Sep 26 19:54:36 2016 From: francois.budin at kitware.com (Francois Budin) Date: Mon, 26 Sep 2016 19:54:36 -0400 Subject: [ITK-users] ITK build_shared_libs In-Reply-To: <003c01d21846$e91e4c60$bb5ae520$@gmail.com> References: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> <000901d21824$6789f770$369de650$@gmail.com> <001b01d2182f$9943e9a0$cbcbbce0$@gmail.com> <003c01d21846$e91e4c60$bb5ae520$@gmail.com> Message-ID: Hello Jinzhong, Could you try to add ${ITK_LIBRARIES} to your call of "TARGET_LINK_LIBRARIES"? Francois On Mon, Sep 26, 2016 at 6:39 PM, Yang, Jinzhong wrote: > Hi Matt, > > When I built ITK, I turned on ITKV3_COMPATIBILITY. Could this cause the > problem? > Thanks, > -Jinzhong > > > -----Original Message----- > From: Matt McCormick [mailto:matt.mccormick at kitware.com] > Sent: Monday, September 26, 2016 2:57 PM > To: Yang, Jinzhong > Cc: Insight-users > Subject: Re: [ITK-users] ITK build_shared_libs > > Hi Jinzhong, > > Does replacing link_libraries calls with target_link_libraries address > the issue (this should be done regardless)? > > HTH, > Matt > > On Mon, Sep 26, 2016 at 3:53 PM, Yang, Jinzhong > wrote: > > Hi Matt, > > > > > > > > I use CMake, but the CMakeLists.txt was written for old ITK (3.16). I > > recently upgraded to ITK 4.10 in order for a project depending on this > > library and GDCM library ( I had trouble to compile that project with ITK > > 3.16). I don't want to manually register the factories. I might need to > > revise my CMakeLists.txt. Below is my CMakeLists.txt. Please let me know > if > > there is anything wrong here. To help you understand my problem, I > summarize > > my problem below - > > > > - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project compiled with > > "BUILD_SHARED_LIBS", WORK > > > > - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project NOT compiled > with > > "BUILD_SHARED_LIBS", WORK > > > > - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project NOT compiled > > with "BUILD_SHARED_LIBS", WORK > > > > - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project compiled > with > > "BUILD_SHARED_LIBS", NOT WORKING > > > > > > > > I prefer to compiling ITK without using shared libs because I don?t want > to > > distribute a lot of files to other computers with my program. > > > > Thank you, > > > > Jinzhong > > > > > > > > //////////////////CMakeLists.txt //////////////////////////// > > > > CMAKE_MINIMUM_REQUIRED(VERSION 2.6) > > > > > > > > PROJECT(ContourWarping) > > > > > > > > FIND_PACKAGE(ITK) > > > > IF(ITK_FOUND) > > > > INCLUDE(${ITK_USE_FILE}) > > > > ELSE(ITK_FOUND) > > > > MESSAGE(FATAL_ERROR > > > > "ITK not found. Please set ITK_DIR.") > > > > ENDIF(ITK_FOUND) > > > > > > > > FIND_PACKAGE(VTK) > > > > IF (VTK_FOUND) > > > > INCLUDE (${VTK_USE_FILE}) > > > > ELSE (VTK_FOUND) > > > > MESSAGE(FATAL_ERROR > > > > "VTK not found. Please set VTK_DIR.") > > > > ENDIF(VTK_FOUND) > > > > > > > > OPTION(BUILD_SHARED_LIBS "Build ContourWarping with shared libraries." > OFF) > > > > > > > > OPTION(BUILD_LIB_TEST "Build ContourWarping with testing option enabled." > > OFF) > > > > IF (BUILD_LIB_TEST) > > > > ADD_DEFINITIONS(-D_LIB_TEST) > > > > ENDIF(BUILD_LIB_TEST) > > > > > > > > LINK_LIBRARIES( > > > > ${ITK_LIBRARIES} > > > > ${VTK_LIBRARIES} > > > > #vtkIO vtkCommon vtkFiltering vtkGraphics > > > > ) > > > > > > > > SET(BOOST_DIR "D:/boost_1_41_0" CACHE PATH "D:/boost_1_41_0") > > > > > > > > IF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > > > SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage64/lib" CACHE > PATH > > "D:/boost_1_41_0/stage64/lib") > > > > ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) > > > > SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage/lib" CACHE PATH > > "D:/boost_1_41_0/stage/lib") > > > > ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > > > > > > > INCLUDE_DIRECTORIES( "C:/Program Files/Visual Leak Detector/include" # > for > > memory leak detection, "vld.h" > > > > ${BOOST_DIR} #boost > > > > ${PROJECT_SOURCE_DIR} > > > > "${PROJECT_SOURCE_DIR}/itkLabelMap" > > > > > > "${PROJECT_SOURCE_DIR}/boost" > > > > ) > > > > LINK_DIRECTORIES( ${PROJECT_BINARY_DIR}/${CMAKE_ > ARCHIVE_OUTPUT_DIRECTORY} > > > > "C:/Program Files/Visual Leak Detector/lib" # for > memory > > leak detection, "vld.lib" > > > > ${BOOST_LIB_DIR} #boost > > > > ) > > > > #LINK_DIRECTORIES( ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}) > > > > > > > > SET(SRCS > > > > stdafx.h > > > > stdafx.cpp > > > > ContourWarpingWrapUp.cpp > > > > PinnacleROIStructInterface.cpp > > > > BinaryImageRoiPolyInterface.cpp > > > > contourwarpingparallel.cpp > > > > ParallelDispatcher.h > > > > ParallelDispatcher.cpp > > > > Win32Header.h > > > > PinnacleROIConvert.cpp > > > > PinnacleROIConvert.h > > > > PinnacleROIMesh.cpp > > > > PinnacleROIMesh.h > > > > PinnaclePOIConvert.cpp > > > > PinnaclePOIConvert.h > > > > PinnacleImage.cpp > > > > PinnacleImage.txx > > > > PinnacleImage.h > > > > Auxiliary.h > > > > MeshConvertor.cpp > > > > MeshConvertor.h > > > > vtkPolyContours.cpp > > > > vtkPolyContours.h > > > > vtkVoxelContoursToSurfaceFilterEx.cpp > > > > vtkVoxelContoursToSurfaceFilterEx.h > > > > vtkWindowedSincPolyDataFilterEx.cpp > > > > vtkWindowedSincPolyDataFilterEx.h > > > > vtkSurfaceToSliceContours.cpp > > > > vtkSurfaceToSliceContours.h > > > > vtkSurfaceCutter.cpp > > > > vtkSurfaceCutter.h > > > > vtkSurfaceMeshProcess.cpp > > > > vtkSurfaceMeshProcess.h > > > > vtkSurfaceDeformation.cpp > > > > vtkSurfaceDeformation.h > > > > vtkSurfaceDeformationUsingCatField.cpp > > > > vtkSurfaceDeformationUsingCatField.h > > > > vtkSurfaceTransformation.cpp > > > > vtkSurfaceTransformation.h > > > > vtkContourProcess.cpp > > > > vtkContourProcess.h > > > > vtkSurfaceClipper.cpp > > > > vtkSurfaceClipper.h > > > > vtkPolyContoursClipper.cpp > > > > vtkPolyContoursClipper.h > > > > vtkUndirectedGraphCPP.cpp > > > > vtkUndirectedGraphCPP.h > > > > itkPolygonFill2DBinaryImageFilter.h > > > > itkPolygonFill2DBinaryImageFilter.txx > > > > catDeformationField.cpp > > > > catDeformationField.h > > > > boundaries.txx > > > > boundaries.h > > > > PinnacleROI2ImagesParallel.cpp > > > > PinnacleROI2ImagesParallel.h > > > > ) > > > > > > > > IF (WIN32) > > > > SET(SRCS ${SRCS} resource.h ContourWarping.rc) > > > > ENDIF(WIN32) > > > > > > > > > > > > ADD_LIBRARY(ContourWarping ${SRCS}) > > > > > > > > SET(OUTPUTNAME ContourWarping) > > > > > > > > IF (BUILD_SHARED_LIBS) > > > > IF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > > > SET_TARGET_PROPERTIES(ContourWarping > > > > > > PROPERTIES OUTPUT_NAME ContourWarping64 > > > > ) > > > > SET(OUTPUTNAME ContourWarping64) > > > > ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) > > > > SET_TARGET_PROPERTIES(ContourWarping > > > > > > PROPERTIES OUTPUT_NAME ContourWarping32 > > > > ) > > > > SET(OUTPUTNAME ContourWarping32) > > > > ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > > > ENDIF (BUILD_SHARED_LIBS) > > > > > > > > > > > > #SET(CMAKE_BUILD_TYPE Release) > > > > #INCLUDE(PCHSupport.cmake) > > > > #ADD_PRECOMPILED_HEADER(ContourWarping stdafx.h) > > > > > > > > TARGET_LINK_LIBRARIES( > > > > ContourWarping > > > > ${ITK_LIBRARIES} > > > > ${VTK_LIBRARIES} > > > > #vtkIO vtkFiltering vtkGraphics > > > > #debug vld.lib # for memory leak detection > > > > ) > > > > > > > > #SET(TARGET_LIB_VERSION "1.0" CACHE STRING "1.0") > > > > SET_TARGET_PROPERTIES(ContourWarping > > > > PROPERTIES VERSION 1.8.8 > > > > ) > > > > > > > > IF (BUILD_SHARED_LIBS) > > > > SET_TARGET_PROPERTIES(ContourWarping > > > > PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" > > > > ) > > > > # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK > > > > ENDIF(BUILD_SHARED_LIBS) > > > > > > > > IF (WIN32) #enable PCH support & add resource file > > > > SET_TARGET_PROPERTIES(ContourWarping > > > > PROPERTIES COMPILE_FLAGS /Yu"stdafx.h" > > > > ) > > > > SET_SOURCE_FILES_PROPERTIES(stdafx.cpp > > > > PROPERTIES COMPILE_FLAGS /Yc"stdafx.h" > > > > ) > > > > ENDIF(WIN32) > > > > > > > > > > > > IF (BUILD_LIB_TEST) > > > > TARGET_LINK_LIBRARIES( > > > > ContourWarping > > > > vtkRendering vtkWidgets > > > > ) > > > > ENDIF(BUILD_LIB_TEST) > > > > > > > > ###### > > > > ADD_EXECUTABLE( ContourWarpingTest > > > > testdll.cpp > > > > ) > > > > > > > > TARGET_LINK_LIBRARIES( > > > > ContourWarpingTest > > > > ${OUTPUTNAME}.lib > > > > ) > > > > > > > > ADD_DEPENDENCIES( > > > > ContourWarpingTest > > > > ContourWarping > > > > ) > > > > > > > > ###### > > > > ADD_EXECUTABLE( PinnacleROI2BinaryImage > > > > PinnacleROI2BinaryImage.cpp > > > > ) > > > > > > > > TARGET_LINK_LIBRARIES( > > > > PinnacleROI2BinaryImage > > > > ${OUTPUTNAME}.lib > > > > ) > > > > > > > > ADD_DEPENDENCIES( > > > > PinnacleROI2BinaryImage > > > > ContourWarping > > > > ) > > > > > > > > ###### > > > > ADD_EXECUTABLE( PinnacleROIFromBitmap > > > > PinnacleROIFromBitmap.cpp > > > > ) > > > > > > > > TARGET_LINK_LIBRARIES( > > > > PinnacleROIFromBitmap > > > > ${OUTPUTNAME}.lib > > > > ) > > > > > > > > ADD_DEPENDENCIES( > > > > PinnacleROIFromBitmap > > > > ContourWarping > > > > ) > > > > > > > > ###### > > > > ADD_EXECUTABLE( MeshTest > > > > MeshTest.cpp > > > > ) > > > > > > > > TARGET_LINK_LIBRARIES( > > > > MeshTest > > > > ${OUTPUTNAME}.lib > > > > ) > > > > > > > > ADD_DEPENDENCIES( > > > > MeshTest > > > > ContourWarping > > > > ) > > > > > > > > > > > > -----Original Message----- > > From: Matt McCormick [mailto:matt.mccormick at kitware.com] > > Sent: Monday, September 26, 2016 1:50 PM > > To: Yang, Jinzhong > > Cc: Francois Budin ; D?enan Zuki? > > ; Insight-users > > Subject: Re: [ITK-users] ITK build_shared_libs > > > > > > > > Hi Jinzhong, > > > > > > > > It sounds like you are not using CMake to build the project or using > > > > it in some non-standard way? There are a few options: > > > > > > > > 1) Use CMake to compile the project. > > > > 2) Set ITK_NO_IO_FACTORY_REGISTER_MANAGER before calling > > > > "include(${ITK_USE_FILE})", the register the factories manually. > > > > > > > > HTH, > > > > Matt > > > > > > > > On Mon, Sep 26, 2016 at 2:32 PM, Yang, Jinzhong > > wrote: > > > >> Still no clue. I checked the file itkImageIOFactoryRegisterManager.h. > It > > > >> seems all classes imported in that header were not linked. However, I > >> check > > > >> all IO libraries, it seems they were all included as dependency. As I > > > >> mentioned before, if I compiled my code as static library, there is not > >> such > > > >> a problem. > > > >> > > > >> > > > >> > > > >> Here are all ITK/VTK related libraries passed to my compiler (they are > > > >> generated by cmake. I enabled ITK_USE_SYSTEM_GDCM in building my ITK): > > > >> > > > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > itkdouble-conversion-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itksys-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl_algo-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkv3p_netlib-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itknetlib-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvcl-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkNetlibSlatec-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKStatistics-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKTransform-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOImageBase-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBMP-4.10.lib > > > >> > > > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDICT.lib > > > >> > > > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmMSFF.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGDCM-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkzlib-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGIPL-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkjpeg-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOJPEG-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMetaIO-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMeta-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKznz-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKniftiio-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONIFTI-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKNrrdIO-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONRRD-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkpng-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOPNG-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itktiff-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTIFF-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOVTK-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKLabelMap-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMesh-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKSpatialObjects-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPath-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKQuadEdgeMesh-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizers-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPolynomials-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKBiasCorrection-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBioCell-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDICOMParser-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDeprecated-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBioRad-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOLSM-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOStimulate-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKEXPAT-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOXML-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKIOSpatialObjects-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKFEM-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKgiftiio-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMesh-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5_cpp-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOCSV-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOIPL-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSiemens-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOHDF5-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMRC-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKIOTransformBase-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKIOTransformHDF5-4.10.lib > > > >> > > > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKIOTransformInsightLegacy-4.10.lib > > > >> > > > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKIOTransformMatlab-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKKLMRegionGrowing-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVTK-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKWatersheds-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizersv4-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoCore-4.10.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoIO-4.10.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkChartsCore-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonColor-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonDataModel-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMath-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonCore-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksys-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMisc-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonSystem-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonTransforms-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisCore-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersExtraction-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonExecutionModel-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersCore-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneral-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonComputationalGeometry > -7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersStatistics-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingFourier-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingCore-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkalglib-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContext2D-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingCore-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeometry-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSources-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingFreeType-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkfreetype-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkzlib-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDICOMParser-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistry-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXML-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOGeometry-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOCore-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXMLParser-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexpat-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistryOpenGL2-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingOpenGL2-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingHybrid-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImage-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkmetaio-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjpeg-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkpng-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtktiff-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkglew-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersAMR-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkParallelCore-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLegacy-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersFlowPaths-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneric-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHybrid-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingSources-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHyperTree-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersImaging-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingGeneral-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersModeling-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallel-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallelImaging-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersProgrammable-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSMP-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSelection-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersTexture-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersVerdict-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkverdict-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkGeovisCore-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisLayout-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionStyle-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionWidgets-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingAnnotation-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingColor-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolume-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsCore-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkproj4-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOAMR-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5_hl-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOEnSight-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExodus-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexoIIc-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF_cxx-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExport-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLabel-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImport-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOInfovis-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtklibxml2-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLSDyna-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMINC-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMovie-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkoggtheora-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIONetCDF-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOPLY-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallel-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjsoncpp-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallelXML-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOSQL-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksqlite-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOVideo-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMath-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMorphological-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStatistics-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStencil-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionImage-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContextOpenGL2-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingImage-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLOD-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolumeOpenGL2-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingGenericBridge-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingIOSQL-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingRendering-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsContext2D-7.0.lib > > > >> > > > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsInfovis-7.0.lib > > > >> > > > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmIOD.lib > > > >> > > > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDSED.lib > > > >> > > > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmzlib.lib > > > >> > > > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmCommon.lib > > > >> > > > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmexpat.lib > > > >> > > > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg8.lib > > > >> > > > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg12.lib > > > >> > > > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg16.lib > > > >> > > > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmopenjpeg.lib > > > >> > > > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmcharls.lib > > > >> > > > >> rpcrt4.lib > > > >> > > > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKVNLInstantiation-4.10.lib > > > >> > > > >> > > > >> > > > >> Thanks, > > > >> > > > >> -Jinzhong > > > >> > > > >> > > > >> > > > >> From: Francois Budin [mailto:francois.budin at kitware.com] > > > >> Sent: Monday, September 26, 2016 8:04 AM > > > >> To: D?enan Zuki? > > > >> Cc: Yang, Jinzhong ; Insight-users > > > >> > > > >> Subject: Re: [ITK-users] ITK build_shared_libs > > > >> > > > >> > > > >> > > > >> Hello, > > > >> > > > >> As Dzenan said, your problem most likely comes from a problem with the > ITK > > > >> IO factory. You may want to check that in your build directory, you > have a > > > >> directory called "ITKIOFactoryRegistration" that is created, and that it > > > >> contains a file called itkImageIOFactoryRegisterManager.h. This file > > > >> specifies all the type of images that are automatically registered to > the > > > >> factory. You should compare the list of types included in this header > file > > > >> with the list of ITK libraries that is passed to your compiler and make > >> sure > > > >> that it matches. > > > >> > > > >> Hope this helps, > > > >> > > > >> Francois > > > >> > > > >> > > > >> > > > >> On Sun, Sep 25, 2016 at 10:36 AM, D?enan Zuki? > wrote: > > > >> > > > >> Hi Yang, > > > >> > > > >> > > > >> > > > >> all your link errors are for I/O class factories. Can you read the > >> following > > > >> and see whether it helps you solve the problem? > > > >> > > > >> https://itk.org/Wiki/Plugin_IO_mechanisms > > > >> > > > >> > >> https://itk.org/ITKExamples/src/IO/ImageBase/RegisterIOFactories/ > Documentation.html > > > >> > > > >> > > > >> > > > >> Regards, > > > >> > > > >> D?enan > > > >> > > > >> > > > >> > > > >> On Fri, Sep 23, 2016 at 6:36 PM, Yang, Jinzhong > > > >> wrote: > > > >> > > > >> Hi all, > > > >> > > > >> > > > >> > > > >> I have a very weird problem when I try to build my library. I have an > old > > > >> library, previously was built based on ITK 3.16 and VTK 5.8. I built my > > > >> library to both DLL and static library. By configuring in cmake > properly, > >> I > > > >> could build both types of libraries without any problem. Recently, I > >> upgrade > > > >> it to ITK 4.10 and VTK 7.0. If I turned on BUILD_SHARED_LIBS in ITK, > both > > > >> DLL and static lib for my library can be compiled and linked, however, I > > > >> need to include all DLL files from ITK when I would like to distribute > my > > > >> library. I don?t want to do so. Then I turned off BUILD_SHARED_LIBS in > >> ITK. > > > >> The static lib of my library can be built, but the DLL couldn?t. Error > > > >> happened during the link stage. The error message was attached below. I > >> used > > > >> CMake 3.6.2 + VS 2008 + Windows 7. > > > >> > > > >> > > > >> > > > >> 2> Creating library > > > >> > >> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\ > Debug\ContourWarping32.lib > > > >> and object > > > >> > >> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\ > Debug\ContourWarping32.exp > > > >> > > > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GE5ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > > > >> function > > > >> > >> __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk > @@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0 > > > >> > > > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GE5ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GE5ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GE5ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GE5ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GE5ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GE5ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GE4ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GE4ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GE4ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GE4ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > > > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer > >> for > > > >> 'ImageIOFactoryRegisterRegisterList''(void)" > > > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GE4ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GE4ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GE4ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::MRCImageIOFactoryRegister__Private(void)" > > > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::MRCImageIOFactoryRegister__Private(void)" > > > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::MRCImageIOFactoryRegister__Private(void)" > > > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > > > >> function "void __cdecl std::_Debug_order > > >> std::_Tset_traits,class > > > >> std::allocator,0> >::iterator>(class std::_Tree > > >> std::_Tset_traits,class > > > >> std::allocator,0> >::iterator,class std::_Tree > > >> std::_Tset_traits,class > > > >> std::allocator,0> >::iterator,wchar_t const *,unsigned > >> int)" > > > >> > >> (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std > @@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V > ?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z) > > > >> > > > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::MRCImageIOFactoryRegister__Private(void)" > > > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::MRCImageIOFactoryRegister__Private(void)" > > > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::MRCImageIOFactoryRegister__Private(void)" > > > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::MRCImageIOFactoryRegister__Private(void)" > > > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::MetaImageIOFactoryRegister__Private(void)" > > > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::MetaImageIOFactoryRegister__Private(void)" > > > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::MetaImageIOFactoryRegister__Private(void)" > > > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::MetaImageIOFactoryRegister__Private(void)" > > > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > > > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer > >> for > > > >> 'ImageIOFactoryRegisterRegisterList''(void)" > > > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::MetaImageIOFactoryRegister__Private(void)" > > > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::MetaImageIOFactoryRegister__Private(void)" > > > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::MetaImageIOFactoryRegister__Private(void)" > > > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::BioRadImageIOFactoryRegister__Private(void)" > > > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > > > >> function "public: __thiscall std::vector > > >> itk::BinaryImageToLabelMapFilter char,2>,class > > > >> itk::LabelMap > >::runLength,class > > > >> std::allocator > > >> itk::Image,class itk::LabelMap > > >> itk::LabelObject > >::runLength> >,class std::allocator > > >> std::vector >> itk::Image > > >> char,2>,class itk::LabelMap > > > > >>>::runLength,class std::allocator > > >> itk::BinaryImageToLabelMapFilter char,2>,class > > > >> itk::LabelMap > >::runLength> > > > > > >>>::~vector class > > > >> itk::Image,class itk::LabelMap > > >> itk::LabelObject > >::runLength,class std::allocator > > >> itk::BinaryImageToLabelMapFilter char,2>,class > > > >> itk::LabelMap > >::runLength> >,class > > > >> std::allocator > > >> itk::BinaryImageToLabelMapFilter char,2>,class > > > >> itk::LabelMap > >::runLength,class > > > >> std::allocator > > >> itk::Image,class itk::LabelMap > > >> itk::LabelObject > >::runLength> > > >(void)" > > > >> > >> (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V? > $Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@ > @V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk > @@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator@ > V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk > @@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@? > $BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap@ > V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ) > > > >> > > > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::BioRadImageIOFactoryRegister__Private(void)" > > > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::BioRadImageIOFactoryRegister__Private(void)" > > > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::BioRadImageIOFactoryRegister__Private(void)" > > > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::BioRadImageIOFactoryRegister__Private(void)" > > > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::BioRadImageIOFactoryRegister__Private(void)" > > > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::BioRadImageIOFactoryRegister__Private(void)" > > > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::StimulateImageIOFactoryRegister__Private(void)" > > > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::StimulateImageIOFactoryRegister__Private(void)" > > > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > referenced in > > > >> function "protected: __thiscall std::_Vector_val > > >> itk::ObjectStore itk::Index<3> > > > > >>>::MemoryBlock,class std::allocator > > >> itk::SparseFieldLevelSetNode > >::MemoryBlock> > > > >>>::_Vector_val > > >> itk::SparseFieldLevelSetNode > >::MemoryBlock,class > > > >> std::allocator > > >> itk::SparseFieldLevelSetNode > >::MemoryBlock> > >(class > > > >> std::allocator > > >> itk::SparseFieldLevelSetNode > >::MemoryBlock>)" > > > >> > >> (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$ > SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$ > allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@ > $02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V?$allocator at UMemoryBlock@ > ?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@1@ > @Z) > > > >> > > > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::StimulateImageIOFactoryRegister__Private(void)" > > > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::StimulateImageIOFactoryRegister__Private(void)" > > > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::StimulateImageIOFactoryRegister__Private(void)" > > > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::StimulateImageIOFactoryRegister__Private(void)" > > > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::StimulateImageIOFactoryRegister__Private(void)" > > > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::VTKImageIOFactoryRegister__Private(void)" > > > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::VTKImageIOFactoryRegister__Private(void)" > > > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::VTKImageIOFactoryRegister__Private(void)" > > > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::VTKImageIOFactoryRegister__Private(void)" > > > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > > > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer > >> for > > > >> 'ImageIOFactoryRegisterRegisterList''(void)" > > > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::VTKImageIOFactoryRegister__Private(void)" > > > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::VTKImageIOFactoryRegister__Private(void)" > > > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::VTKImageIOFactoryRegister__Private(void)" > > > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::TIFFImageIOFactoryRegister__Private(void)" > > > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > > > >> function > > > >> > >> __ehhandler$??1?$vector at V?$vector at VrunLength@?$ > BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V > ?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@? > $BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap@ > V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator@ > V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk > @@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@? > $BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap@ > V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ > > > >> > > > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::TIFFImageIOFactoryRegister__Private(void)" > > > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::TIFFImageIOFactoryRegister__Private(void)" > > > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::TIFFImageIOFactoryRegister__Private(void)" > > > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::TIFFImageIOFactoryRegister__Private(void)" > > > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::TIFFImageIOFactoryRegister__Private(void)" > > > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::TIFFImageIOFactoryRegister__Private(void)" > > > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::PNGImageIOFactoryRegister__Private(void)" > > > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::PNGImageIOFactoryRegister__Private(void)" > > > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::PNGImageIOFactoryRegister__Private(void)" > > > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > > > >> function "void __cdecl std::_Debug_order2 > > >> std::_Tset_traits,class > > > >> std::allocator,0> >::iterator>(class std::_Tree > > >> std::_Tset_traits,class > > > >> std::allocator,0> >::iterator,class std::_Tree > > >> std::_Tset_traits,class > > > >> std::allocator,0> >::iterator,wchar_t const *,unsigned > > > >> int,struct std::forward_iterator_tag)" > > > >> > >> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@ > @V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_ > traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0@ > 0PB_WIUforward_iterator_tag at 0@@Z) > > > >> > > > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::PNGImageIOFactoryRegister__Private(void)" > > > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::PNGImageIOFactoryRegister__Private(void)" > > > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::PNGImageIOFactoryRegister__Private(void)" > > > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::PNGImageIOFactoryRegister__Private(void)" > > > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::LSMImageIOFactoryRegister__Private(void)" > > > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::LSMImageIOFactoryRegister__Private(void)" > > > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::LSMImageIOFactoryRegister__Private(void)" > > > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > > > >> function "void __cdecl std::_Debug_order2 > > >> std::_Tset_traits,class > > > >> std::allocator,0> >::iterator>(class std::_Tree > > >> std::_Tset_traits,class > > > >> std::allocator,0> >::iterator,class std::_Tree > > >> std::_Tset_traits,class > > > >> std::allocator,0> >::iterator,wchar_t const *,unsigned > > > >> int,struct std::forward_iterator_tag)" > > > >> > >> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@ > @V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_ > traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0@ > 0PB_WIUforward_iterator_tag at 0@@Z) > > > >> > > > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::LSMImageIOFactoryRegister__Private(void)" > > > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::LSMImageIOFactoryRegister__Private(void)" > > > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::LSMImageIOFactoryRegister__Private(void)" > > > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::LSMImageIOFactoryRegister__Private(void)" > > > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::BMPImageIOFactoryRegister__Private(void)" > > > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::BMPImageIOFactoryRegister__Private(void)" > > > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > > > >> function "protected: void __thiscall std::vector > > >> itk::ObjectStore itk::Index<3> > > > > >>>::MemoryBlock,class std::allocator > > >> itk::SparseFieldLevelSetNode > >::MemoryBlock> > > > >>>::_Tidy(void)" > > > >> > >> (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V?$ > SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$ > allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@ > $02 at itk@@@itk@@@itk@@@std@@@std@@IAEXXZ) > > > >> > > > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::BMPImageIOFactoryRegister__Private(void)" > > > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::BMPImageIOFactoryRegister__Private(void)" > > > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::BMPImageIOFactoryRegister__Private(void)" > > > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::BMPImageIOFactoryRegister__Private(void)" > > > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::BMPImageIOFactoryRegister__Private(void)" > > > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GDCMImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GDCMImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GDCMImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GDCMImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > > > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer > >> for > > > >> 'ImageIOFactoryRegisterRegisterList''(void)" > > > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GDCMImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GDCMImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GDCMImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::JPEGImageIOFactoryRegister__Private(void)" > > > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::JPEGImageIOFactoryRegister__Private(void)" > > > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::JPEGImageIOFactoryRegister__Private(void)" > > > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::JPEGImageIOFactoryRegister__Private(void)" > > > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > > > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer > >> for > > > >> 'ImageIOFactoryRegisterRegisterList''(void)" > > > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::JPEGImageIOFactoryRegister__Private(void)" > > > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::JPEGImageIOFactoryRegister__Private(void)" > > > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::JPEGImageIOFactoryRegister__Private(void)" > > > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > > > >> function "public: __thiscall std::vector > > >> std::allocator >::~vector > > >> std::allocator >(void)" > > > >> (??1?$vector at KV?$allocator at K@std@@@std@@QAE at XZ) > > > >> > > > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > > > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GiplImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GiplImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GiplImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > > > >> function "void __cdecl std::_Debug_order2 > > >> std::_Tset_traits,class > > > >> std::allocator,0> >::iterator>(class std::_Tree > > >> std::_Tset_traits,class > > > >> std::allocator,0> >::iterator,class std::_Tree > > >> std::_Tset_traits,class > > > >> std::allocator,0> >::iterator,wchar_t const *,unsigned > > > >> int,struct std::forward_iterator_tag)" > > > >> > >> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@ > @V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_ > traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0@ > 0PB_WIUforward_iterator_tag at 0@@Z) > > > >> > > > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GiplImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GiplImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GiplImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::GiplImageIOFactoryRegister__Private(void)" > > > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::NrrdImageIOFactoryRegister__Private(void)" > > > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::NrrdImageIOFactoryRegister__Private(void)" > > > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > > > >> function "protected: bool __thiscall std::vector > > >> itk::ObjectStore itk::Index<3> > > > > >>>::MemoryBlock,class std::allocator > > >> itk::SparseFieldLevelSetNode > >::MemoryBlock> > > > >>>::_Buy(unsigned int)" > > > >> > >> (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V > ?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$ > SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE_NI at Z > ) > > > >> > > > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::NrrdImageIOFactoryRegister__Private(void)" > > > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::NrrdImageIOFactoryRegister__Private(void)" > > > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::NrrdImageIOFactoryRegister__Private(void)" > > > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::NrrdImageIOFactoryRegister__Private(void)" > > > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::NrrdImageIOFactoryRegister__Private(void)" > > > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::NiftiImageIOFactoryRegister__Private(void)" > > > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::NiftiImageIOFactoryRegister__Private(void)" > > > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::NiftiImageIOFactoryRegister__Private(void)" > > > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::NiftiImageIOFactoryRegister__Private(void)" > > > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > > > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer > >> for > > > >> 'ImageIOFactoryRegisterRegisterList''(void)" > > > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > > > >> > > > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >> symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::NiftiImageIOFactoryRegister__Private(void)" > > > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::NiftiImageIOFactoryRegister__Private(void)" > > > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > > > >> "__declspec(dllimport) void __cdecl > > > >> itk::NiftiImageIOFactoryRegister__Private(void)" > > > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > > > >> > > > >> > >> 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\ > Debug\ContourWarping32.dll > > > >> : fatal error LNK1120: 17 unresolved externals > > > >> > > > >> > > > >> > > > >> _____________________________________ > > > >> Powered by www.kitware.com > > > >> > > > >> Visit other Kitware open-source projects at > > > >> http://www.kitware.com/opensource/opensource.html > > > >> > > > >> Kitware offers ITK Training Courses, for more information visit: > > > >> http://www.kitware.com/products/protraining.php > > > >> > > > >> Please keep messages on-topic and check the ITK FAQ at: > > > >> http://www.itk.org/Wiki/ITK_FAQ > > > >> > > > >> Follow this link to subscribe/unsubscribe: > > > >> http://public.kitware.com/mailman/listinfo/insight-users > > > >> > > > >> > > > >> > > > >> > > > >> _____________________________________ > > > >> Powered by www.kitware.com > > > >> > > > >> Visit other Kitware open-source projects at > > > >> http://www.kitware.com/opensource/opensource.html > > > >> > > > >> Kitware offers ITK Training Courses, for more information visit: > > > >> http://www.kitware.com/products/protraining.php > > > >> > > > >> Please keep messages on-topic and check the ITK FAQ at: > > > >> http://www.itk.org/Wiki/ITK_FAQ > > > >> > > > >> Follow this link to subscribe/unsubscribe: > > > >> http://public.kitware.com/mailman/listinfo/insight-users > > > >> > > > >> > > > >> > > > >> > > > >> _____________________________________ > > > >> Powered by www.kitware.com > > > >> > > > >> Visit other Kitware open-source projects at > > > >> http://www.kitware.com/opensource/opensource.html > > > >> > > > >> Kitware offers ITK Training Courses, for more information visit: > > > >> http://www.kitware.com/products/protraining.php > > > >> > > > >> Please keep messages on-topic and check the ITK FAQ at: > > > >> http://www.itk.org/Wiki/ITK_FAQ > > > >> > > > >> Follow this link to subscribe/unsubscribe: > > > >> http://public.kitware.com/mailman/listinfo/insight-users > > > >> > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jinzhong76 at gmail.com Mon Sep 26 22:28:38 2016 From: jinzhong76 at gmail.com (Yang, Jinzhong) Date: Mon, 26 Sep 2016 21:28:38 -0500 Subject: [ITK-users] ITK build_shared_libs In-Reply-To: References: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> <000901d21824$6789f770$369de650$@gmail.com> <001b01d2182f$9943e9a0$cbcbbce0$@gmail.com> <003c01d21846$e91e4c60$bb5ae520$@gmail.com> Message-ID: <004701d21866$dbe3b5b0$93ab2110$@gmail.com> Hi Francois, It was added already. > TARGET_LINK_LIBRARIES( > > ContourWarping > > ${ITK_LIBRARIES} > > ${VTK_LIBRARIES} > > #vtkIO vtkFiltering vtkGraphics > > #debug vld.lib # for memory leak detection > > ) -Jinzhong From: Francois Budin [mailto:francois.budin at kitware.com] Sent: Monday, September 26, 2016 6:55 PM To: Yang, Jinzhong Cc: Matt McCormick ; Insight-users Subject: Re: [ITK-users] ITK build_shared_libs Hello Jinzhong, Could you try to add ${ITK_LIBRARIES} to your call of "TARGET_LINK_LIBRARIES"? Francois On Mon, Sep 26, 2016 at 6:39 PM, Yang, Jinzhong > wrote: Hi Matt, When I built ITK, I turned on ITKV3_COMPATIBILITY. Could this cause the problem? Thanks, -Jinzhong -----Original Message----- From: Matt McCormick [mailto:matt.mccormick at kitware.com ] Sent: Monday, September 26, 2016 2:57 PM To: Yang, Jinzhong > Cc: Insight-users > Subject: Re: [ITK-users] ITK build_shared_libs Hi Jinzhong, Does replacing link_libraries calls with target_link_libraries address the issue (this should be done regardless)? HTH, Matt On Mon, Sep 26, 2016 at 3:53 PM, Yang, Jinzhong > wrote: > Hi Matt, > > > > I use CMake, but the CMakeLists.txt was written for old ITK (3.16). I > recently upgraded to ITK 4.10 in order for a project depending on this > library and GDCM library ( I had trouble to compile that project with ITK > 3.16). I don't want to manually register the factories. I might need to > revise my CMakeLists.txt. Below is my CMakeLists.txt. Please let me know if > there is anything wrong here. To help you understand my problem, I summarize > my problem below - > > - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project compiled with > "BUILD_SHARED_LIBS", WORK > > - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project NOT compiled with > "BUILD_SHARED_LIBS", WORK > > - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project NOT compiled > with "BUILD_SHARED_LIBS", WORK > > - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project compiled with > "BUILD_SHARED_LIBS", NOT WORKING > > > > I prefer to compiling ITK without using shared libs because I don?t want to > distribute a lot of files to other computers with my program. > > Thank you, > > Jinzhong > > > > //////////////////CMakeLists.txt //////////////////////////// > > CMAKE_MINIMUM_REQUIRED(VERSION 2.6) > > > > PROJECT(ContourWarping) > > > > FIND_PACKAGE(ITK) > > IF(ITK_FOUND) > > INCLUDE(${ITK_USE_FILE}) > > ELSE(ITK_FOUND) > > MESSAGE(FATAL_ERROR > > "ITK not found. Please set ITK_DIR.") > > ENDIF(ITK_FOUND) > > > > FIND_PACKAGE(VTK) > > IF (VTK_FOUND) > > INCLUDE (${VTK_USE_FILE}) > > ELSE (VTK_FOUND) > > MESSAGE(FATAL_ERROR > > "VTK not found. Please set VTK_DIR.") > > ENDIF(VTK_FOUND) > > > > OPTION(BUILD_SHARED_LIBS "Build ContourWarping with shared libraries." OFF) > > > > OPTION(BUILD_LIB_TEST "Build ContourWarping with testing option enabled." > OFF) > > IF (BUILD_LIB_TEST) > > ADD_DEFINITIONS(-D_LIB_TEST) > > ENDIF(BUILD_LIB_TEST) > > > > LINK_LIBRARIES( > > ${ITK_LIBRARIES} > > ${VTK_LIBRARIES} > > #vtkIO vtkCommon vtkFiltering vtkGraphics > > ) > > > > SET(BOOST_DIR "D:/boost_1_41_0" CACHE PATH "D:/boost_1_41_0") > > > > IF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage64/lib" CACHE PATH > "D:/boost_1_41_0/stage64/lib") > > ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) > > SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage/lib" CACHE PATH > "D:/boost_1_41_0/stage/lib") > > ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > > > INCLUDE_DIRECTORIES( "C:/Program Files/Visual Leak Detector/include" # for > memory leak detection, "vld.h" > > ${BOOST_DIR} #boost > > ${PROJECT_SOURCE_DIR} > > "${PROJECT_SOURCE_DIR}/itkLabelMap" > > > "${PROJECT_SOURCE_DIR}/boost" > > ) > > LINK_DIRECTORIES( ${PROJECT_BINARY_DIR}/${CMAKE_ARCHIVE_OUTPUT_DIRECTORY} > > "C:/Program Files/Visual Leak Detector/lib" # for memory > leak detection, "vld.lib" > > ${BOOST_LIB_DIR} #boost > > ) > > #LINK_DIRECTORIES( ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}) > > > > SET(SRCS > > stdafx.h > > stdafx.cpp > > ContourWarpingWrapUp.cpp > > PinnacleROIStructInterface.cpp > > BinaryImageRoiPolyInterface.cpp > > contourwarpingparallel.cpp > > ParallelDispatcher.h > > ParallelDispatcher.cpp > > Win32Header.h > > PinnacleROIConvert.cpp > > PinnacleROIConvert.h > > PinnacleROIMesh.cpp > > PinnacleROIMesh.h > > PinnaclePOIConvert.cpp > > PinnaclePOIConvert.h > > PinnacleImage.cpp > > PinnacleImage.txx > > PinnacleImage.h > > Auxiliary.h > > MeshConvertor.cpp > > MeshConvertor.h > > vtkPolyContours.cpp > > vtkPolyContours.h > > vtkVoxelContoursToSurfaceFilterEx.cpp > > vtkVoxelContoursToSurfaceFilterEx.h > > vtkWindowedSincPolyDataFilterEx.cpp > > vtkWindowedSincPolyDataFilterEx.h > > vtkSurfaceToSliceContours.cpp > > vtkSurfaceToSliceContours.h > > vtkSurfaceCutter.cpp > > vtkSurfaceCutter.h > > vtkSurfaceMeshProcess.cpp > > vtkSurfaceMeshProcess.h > > vtkSurfaceDeformation.cpp > > vtkSurfaceDeformation.h > > vtkSurfaceDeformationUsingCatField.cpp > > vtkSurfaceDeformationUsingCatField.h > > vtkSurfaceTransformation.cpp > > vtkSurfaceTransformation.h > > vtkContourProcess.cpp > > vtkContourProcess.h > > vtkSurfaceClipper.cpp > > vtkSurfaceClipper.h > > vtkPolyContoursClipper.cpp > > vtkPolyContoursClipper.h > > vtkUndirectedGraphCPP.cpp > > vtkUndirectedGraphCPP.h > > itkPolygonFill2DBinaryImageFilter.h > > itkPolygonFill2DBinaryImageFilter.txx > > catDeformationField.cpp > > catDeformationField.h > > boundaries.txx > > boundaries.h > > PinnacleROI2ImagesParallel.cpp > > PinnacleROI2ImagesParallel.h > > ) > > > > IF (WIN32) > > SET(SRCS ${SRCS} resource.h ContourWarping.rc) > > ENDIF(WIN32) > > > > > > ADD_LIBRARY(ContourWarping ${SRCS}) > > > > SET(OUTPUTNAME ContourWarping) > > > > IF (BUILD_SHARED_LIBS) > > IF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > SET_TARGET_PROPERTIES(ContourWarping > > > PROPERTIES OUTPUT_NAME ContourWarping64 > > ) > > SET(OUTPUTNAME ContourWarping64) > > ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) > > SET_TARGET_PROPERTIES(ContourWarping > > > PROPERTIES OUTPUT_NAME ContourWarping32 > > ) > > SET(OUTPUTNAME ContourWarping32) > > ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) > > ENDIF (BUILD_SHARED_LIBS) > > > > > > #SET(CMAKE_BUILD_TYPE Release) > > #INCLUDE(PCHSupport.cmake) > > #ADD_PRECOMPILED_HEADER(ContourWarping stdafx.h) > > > > TARGET_LINK_LIBRARIES( > > ContourWarping > > ${ITK_LIBRARIES} > > ${VTK_LIBRARIES} > > #vtkIO vtkFiltering vtkGraphics > > #debug vld.lib # for memory leak detection > > ) > > > > #SET(TARGET_LIB_VERSION "1.0" CACHE STRING "1.0") > > SET_TARGET_PROPERTIES(ContourWarping > > PROPERTIES VERSION 1.8.8 > > ) > > > > IF (BUILD_SHARED_LIBS) > > SET_TARGET_PROPERTIES(ContourWarping > > PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" > > ) > > # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK > > ENDIF(BUILD_SHARED_LIBS) > > > > IF (WIN32) #enable PCH support & add resource file > > SET_TARGET_PROPERTIES(ContourWarping > > PROPERTIES COMPILE_FLAGS /Yu"stdafx.h" > > ) > > SET_SOURCE_FILES_PROPERTIES(stdafx.cpp > > PROPERTIES COMPILE_FLAGS /Yc"stdafx.h" > > ) > > ENDIF(WIN32) > > > > > > IF (BUILD_LIB_TEST) > > TARGET_LINK_LIBRARIES( > > ContourWarping > > vtkRendering vtkWidgets > > ) > > ENDIF(BUILD_LIB_TEST) > > > > ###### > > ADD_EXECUTABLE( ContourWarpingTest > > testdll.cpp > > ) > > > > TARGET_LINK_LIBRARIES( > > ContourWarpingTest > > ${OUTPUTNAME}.lib > > ) > > > > ADD_DEPENDENCIES( > > ContourWarpingTest > > ContourWarping > > ) > > > > ###### > > ADD_EXECUTABLE( PinnacleROI2BinaryImage > > PinnacleROI2BinaryImage.cpp > > ) > > > > TARGET_LINK_LIBRARIES( > > PinnacleROI2BinaryImage > > ${OUTPUTNAME}.lib > > ) > > > > ADD_DEPENDENCIES( > > PinnacleROI2BinaryImage > > ContourWarping > > ) > > > > ###### > > ADD_EXECUTABLE( PinnacleROIFromBitmap > > PinnacleROIFromBitmap.cpp > > ) > > > > TARGET_LINK_LIBRARIES( > > PinnacleROIFromBitmap > > ${OUTPUTNAME}.lib > > ) > > > > ADD_DEPENDENCIES( > > PinnacleROIFromBitmap > > ContourWarping > > ) > > > > ###### > > ADD_EXECUTABLE( MeshTest > > MeshTest.cpp > > ) > > > > TARGET_LINK_LIBRARIES( > > MeshTest > > ${OUTPUTNAME}.lib > > ) > > > > ADD_DEPENDENCIES( > > MeshTest > > ContourWarping > > ) > > > > > > -----Original Message----- > From: Matt McCormick [mailto:matt.mccormick at kitware.com ] > Sent: Monday, September 26, 2016 1:50 PM > To: Yang, Jinzhong > > Cc: Francois Budin >; D?enan Zuki? > >; Insight-users > > Subject: Re: [ITK-users] ITK build_shared_libs > > > > Hi Jinzhong, > > > > It sounds like you are not using CMake to build the project or using > > it in some non-standard way? There are a few options: > > > > 1) Use CMake to compile the project. > > 2) Set ITK_NO_IO_FACTORY_REGISTER_MANAGER before calling > > "include(${ITK_USE_FILE})", the register the factories manually. > > > > HTH, > > Matt > > > > On Mon, Sep 26, 2016 at 2:32 PM, Yang, Jinzhong > > wrote: > >> Still no clue. I checked the file itkImageIOFactoryRegisterManager.h. It > >> seems all classes imported in that header were not linked. However, I >> check > >> all IO libraries, it seems they were all included as dependency. As I > >> mentioned before, if I compiled my code as static library, there is not >> such > >> a problem. > >> > >> > >> > >> Here are all ITK/VTK related libraries passed to my compiler (they are > >> generated by cmake. I enabled ITK_USE_SYSTEM_GDCM in building my ITK): > >> > >> >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkdouble-conversion-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itksys-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl_algo-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkv3p_netlib-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itknetlib-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvcl-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkNetlibSlatec-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKStatistics-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKTransform-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOImageBase-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBMP-4.10.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDICT.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmMSFF.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGDCM-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkzlib-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGIPL-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkjpeg-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOJPEG-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMetaIO-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMeta-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKznz-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKniftiio-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONIFTI-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKNrrdIO-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONRRD-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkpng-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOPNG-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itktiff-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTIFF-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOVTK-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKLabelMap-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMesh-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKSpatialObjects-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPath-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKQuadEdgeMesh-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizers-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPolynomials-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBiasCorrection-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBioCell-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDICOMParser-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDeprecated-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBioRad-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOLSM-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOStimulate-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKEXPAT-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOXML-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSpatialObjects-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKFEM-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKgiftiio-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMesh-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5_cpp-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOCSV-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOIPL-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSiemens-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOHDF5-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMRC-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformBase-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformHDF5-4.10.lib > >> > >> >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformInsightLegacy-4.10.lib > >> > >> >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformMatlab-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKKLMRegionGrowing-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVTK-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKWatersheds-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizersv4-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoCore-4.10.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoIO-4.10.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkChartsCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonColor-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonDataModel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMath-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksys-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMisc-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonSystem-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonTransforms-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersExtraction-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonExecutionModel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneral-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonComputationalGeometry-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersStatistics-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingFourier-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkalglib-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContext2D-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeometry-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSources-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingFreeType-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkfreetype-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkzlib-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDICOMParser-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistry-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXML-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOGeometry-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXMLParser-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexpat-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistryOpenGL2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingOpenGL2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingHybrid-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImage-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkmetaio-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjpeg-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkpng-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtktiff-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkglew-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersAMR-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkParallelCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLegacy-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersFlowPaths-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneric-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHybrid-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingSources-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHyperTree-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersImaging-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingGeneral-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersModeling-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallelImaging-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersProgrammable-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSMP-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSelection-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersTexture-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersVerdict-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkverdict-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkGeovisCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisLayout-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionStyle-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionWidgets-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingAnnotation-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingColor-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolume-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsCore-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkproj4-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOAMR-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5_hl-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOEnSight-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExodus-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexoIIc-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF_cxx-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExport-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLabel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImport-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOInfovis-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtklibxml2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLSDyna-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMINC-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMovie-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkoggtheora-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIONetCDF-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOPLY-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallel-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjsoncpp-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallelXML-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOSQL-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksqlite-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOVideo-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMath-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMorphological-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStatistics-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStencil-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionImage-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContextOpenGL2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingImage-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLOD-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolumeOpenGL2-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingGenericBridge-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingIOSQL-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingRendering-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsContext2D-7.0.lib > >> > >> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsInfovis-7.0.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmIOD.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDSED.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmzlib.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmCommon.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmexpat.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg8.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg12.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg16.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmopenjpeg.lib > >> > >> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmcharls.lib > >> > >> rpcrt4.lib > >> > >> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVNLInstantiation-4.10.lib > >> > >> > >> > >> Thanks, > >> > >> -Jinzhong > >> > >> > >> > >> From: Francois Budin [mailto:francois.budin at kitware.com ] > >> Sent: Monday, September 26, 2016 8:04 AM > >> To: D?enan Zuki? > > >> Cc: Yang, Jinzhong >; Insight-users > >> > > >> Subject: Re: [ITK-users] ITK build_shared_libs > >> > >> > >> > >> Hello, > >> > >> As Dzenan said, your problem most likely comes from a problem with the ITK > >> IO factory. You may want to check that in your build directory, you have a > >> directory called "ITKIOFactoryRegistration" that is created, and that it > >> contains a file called itkImageIOFactoryRegisterManager.h. This file > >> specifies all the type of images that are automatically registered to the > >> factory. You should compare the list of types included in this header file > >> with the list of ITK libraries that is passed to your compiler and make >> sure > >> that it matches. > >> > >> Hope this helps, > >> > >> Francois > >> > >> > >> > >> On Sun, Sep 25, 2016 at 10:36 AM, D?enan Zuki? > wrote: > >> > >> Hi Yang, > >> > >> > >> > >> all your link errors are for I/O class factories. Can you read the >> following > >> and see whether it helps you solve the problem? > >> > >> https://itk.org/Wiki/Plugin_IO_mechanisms > >> > >> >> https://itk.org/ITKExamples/src/IO/ImageBase/RegisterIOFactories/Documentation.html > >> > >> > >> > >> Regards, > >> > >> D?enan > >> > >> > >> > >> On Fri, Sep 23, 2016 at 6:36 PM, Yang, Jinzhong > > >> wrote: > >> > >> Hi all, > >> > >> > >> > >> I have a very weird problem when I try to build my library. I have an old > >> library, previously was built based on ITK 3.16 and VTK 5.8. I built my > >> library to both DLL and static library. By configuring in cmake properly, >> I > >> could build both types of libraries without any problem. Recently, I >> upgrade > >> it to ITK 4.10 and VTK 7.0. If I turned on BUILD_SHARED_LIBS in ITK, both > >> DLL and static lib for my library can be compiled and linked, however, I > >> need to include all DLL files from ITK when I would like to distribute my > >> library. I don?t want to do so. Then I turned off BUILD_SHARED_LIBS in >> ITK. > >> The static lib of my library can be built, but the DLL couldn?t. Error > >> happened during the link stage. The error message was attached below. I >> used > >> CMake 3.6.2 + VS 2008 + Windows 7. > >> > >> > >> > >> 2> Creating library > >> >> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.lib > >> and object > >> >> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.exp > >> > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function > >> >> __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0 > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE5ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GE4ImageIOFactoryRegister__Private(void)" > >> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl std::_Debug_order >> std::_Tset_traits,class > >> std::allocator,0> >::iterator>(class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,wchar_t const *,unsigned >> int)" > >> >> (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MRCImageIOFactoryRegister__Private(void)" > >> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::MetaImageIOFactoryRegister__Private(void)" > >> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "public: __thiscall std::vector >> itk::BinaryImageToLabelMapFilter,class > >> itk::LabelMap > >::runLength,class > >> std::allocator >> itk::Image,class itk::LabelMap >> itk::LabelObject > >::runLength> >,class std::allocator >> std::vector> itk::Image >> char,2>,class itk::LabelMap > > >>>::runLength,class std::allocator >> itk::BinaryImageToLabelMapFilter,class > >> itk::LabelMap > >::runLength> > > > >>>::~vector >> itk::Image,class itk::LabelMap >> itk::LabelObject > >::runLength,class std::allocator >> itk::BinaryImageToLabelMapFilter,class > >> itk::LabelMap > >::runLength> >,class > >> std::allocator >> itk::BinaryImageToLabelMapFilter,class > >> itk::LabelMap > >::runLength,class > >> std::allocator >> itk::Image,class itk::LabelMap >> itk::LabelObject > >::runLength> > > >(void)" > >> >> (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BioRadImageIOFactoryRegister__Private(void)" > >> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "protected: __thiscall std::_Vector_val >> itk::ObjectStore > > >>>::MemoryBlock,class std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock> > >>>::_Vector_val >> itk::SparseFieldLevelSetNode > >::MemoryBlock,class > >> std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock> >(class > >> std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock>)" > >> >> (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@1@@Z) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::StimulateImageIOFactoryRegister__Private(void)" > >> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::VTKImageIOFactoryRegister__Private(void)" > >> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function > >> >> __ehhandler$??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::TIFFImageIOFactoryRegister__Private(void)" > >> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl std::_Debug_order2 >> std::_Tset_traits,class > >> std::allocator,0> >::iterator>(class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,wchar_t const *,unsigned > >> int,struct std::forward_iterator_tag)" > >> >> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::PNGImageIOFactoryRegister__Private(void)" > >> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl std::_Debug_order2 >> std::_Tset_traits,class > >> std::allocator,0> >::iterator>(class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,wchar_t const *,unsigned > >> int,struct std::forward_iterator_tag)" > >> >> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::LSMImageIOFactoryRegister__Private(void)" > >> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "protected: void __thiscall std::vector >> itk::ObjectStore > > >>>::MemoryBlock,class std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock> > >>>::_Tidy(void)" > >> >> (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAEXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::BMPImageIOFactoryRegister__Private(void)" > >> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GDCMImageIOFactoryRegister__Private(void)" > >> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::JPEGImageIOFactoryRegister__Private(void)" > >> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "public: __thiscall std::vector >> std::allocator >::~vector >> std::allocator >(void)" > >> (??1?$vector at KV?$allocator at K@std@@@std@@QAE at XZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl std::_Debug_order2 >> std::_Tset_traits,class > >> std::allocator,0> >::iterator>(class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,class std::_Tree >> std::_Tset_traits,class > >> std::allocator,0> >::iterator,wchar_t const *,unsigned > >> int,struct std::forward_iterator_tag)" > >> >> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::GiplImageIOFactoryRegister__Private(void)" > >> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "protected: bool __thiscall std::vector >> itk::ObjectStore > > >>>::MemoryBlock,class std::allocator >> itk::SparseFieldLevelSetNode > >::MemoryBlock> > >>>::_Buy(unsigned int)" > >> >> (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE_NI at Z) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NrrdImageIOFactoryRegister__Private(void)" > >> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >> for > >> 'ImageIOFactoryRegisterRegisterList''(void)" > >> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >> symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> "__declspec(dllimport) void __cdecl > >> itk::NiftiImageIOFactoryRegister__Private(void)" > >> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >> >> 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.dll > >> : fatal error LNK1120: 17 unresolved externals > >> > >> > >> > >> _____________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Kitware offers ITK Training Courses, for more information visit: > >> http://www.kitware.com/products/protraining.php > >> > >> Please keep messages on-topic and check the ITK FAQ at: > >> http://www.itk.org/Wiki/ITK_FAQ > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/insight-users > >> > >> > >> > >> > >> _____________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Kitware offers ITK Training Courses, for more information visit: > >> http://www.kitware.com/products/protraining.php > >> > >> Please keep messages on-topic and check the ITK FAQ at: > >> http://www.itk.org/Wiki/ITK_FAQ > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/insight-users > >> > >> > >> > >> > >> _____________________________________ > >> Powered by www.kitware.com > >> > >> Visit other Kitware open-source projects at > >> http://www.kitware.com/opensource/opensource.html > >> > >> Kitware offers ITK Training Courses, for more information visit: > >> http://www.kitware.com/products/protraining.php > >> > >> Please keep messages on-topic and check the ITK FAQ at: > >> http://www.itk.org/Wiki/ITK_FAQ > >> > >> Follow this link to subscribe/unsubscribe: > >> http://public.kitware.com/mailman/listinfo/insight-users > >> _____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.mccormick at kitware.com Tue Sep 27 00:30:13 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Tue, 27 Sep 2016 00:30:13 -0400 Subject: [ITK-users] ITK build_shared_libs In-Reply-To: <004701d21866$dbe3b5b0$93ab2110$@gmail.com> References: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> <000901d21824$6789f770$369de650$@gmail.com> <001b01d2182f$9943e9a0$cbcbbce0$@gmail.com> <003c01d21846$e91e4c60$bb5ae520$@gmail.com> <004701d21866$dbe3b5b0$93ab2110$@gmail.com> Message-ID: Hi Jinzhong, Does removing this block: IF (BUILD_SHARED_LIBS) SET_TARGET_PROPERTIES(ContourWarping PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" ) # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK ENDIF(BUILD_SHARED_LIBS) Address the issue? Thanks, Matt On Mon, Sep 26, 2016 at 10:28 PM, Yang, Jinzhong wrote: > Hi Francois, > > > > It was added already. > > > >> TARGET_LINK_LIBRARIES( >> >> ContourWarping >> >> ${ITK_LIBRARIES} >> >> ${VTK_LIBRARIES} >> >> #vtkIO vtkFiltering vtkGraphics >> >> #debug vld.lib # for memory leak detection >> >> ) > > -Jinzhong > > > > From: Francois Budin [mailto:francois.budin at kitware.com] > Sent: Monday, September 26, 2016 6:55 PM > To: Yang, Jinzhong > Cc: Matt McCormick ; Insight-users > > > > Subject: Re: [ITK-users] ITK build_shared_libs > > > > Hello Jinzhong, > > Could you try to add ${ITK_LIBRARIES} to your call of > "TARGET_LINK_LIBRARIES"? > > Francois > > > > On Mon, Sep 26, 2016 at 6:39 PM, Yang, Jinzhong > wrote: > > Hi Matt, > > When I built ITK, I turned on ITKV3_COMPATIBILITY. Could this cause the > problem? > Thanks, > -Jinzhong > > > -----Original Message----- > From: Matt McCormick [mailto:matt.mccormick at kitware.com] > Sent: Monday, September 26, 2016 2:57 PM > To: Yang, Jinzhong > > Cc: Insight-users > Subject: Re: [ITK-users] ITK build_shared_libs > > Hi Jinzhong, > > Does replacing link_libraries calls with target_link_libraries address > the issue (this should be done regardless)? > > HTH, > Matt > > On Mon, Sep 26, 2016 at 3:53 PM, Yang, Jinzhong > wrote: >> Hi Matt, >> >> >> >> I use CMake, but the CMakeLists.txt was written for old ITK (3.16). I >> recently upgraded to ITK 4.10 in order for a project depending on this >> library and GDCM library ( I had trouble to compile that project with ITK >> 3.16). I don't want to manually register the factories. I might need to >> revise my CMakeLists.txt. Below is my CMakeLists.txt. Please let me know >> if >> there is anything wrong here. To help you understand my problem, I >> summarize >> my problem below - >> >> - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project compiled with >> "BUILD_SHARED_LIBS", WORK >> >> - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project NOT compiled with >> "BUILD_SHARED_LIBS", WORK >> >> - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project NOT compiled >> with "BUILD_SHARED_LIBS", WORK >> >> - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project compiled with >> "BUILD_SHARED_LIBS", NOT WORKING >> >> >> >> I prefer to compiling ITK without using shared libs because I don?t want >> to >> distribute a lot of files to other computers with my program. >> >> Thank you, >> >> Jinzhong >> >> >> >> //////////////////CMakeLists.txt //////////////////////////// >> >> CMAKE_MINIMUM_REQUIRED(VERSION 2.6) >> >> >> >> PROJECT(ContourWarping) >> >> >> >> FIND_PACKAGE(ITK) >> >> IF(ITK_FOUND) >> >> INCLUDE(${ITK_USE_FILE}) >> >> ELSE(ITK_FOUND) >> >> MESSAGE(FATAL_ERROR >> >> "ITK not found. Please set ITK_DIR.") >> >> ENDIF(ITK_FOUND) >> >> >> >> FIND_PACKAGE(VTK) >> >> IF (VTK_FOUND) >> >> INCLUDE (${VTK_USE_FILE}) >> >> ELSE (VTK_FOUND) >> >> MESSAGE(FATAL_ERROR >> >> "VTK not found. Please set VTK_DIR.") >> >> ENDIF(VTK_FOUND) >> >> >> >> OPTION(BUILD_SHARED_LIBS "Build ContourWarping with shared libraries." >> OFF) >> >> >> >> OPTION(BUILD_LIB_TEST "Build ContourWarping with testing option enabled." >> OFF) >> >> IF (BUILD_LIB_TEST) >> >> ADD_DEFINITIONS(-D_LIB_TEST) >> >> ENDIF(BUILD_LIB_TEST) >> >> >> >> LINK_LIBRARIES( >> >> ${ITK_LIBRARIES} >> >> ${VTK_LIBRARIES} >> >> #vtkIO vtkCommon vtkFiltering vtkGraphics >> >> ) >> >> >> >> SET(BOOST_DIR "D:/boost_1_41_0" CACHE PATH "D:/boost_1_41_0") >> >> >> >> IF (CMAKE_SIZEOF_VOID_P EQUAL 8) >> >> SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage64/lib" CACHE PATH >> "D:/boost_1_41_0/stage64/lib") >> >> ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) >> >> SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage/lib" CACHE PATH >> "D:/boost_1_41_0/stage/lib") >> >> ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) >> >> >> >> INCLUDE_DIRECTORIES( "C:/Program Files/Visual Leak Detector/include" # for >> memory leak detection, "vld.h" >> >> ${BOOST_DIR} #boost >> >> ${PROJECT_SOURCE_DIR} >> >> "${PROJECT_SOURCE_DIR}/itkLabelMap" >> >> >> "${PROJECT_SOURCE_DIR}/boost" >> >> ) >> >> LINK_DIRECTORIES( ${PROJECT_BINARY_DIR}/${CMAKE_ARCHIVE_OUTPUT_DIRECTORY} >> >> "C:/Program Files/Visual Leak Detector/lib" # for memory >> leak detection, "vld.lib" >> >> ${BOOST_LIB_DIR} #boost >> >> ) >> >> #LINK_DIRECTORIES( ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}) >> >> >> >> SET(SRCS >> >> stdafx.h >> >> stdafx.cpp >> >> ContourWarpingWrapUp.cpp >> >> PinnacleROIStructInterface.cpp >> >> BinaryImageRoiPolyInterface.cpp >> >> contourwarpingparallel.cpp >> >> ParallelDispatcher.h >> >> ParallelDispatcher.cpp >> >> Win32Header.h >> >> PinnacleROIConvert.cpp >> >> PinnacleROIConvert.h >> >> PinnacleROIMesh.cpp >> >> PinnacleROIMesh.h >> >> PinnaclePOIConvert.cpp >> >> PinnaclePOIConvert.h >> >> PinnacleImage.cpp >> >> PinnacleImage.txx >> >> PinnacleImage.h >> >> Auxiliary.h >> >> MeshConvertor.cpp >> >> MeshConvertor.h >> >> vtkPolyContours.cpp >> >> vtkPolyContours.h >> >> vtkVoxelContoursToSurfaceFilterEx.cpp >> >> vtkVoxelContoursToSurfaceFilterEx.h >> >> vtkWindowedSincPolyDataFilterEx.cpp >> >> vtkWindowedSincPolyDataFilterEx.h >> >> vtkSurfaceToSliceContours.cpp >> >> vtkSurfaceToSliceContours.h >> >> vtkSurfaceCutter.cpp >> >> vtkSurfaceCutter.h >> >> vtkSurfaceMeshProcess.cpp >> >> vtkSurfaceMeshProcess.h >> >> vtkSurfaceDeformation.cpp >> >> vtkSurfaceDeformation.h >> >> vtkSurfaceDeformationUsingCatField.cpp >> >> vtkSurfaceDeformationUsingCatField.h >> >> vtkSurfaceTransformation.cpp >> >> vtkSurfaceTransformation.h >> >> vtkContourProcess.cpp >> >> vtkContourProcess.h >> >> vtkSurfaceClipper.cpp >> >> vtkSurfaceClipper.h >> >> vtkPolyContoursClipper.cpp >> >> vtkPolyContoursClipper.h >> >> vtkUndirectedGraphCPP.cpp >> >> vtkUndirectedGraphCPP.h >> >> itkPolygonFill2DBinaryImageFilter.h >> >> itkPolygonFill2DBinaryImageFilter.txx >> >> catDeformationField.cpp >> >> catDeformationField.h >> >> boundaries.txx >> >> boundaries.h >> >> PinnacleROI2ImagesParallel.cpp >> >> PinnacleROI2ImagesParallel.h >> >> ) >> >> >> >> IF (WIN32) >> >> SET(SRCS ${SRCS} resource.h ContourWarping.rc) >> >> ENDIF(WIN32) >> >> >> >> >> >> ADD_LIBRARY(ContourWarping ${SRCS}) >> >> >> >> SET(OUTPUTNAME ContourWarping) >> >> >> >> IF (BUILD_SHARED_LIBS) >> >> IF (CMAKE_SIZEOF_VOID_P EQUAL 8) >> >> SET_TARGET_PROPERTIES(ContourWarping >> >> >> PROPERTIES OUTPUT_NAME ContourWarping64 >> >> ) >> >> SET(OUTPUTNAME ContourWarping64) >> >> ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) >> >> SET_TARGET_PROPERTIES(ContourWarping >> >> >> PROPERTIES OUTPUT_NAME ContourWarping32 >> >> ) >> >> SET(OUTPUTNAME ContourWarping32) >> >> ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) >> >> ENDIF (BUILD_SHARED_LIBS) >> >> >> >> >> >> #SET(CMAKE_BUILD_TYPE Release) >> >> #INCLUDE(PCHSupport.cmake) >> >> #ADD_PRECOMPILED_HEADER(ContourWarping stdafx.h) >> >> >> >> TARGET_LINK_LIBRARIES( >> >> ContourWarping >> >> ${ITK_LIBRARIES} >> >> ${VTK_LIBRARIES} >> >> #vtkIO vtkFiltering vtkGraphics >> >> #debug vld.lib # for memory leak detection >> >> ) >> >> >> >> #SET(TARGET_LIB_VERSION "1.0" CACHE STRING "1.0") >> >> SET_TARGET_PROPERTIES(ContourWarping >> >> PROPERTIES VERSION 1.8.8 >> >> ) >> >> >> >> IF (BUILD_SHARED_LIBS) >> >> SET_TARGET_PROPERTIES(ContourWarping >> >> PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" >> >> ) >> >> # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK >> >> ENDIF(BUILD_SHARED_LIBS) >> >> >> >> IF (WIN32) #enable PCH support & add resource file >> >> SET_TARGET_PROPERTIES(ContourWarping >> >> PROPERTIES COMPILE_FLAGS /Yu"stdafx.h" >> >> ) >> >> SET_SOURCE_FILES_PROPERTIES(stdafx.cpp >> >> PROPERTIES COMPILE_FLAGS /Yc"stdafx.h" >> >> ) >> >> ENDIF(WIN32) >> >> >> >> >> >> IF (BUILD_LIB_TEST) >> >> TARGET_LINK_LIBRARIES( >> >> ContourWarping >> >> vtkRendering vtkWidgets >> >> ) >> >> ENDIF(BUILD_LIB_TEST) >> >> >> >> ###### >> >> ADD_EXECUTABLE( ContourWarpingTest >> >> testdll.cpp >> >> ) >> >> >> >> TARGET_LINK_LIBRARIES( >> >> ContourWarpingTest >> >> ${OUTPUTNAME}.lib >> >> ) >> >> >> >> ADD_DEPENDENCIES( >> >> ContourWarpingTest >> >> ContourWarping >> >> ) >> >> >> >> ###### >> >> ADD_EXECUTABLE( PinnacleROI2BinaryImage >> >> PinnacleROI2BinaryImage.cpp >> >> ) >> >> >> >> TARGET_LINK_LIBRARIES( >> >> PinnacleROI2BinaryImage >> >> ${OUTPUTNAME}.lib >> >> ) >> >> >> >> ADD_DEPENDENCIES( >> >> PinnacleROI2BinaryImage >> >> ContourWarping >> >> ) >> >> >> >> ###### >> >> ADD_EXECUTABLE( PinnacleROIFromBitmap >> >> PinnacleROIFromBitmap.cpp >> >> ) >> >> >> >> TARGET_LINK_LIBRARIES( >> >> PinnacleROIFromBitmap >> >> ${OUTPUTNAME}.lib >> >> ) >> >> >> >> ADD_DEPENDENCIES( >> >> PinnacleROIFromBitmap >> >> ContourWarping >> >> ) >> >> >> >> ###### >> >> ADD_EXECUTABLE( MeshTest >> >> MeshTest.cpp >> >> ) >> >> >> >> TARGET_LINK_LIBRARIES( >> >> MeshTest >> >> ${OUTPUTNAME}.lib >> >> ) >> >> >> >> ADD_DEPENDENCIES( >> >> MeshTest >> >> ContourWarping >> >> ) >> >> >> >> >> >> -----Original Message----- >> From: Matt McCormick [mailto:matt.mccormick at kitware.com] >> Sent: Monday, September 26, 2016 1:50 PM >> To: Yang, Jinzhong >> Cc: Francois Budin ; D?enan Zuki? >> ; Insight-users >> Subject: Re: [ITK-users] ITK build_shared_libs >> >> >> >> Hi Jinzhong, >> >> >> >> It sounds like you are not using CMake to build the project or using >> >> it in some non-standard way? There are a few options: >> >> >> >> 1) Use CMake to compile the project. >> >> 2) Set ITK_NO_IO_FACTORY_REGISTER_MANAGER before calling >> >> "include(${ITK_USE_FILE})", the register the factories manually. >> >> >> >> HTH, >> >> Matt >> >> >> >> On Mon, Sep 26, 2016 at 2:32 PM, Yang, Jinzhong >> wrote: >> >>> Still no clue. I checked the file itkImageIOFactoryRegisterManager.h. It >> >>> seems all classes imported in that header were not linked. However, I >>> check >> >>> all IO libraries, it seems they were all included as dependency. As I >> >>> mentioned before, if I compiled my code as static library, there is not >>> such >> >>> a problem. >> >>> >> >>> >> >>> >> >>> Here are all ITK/VTK related libraries passed to my compiler (they are >> >>> generated by cmake. I enabled ITK_USE_SYSTEM_GDCM in building my ITK): >> >>> >> >>> >>> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkdouble-conversion-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itksys-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl_algo-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkv3p_netlib-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itknetlib-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvcl-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkNetlibSlatec-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKStatistics-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKTransform-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOImageBase-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBMP-4.10.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDICT.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmMSFF.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGDCM-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkzlib-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGIPL-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkjpeg-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOJPEG-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMetaIO-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMeta-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKznz-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKniftiio-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONIFTI-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKNrrdIO-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONRRD-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkpng-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOPNG-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itktiff-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTIFF-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOVTK-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKLabelMap-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMesh-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKSpatialObjects-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPath-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKQuadEdgeMesh-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizers-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPolynomials-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBiasCorrection-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBioCell-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDICOMParser-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDeprecated-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBioRad-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOLSM-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOStimulate-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKEXPAT-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOXML-4.10.lib >> >>> >> >>> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSpatialObjects-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKFEM-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKgiftiio-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMesh-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5_cpp-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOCSV-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOIPL-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSiemens-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOHDF5-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMRC-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformBase-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformHDF5-4.10.lib >> >>> >> >>> >>> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformInsightLegacy-4.10.lib >> >>> >> >>> >>> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformMatlab-4.10.lib >> >>> >> >>> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKKLMRegionGrowing-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVTK-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKWatersheds-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizersv4-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoCore-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoIO-4.10.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkChartsCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonColor-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonDataModel-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMath-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksys-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMisc-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonSystem-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonTransforms-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersExtraction-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonExecutionModel-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneral-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonComputationalGeometry-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersStatistics-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingFourier-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkalglib-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContext2D-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeometry-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSources-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingFreeType-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkfreetype-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkzlib-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDICOMParser-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistry-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXML-7.0.lib >> >>> >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOGeometry-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXMLParser-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexpat-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistryOpenGL2-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingOpenGL2-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingHybrid-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImage-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkmetaio-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjpeg-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkpng-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtktiff-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkglew-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersAMR-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkParallelCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLegacy-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersFlowPaths-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneric-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHybrid-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingSources-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHyperTree-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersImaging-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingGeneral-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersModeling-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallel-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallelImaging-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersProgrammable-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSMP-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSelection-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersTexture-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersVerdict-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkverdict-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkGeovisCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisLayout-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionStyle-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionWidgets-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingAnnotation-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingColor-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolume-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkproj4-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOAMR-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5_hl-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOEnSight-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExodus-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexoIIc-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF_cxx-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExport-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLabel-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImport-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOInfovis-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtklibxml2-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLSDyna-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMINC-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMovie-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkoggtheora-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIONetCDF-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOPLY-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallel-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjsoncpp-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallelXML-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOSQL-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksqlite-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOVideo-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMath-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMorphological-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStatistics-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStencil-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionImage-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContextOpenGL2-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingImage-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLOD-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolumeOpenGL2-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingGenericBridge-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingIOSQL-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingRendering-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsContext2D-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsInfovis-7.0.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmIOD.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDSED.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmzlib.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmCommon.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmexpat.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg8.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg12.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg16.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmopenjpeg.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmcharls.lib >> >>> >> >>> rpcrt4.lib >> >>> >> >>> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVNLInstantiation-4.10.lib >> >>> >> >>> >> >>> >> >>> Thanks, >> >>> >> >>> -Jinzhong >> >>> >> >>> >> >>> >> >>> From: Francois Budin [mailto:francois.budin at kitware.com] >> >>> Sent: Monday, September 26, 2016 8:04 AM >> >>> To: D?enan Zuki? >> >>> Cc: Yang, Jinzhong ; Insight-users >> >>> >> >>> Subject: Re: [ITK-users] ITK build_shared_libs >> >>> >> >>> >> >>> >> >>> Hello, >> >>> >> >>> As Dzenan said, your problem most likely comes from a problem with the >>> ITK >> >>> IO factory. You may want to check that in your build directory, you have >>> a >> >>> directory called "ITKIOFactoryRegistration" that is created, and that it >> >>> contains a file called itkImageIOFactoryRegisterManager.h. This file >> >>> specifies all the type of images that are automatically registered to the >> >>> factory. You should compare the list of types included in this header >>> file >> >>> with the list of ITK libraries that is passed to your compiler and make >>> sure >> >>> that it matches. >> >>> >> >>> Hope this helps, >> >>> >> >>> Francois >> >>> >> >>> >> >>> >> >>> On Sun, Sep 25, 2016 at 10:36 AM, D?enan Zuki? wrote: >> >>> >> >>> Hi Yang, >> >>> >> >>> >> >>> >> >>> all your link errors are for I/O class factories. Can you read the >>> following >> >>> and see whether it helps you solve the problem? >> >>> >> >>> https://itk.org/Wiki/Plugin_IO_mechanisms >> >>> >> >>> >>> >>> https://itk.org/ITKExamples/src/IO/ImageBase/RegisterIOFactories/Documentation.html >> >>> >> >>> >> >>> >> >>> Regards, >> >>> >> >>> D?enan >> >>> >> >>> >> >>> >> >>> On Fri, Sep 23, 2016 at 6:36 PM, Yang, Jinzhong >> >>> wrote: >> >>> >> >>> Hi all, >> >>> >> >>> >> >>> >> >>> I have a very weird problem when I try to build my library. I have an old >> >>> library, previously was built based on ITK 3.16 and VTK 5.8. I built my >> >>> library to both DLL and static library. By configuring in cmake properly, >>> I >> >>> could build both types of libraries without any problem. Recently, I >>> upgrade >> >>> it to ITK 4.10 and VTK 7.0. If I turned on BUILD_SHARED_LIBS in ITK, >>> both >> >>> DLL and static lib for my library can be compiled and linked, however, I >> >>> need to include all DLL files from ITK when I would like to distribute my >> >>> library. I don?t want to do so. Then I turned off BUILD_SHARED_LIBS in >>> ITK. >> >>> The static lib of my library can be built, but the DLL couldn?t. Error >> >>> happened during the link stage. The error message was attached below. I >>> used >> >>> CMake 3.6.2 + VS 2008 + Windows 7. >> >>> >> >>> >> >>> >> >>> 2> Creating library >> >>> >>> >>> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.lib >> >>> and object >> >>> >>> >>> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.exp >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function >> >>> >>> >>> __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0 >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE4ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE4ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE4ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE4ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>> for >> >>> 'ImageIOFactoryRegisterRegisterList''(void)" >> >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE4ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE4ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE4ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MRCImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MRCImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MRCImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl std::_Debug_order> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator>(class std::_Tree> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator,class std::_Tree> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator,wchar_t const *,unsigned >>> int)" >> >>> >>> >>> (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MRCImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MRCImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MRCImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MRCImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MetaImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MetaImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MetaImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MetaImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>> for >> >>> 'ImageIOFactoryRegisterRegisterList''(void)" >> >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MetaImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MetaImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MetaImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BioRadImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "public: __thiscall std::vector> >>> itk::BinaryImageToLabelMapFilter,class >> >>> itk::LabelMap > >::runLength,class >> >>> std::allocator> >>> itk::Image,class itk::LabelMap> >>> itk::LabelObject > >::runLength> >,class std::allocator> >>> std::vector>> itk::Image> >>> char,2>,class itk::LabelMap > >> >>>>::runLength,class std::allocator> >>> itk::BinaryImageToLabelMapFilter,class >> >>> itk::LabelMap > >::runLength> > > >> >>>>::~vector> >>> itk::Image,class itk::LabelMap> >>> itk::LabelObject > >::runLength,class std::allocator> >>> itk::BinaryImageToLabelMapFilter,class >> >>> itk::LabelMap > >::runLength> >,class >> >>> std::allocator> >>> itk::BinaryImageToLabelMapFilter,class >> >>> itk::LabelMap > >::runLength,class >> >>> std::allocator> >>> itk::Image,class itk::LabelMap> >>> itk::LabelObject > >::runLength> > > >(void)" >> >>> >>> >>> (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BioRadImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BioRadImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BioRadImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BioRadImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BioRadImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BioRadImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::StimulateImageIOFactoryRegister__Private(void)" >> >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::StimulateImageIOFactoryRegister__Private(void)" >> >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) referenced >>> in > >> >>> function "protected: __thiscall std::_Vector_val> >>> itk::ObjectStore > >> >>>>::MemoryBlock,class std::allocator> >>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >> >>>>::_Vector_val> >>> itk::SparseFieldLevelSetNode > >::MemoryBlock,class >> >>> std::allocator> >>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >>> >(class >> >>> std::allocator> >>> itk::SparseFieldLevelSetNode > >::MemoryBlock>)" >> >>> >>> >>> (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@1@@Z) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::StimulateImageIOFactoryRegister__Private(void)" >> >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::StimulateImageIOFactoryRegister__Private(void)" >> >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::StimulateImageIOFactoryRegister__Private(void)" >> >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::StimulateImageIOFactoryRegister__Private(void)" >> >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::StimulateImageIOFactoryRegister__Private(void)" >> >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::VTKImageIOFactoryRegister__Private(void)" >> >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::VTKImageIOFactoryRegister__Private(void)" >> >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::VTKImageIOFactoryRegister__Private(void)" >> >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::VTKImageIOFactoryRegister__Private(void)" >> >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>> for >> >>> 'ImageIOFactoryRegisterRegisterList''(void)" >> >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::VTKImageIOFactoryRegister__Private(void)" >> >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::VTKImageIOFactoryRegister__Private(void)" >> >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::VTKImageIOFactoryRegister__Private(void)" >> >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::TIFFImageIOFactoryRegister__Private(void)" >> >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function >> >>> >>> >>> __ehhandler$??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::TIFFImageIOFactoryRegister__Private(void)" >> >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::TIFFImageIOFactoryRegister__Private(void)" >> >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::TIFFImageIOFactoryRegister__Private(void)" >> >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::TIFFImageIOFactoryRegister__Private(void)" >> >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::TIFFImageIOFactoryRegister__Private(void)" >> >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::TIFFImageIOFactoryRegister__Private(void)" >> >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::PNGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::PNGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::PNGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl std::_Debug_order2> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator>(class std::_Tree> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator,class std::_Tree> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator,wchar_t const *,unsigned >> >>> int,struct std::forward_iterator_tag)" >> >>> >>> >>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::PNGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::PNGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::PNGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::PNGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::LSMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::LSMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::LSMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl std::_Debug_order2> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator>(class std::_Tree> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator,class std::_Tree> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator,wchar_t const *,unsigned >> >>> int,struct std::forward_iterator_tag)" >> >>> >>> >>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::LSMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::LSMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::LSMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::LSMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BMPImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BMPImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "protected: void __thiscall std::vector> >>> itk::ObjectStore > >> >>>>::MemoryBlock,class std::allocator> >>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >> >>>>::_Tidy(void)" >> >>> >>> >>> (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAEXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BMPImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BMPImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BMPImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BMPImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BMPImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GDCMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GDCMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GDCMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GDCMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>> for >> >>> 'ImageIOFactoryRegisterRegisterList''(void)" >> >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GDCMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GDCMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GDCMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::JPEGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::JPEGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::JPEGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::JPEGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>> for >> >>> 'ImageIOFactoryRegisterRegisterList''(void)" >> >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::JPEGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::JPEGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::JPEGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::HDF5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "public: __thiscall std::vector> >>> std::allocator >::~vector> >>> std::allocator >(void)" >> >>> (??1?$vector at KV?$allocator at K@std@@@std@@QAE at XZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::HDF5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::HDF5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::HDF5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::HDF5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::HDF5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::HDF5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GiplImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GiplImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GiplImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl std::_Debug_order2> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator>(class std::_Tree> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator,class std::_Tree> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator,wchar_t const *,unsigned >> >>> int,struct std::forward_iterator_tag)" >> >>> >>> >>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GiplImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GiplImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GiplImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GiplImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NrrdImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NrrdImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "protected: bool __thiscall std::vector> >>> itk::ObjectStore > >> >>>>::MemoryBlock,class std::allocator> >>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >> >>>>::_Buy(unsigned int)" >> >>> >>> >>> (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE_NI at Z) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NrrdImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NrrdImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NrrdImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NrrdImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NrrdImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NiftiImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NiftiImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NiftiImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NiftiImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>> for >> >>> 'ImageIOFactoryRegisterRegisterList''(void)" >> >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NiftiImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NiftiImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NiftiImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> >>> >>> 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.dll >> >>> : fatal error LNK1120: 17 unresolved externals >> >>> >> > >>> >> >>> >> >>> _____________________________________ >> >>> Powered by www.kitware.com >> >>> >> >>> Visit other Kitware open-source projects at >> >>> http://www.kitware.com/opensource/opensource.html >> >>> >> >>> Kitware offers ITK Training Courses, for more information visit: >> >>> http://www.kitware.com/products/protraining.php >> >>> >> >>> Please keep messages on-topic and check the ITK FAQ at: >> >>> http://www.itk.org/Wiki/ITK_FAQ >> >>> >> >>> Follow this link to subscribe/unsubscribe: >> >>> http://public.kitware.com/mailman/listinfo/insight-users >> >>> >> >>> >> >>> >> >>> >> >>> _____________________________________ >> >>> Powered by www.kitware.com >> >>> >> >>> Visit other Kitware open-source projects at >> >>> http://www.kitware.com/opensource/opensource.html >> >>> >> >>> Kitware offers ITK Training Courses, for more information visit: >> >>> http://www.kitware.com/products/protraining.php >> >>> >> >>> Please keep messages on-topic and check the ITK FAQ at: >> >>> http://www.itk.org/Wiki/ITK_FAQ >> >>> >> >>> Follow this link to subscribe/unsubscribe: >> >>> http://public.kitware.com/mailman/listinfo/insight-users >> >>> >> >>> >> >>> >> >>> >> >>> _____________________________________ >> >>> Powered by www.kitware.com >> >>> >> >>> Visit other Kitware open-source projects at >> >>> http://www.kitware.com/opensource/opensource.html >> >>> >> >>> Kitware offers ITK Training Courses, for more information visit: >> >>> http://www.kitware.com/products/protraining.php >> >>> >> >>> Please keep messages on-topic and check the ITK FAQ at: >> >>> http://www.itk.org/Wiki/ITK_FAQ >> >>> >> >>> Follow this link to subscribe/unsubscribe: >> >>> http://public.kitware.com/mailman/listinfo/insight-users >> >>> > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > From bakkari.abdelkhalek at hotmail.fr Tue Sep 27 00:35:46 2016 From: bakkari.abdelkhalek at hotmail.fr (Abdelkhalek Bakkari) Date: Tue, 27 Sep 2016 04:35:46 +0000 Subject: [ITK-users] Manual Segmentation with ITK Message-ID: Dear itk users, I would like to ask about the steps of creating a manual segmentation using ITK. Thank you in advance. Best regards, Abdelkhalek Bakkari Ph.D candidate in Computer Science Institute of Applied Computer Science Lodz University of Technology, Poland -------------- next part -------------- An HTML attachment was scrubbed... URL: From jinzhong76 at gmail.com Tue Sep 27 00:41:00 2016 From: jinzhong76 at gmail.com (Yang, Jinzhong) Date: Mon, 26 Sep 2016 23:41:00 -0500 Subject: [ITK-users] ITK build_shared_libs In-Reply-To: References: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> <000901d21824$6789f770$369de650$@gmail.com> <001b01d2182f$9943e9a0$cbcbbce0$@gmail.com> <003c01d21846$e91e4c60$bb5ae520$@gmail.com> <004701d21866$dbe3b5b0$93ab2110$@gmail.com> Message-ID: <005201d21879$595bbee0$0c133ca0$@gmail.com> If I remove that line, I essentially build the library as static library. That works as I pointed out before. But I need to keep a copy of shared library because I have several mex functions depending on this library. I would like them to share this library. This is not a problem when I compiled it with ITK 3.16. I can compile both shared and static libraries with ITK 3.16 compiled as static library. -Jinzhong -----Original Message----- From: Matt McCormick [mailto:matt.mccormick at kitware.com] Sent: Monday, September 26, 2016 11:30 PM To: Yang, Jinzhong Cc: Francois Budin ; Insight-users Subject: Re: [ITK-users] ITK build_shared_libs Hi Jinzhong, Does removing this block: IF (BUILD_SHARED_LIBS) SET_TARGET_PROPERTIES(ContourWarping PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" ) # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK ENDIF(BUILD_SHARED_LIBS) Address the issue? Thanks, Matt On Mon, Sep 26, 2016 at 10:28 PM, Yang, Jinzhong wrote: > Hi Francois, > > > > It was added already. > > > >> TARGET_LINK_LIBRARIES( >> >> ContourWarping >> >> ${ITK_LIBRARIES} >> >> ${VTK_LIBRARIES} >> >> #vtkIO vtkFiltering vtkGraphics >> >> #debug vld.lib # for memory leak detection >> >> ) > > -Jinzhong > > > > From: Francois Budin [mailto:francois.budin at kitware.com] > Sent: Monday, September 26, 2016 6:55 PM > To: Yang, Jinzhong > Cc: Matt McCormick ; Insight-users > > > > Subject: Re: [ITK-users] ITK build_shared_libs > > > > Hello Jinzhong, > > Could you try to add ${ITK_LIBRARIES} to your call of > "TARGET_LINK_LIBRARIES"? > > Francois > > > > On Mon, Sep 26, 2016 at 6:39 PM, Yang, Jinzhong > wrote: > > Hi Matt, > > When I built ITK, I turned on ITKV3_COMPATIBILITY. Could this cause the > problem? > Thanks, > -Jinzhong > > > -----Original Message----- > From: Matt McCormick [mailto:matt.mccormick at kitware.com] > Sent: Monday, September 26, 2016 2:57 PM > To: Yang, Jinzhong > > Cc: Insight-users > Subject: Re: [ITK-users] ITK build_shared_libs > > Hi Jinzhong, > > Does replacing link_libraries calls with target_link_libraries address > the issue (this should be done regardless)? > > HTH, > Matt > > On Mon, Sep 26, 2016 at 3:53 PM, Yang, Jinzhong > wrote: >> Hi Matt, >> >> >> >> I use CMake, but the CMakeLists.txt was written for old ITK (3.16). I >> recently upgraded to ITK 4.10 in order for a project depending on this >> library and GDCM library ( I had trouble to compile that project with ITK >> 3.16). I don't want to manually register the factories. I might need to >> revise my CMakeLists.txt. Below is my CMakeLists.txt. Please let me know >> if >> there is anything wrong here. To help you understand my problem, I >> summarize >> my problem below - >> >> - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project compiled with >> "BUILD_SHARED_LIBS", WORK >> >> - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project NOT compiled with >> "BUILD_SHARED_LIBS", WORK >> >> - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project NOT compiled >> with "BUILD_SHARED_LIBS", WORK >> >> - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project compiled with >> "BUILD_SHARED_LIBS", NOT WORKING >> >> >> >> I prefer to compiling ITK without using shared libs because I don?t want >> to >> distribute a lot of files to other computers with my program. >> >> Thank you, >> >> Jinzhong >> >> >> >> //////////////////CMakeLists.txt //////////////////////////// >> >> CMAKE_MINIMUM_REQUIRED(VERSION 2.6) >> >> >> >> PROJECT(ContourWarping) >> >> >> >> FIND_PACKAGE(ITK) >> >> IF(ITK_FOUND) >> >> INCLUDE(${ITK_USE_FILE}) >> >> ELSE(ITK_FOUND) >> >> MESSAGE(FATAL_ERROR >> >> "ITK not found. Please set ITK_DIR.") >> >> ENDIF(ITK_FOUND) >> >> >> >> FIND_PACKAGE(VTK) >> >> IF (VTK_FOUND) >> >> INCLUDE (${VTK_USE_FILE}) >> >> ELSE (VTK_FOUND) >> >> MESSAGE(FATAL_ERROR >> >> "VTK not found. Please set VTK_DIR.") >> >> ENDIF(VTK_FOUND) >> >> >> >> OPTION(BUILD_SHARED_LIBS "Build ContourWarping with shared libraries." >> OFF) >> >> >> >> OPTION(BUILD_LIB_TEST "Build ContourWarping with testing option enabled." >> OFF) >> >> IF (BUILD_LIB_TEST) >> >> ADD_DEFINITIONS(-D_LIB_TEST) >> >> ENDIF(BUILD_LIB_TEST) >> >> >> >> LINK_LIBRARIES( >> >> ${ITK_LIBRARIES} >> >> ${VTK_LIBRARIES} >> >> #vtkIO vtkCommon vtkFiltering vtkGraphics >> >> ) >> >> >> >> SET(BOOST_DIR "D:/boost_1_41_0" CACHE PATH "D:/boost_1_41_0") >> >> >> >> IF (CMAKE_SIZEOF_VOID_P EQUAL 8) >> >> SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage64/lib" CACHE PATH >> "D:/boost_1_41_0/stage64/lib") >> >> ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) >> >> SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage/lib" CACHE PATH >> "D:/boost_1_41_0/stage/lib") >> >> ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) >> >> >> >> INCLUDE_DIRECTORIES( "C:/Program Files/Visual Leak Detector/include" # for >> memory leak detection, "vld.h" >> >> ${BOOST_DIR} #boost >> >> ${PROJECT_SOURCE_DIR} >> >> "${PROJECT_SOURCE_DIR}/itkLabelMap" >> >> >> "${PROJECT_SOURCE_DIR}/boost" >> >> ) >> >> LINK_DIRECTORIES( ${PROJECT_BINARY_DIR}/${CMAKE_ARCHIVE_OUTPUT_DIRECTORY} >> >> "C:/Program Files/Visual Leak Detector/lib" # for memory >> leak detection, "vld.lib" >> >> ${BOOST_LIB_DIR} #boost >> >> ) >> >> #LINK_DIRECTORIES( ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}) >> >> >> >> SET(SRCS >> >> stdafx.h >> >> stdafx.cpp >> >> ContourWarpingWrapUp.cpp >> >> PinnacleROIStructInterface.cpp >> >> BinaryImageRoiPolyInterface.cpp >> >> contourwarpingparallel.cpp >> >> ParallelDispatcher.h >> >> ParallelDispatcher.cpp >> >> Win32Header.h >> >> PinnacleROIConvert.cpp >> >> PinnacleROIConvert.h >> >> PinnacleROIMesh.cpp >> >> PinnacleROIMesh.h >> >> PinnaclePOIConvert.cpp >> >> PinnaclePOIConvert.h >> >> PinnacleImage.cpp >> >> PinnacleImage.txx >> >> PinnacleImage.h >> >> Auxiliary.h >> >> MeshConvertor.cpp >> >> MeshConvertor.h >> >> vtkPolyContours.cpp >> >> vtkPolyContours.h >> >> vtkVoxelContoursToSurfaceFilterEx.cpp >> >> vtkVoxelContoursToSurfaceFilterEx.h >> >> vtkWindowedSincPolyDataFilterEx.cpp >> >> vtkWindowedSincPolyDataFilterEx.h >> >> vtkSurfaceToSliceContours.cpp >> >> vtkSurfaceToSliceContours.h >> >> vtkSurfaceCutter.cpp >> >> vtkSurfaceCutter.h >> >> vtkSurfaceMeshProcess.cpp >> >> vtkSurfaceMeshProcess.h >> >> vtkSurfaceDeformation.cpp >> >> vtkSurfaceDeformation.h >> >> vtkSurfaceDeformationUsingCatField.cpp >> >> vtkSurfaceDeformationUsingCatField.h >> >> vtkSurfaceTransformation.cpp >> >> vtkSurfaceTransformation.h >> >> vtkContourProcess.cpp >> >> vtkContourProcess.h >> >> vtkSurfaceClipper.cpp >> >> vtkSurfaceClipper.h >> >> vtkPolyContoursClipper.cpp >> >> vtkPolyContoursClipper.h >> >> vtkUndirectedGraphCPP.cpp >> >> vtkUndirectedGraphCPP.h >> >> itkPolygonFill2DBinaryImageFilter.h >> >> itkPolygonFill2DBinaryImageFilter.txx >> >> catDeformationField.cpp >> >> catDeformationField.h >> >> boundaries.txx >> >> boundaries.h >> >> PinnacleROI2ImagesParallel.cpp >> >> PinnacleROI2ImagesParallel.h >> >> ) >> >> >> >> IF (WIN32) >> >> SET(SRCS ${SRCS} resource.h ContourWarping.rc) >> >> ENDIF(WIN32) >> >> >> >> >> >> ADD_LIBRARY(ContourWarping ${SRCS}) >> >> >> >> SET(OUTPUTNAME ContourWarping) >> >> >> >> IF (BUILD_SHARED_LIBS) >> >> IF (CMAKE_SIZEOF_VOID_P EQUAL 8) >> >> SET_TARGET_PROPERTIES(ContourWarping >> >> >> PROPERTIES OUTPUT_NAME ContourWarping64 >> >> ) >> >> SET(OUTPUTNAME ContourWarping64) >> >> ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) >> >> SET_TARGET_PROPERTIES(ContourWarping >> >> >> PROPERTIES OUTPUT_NAME ContourWarping32 >> >> ) >> >> SET(OUTPUTNAME ContourWarping32) >> >> ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) >> >> ENDIF (BUILD_SHARED_LIBS) >> >> >> >> >> >> #SET(CMAKE_BUILD_TYPE Release) >> >> #INCLUDE(PCHSupport.cmake) >> >> #ADD_PRECOMPILED_HEADER(ContourWarping stdafx.h) >> >> >> >> TARGET_LINK_LIBRARIES( >> >> ContourWarping >> >> ${ITK_LIBRARIES} >> >> ${VTK_LIBRARIES} >> >> #vtkIO vtkFiltering vtkGraphics >> >> #debug vld.lib # for memory leak detection >> >> ) >> >> >> >> #SET(TARGET_LIB_VERSION "1.0" CACHE STRING "1.0") >> >> SET_TARGET_PROPERTIES(ContourWarping >> >> PROPERTIES VERSION 1.8.8 >> >> ) >> >> >> >> IF (BUILD_SHARED_LIBS) >> >> SET_TARGET_PROPERTIES(ContourWarping >> >> PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" >> >> ) >> >> # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK >> >> ENDIF(BUILD_SHARED_LIBS) >> >> >> >> IF (WIN32) #enable PCH support & add resource file >> >> SET_TARGET_PROPERTIES(ContourWarping >> >> PROPERTIES COMPILE_FLAGS /Yu"stdafx.h" >> >> ) >> >> SET_SOURCE_FILES_PROPERTIES(stdafx.cpp >> >> PROPERTIES COMPILE_FLAGS /Yc"stdafx.h" >> >> ) >> >> ENDIF(WIN32) >> >> >> >> >> >> IF (BUILD_LIB_TEST) >> >> TARGET_LINK_LIBRARIES( >> >> ContourWarping >> >> vtkRendering vtkWidgets >> >> ) >> >> ENDIF(BUILD_LIB_TEST) >> >> >> >> ###### >> >> ADD_EXECUTABLE( ContourWarpingTest >> >> testdll.cpp >> >> ) >> >> >> >> TARGET_LINK_LIBRARIES( >> >> ContourWarpingTest >> >> ${OUTPUTNAME}.lib >> >> ) >> >> >> >> ADD_DEPENDENCIES( >> >> ContourWarpingTest >> >> ContourWarping >> >> ) >> >> >> >> ###### >> >> ADD_EXECUTABLE( PinnacleROI2BinaryImage >> >> PinnacleROI2BinaryImage.cpp >> >> ) >> >> >> >> TARGET_LINK_LIBRARIES( >> >> PinnacleROI2BinaryImage >> >> ${OUTPUTNAME}.lib >> >> ) >> >> >> >> ADD_DEPENDENCIES( >> >> PinnacleROI2BinaryImage >> >> ContourWarping >> >> ) >> >> >> >> ###### >> >> ADD_EXECUTABLE( PinnacleROIFromBitmap >> >> PinnacleROIFromBitmap.cpp >> >> ) >> >> >> >> TARGET_LINK_LIBRARIES( >> >> PinnacleROIFromBitmap >> >> ${OUTPUTNAME}.lib >> >> ) >> >> >> >> ADD_DEPENDENCIES( >> >> PinnacleROIFromBitmap >> >> ContourWarping >> >> ) >> >> >> >> ###### >> >> ADD_EXECUTABLE( MeshTest >> >> MeshTest.cpp >> >> ) >> >> >> >> TARGET_LINK_LIBRARIES( >> >> MeshTest >> >> ${OUTPUTNAME}.lib >> >> ) >> >> >> >> ADD_DEPENDENCIES( >> >> MeshTest >> >> ContourWarping >> >> ) >> >> >> >> >> >> -----Original Message----- >> From: Matt McCormick [mailto:matt.mccormick at kitware.com] >> Sent: Monday, September 26, 2016 1:50 PM >> To: Yang, Jinzhong >> Cc: Francois Budin ; D?enan Zuki? >> ; Insight-users >> Subject: Re: [ITK-users] ITK build_shared_libs >> >> >> >> Hi Jinzhong, >> >> >> >> It sounds like you are not using CMake to build the project or using >> >> it in some non-standard way? There are a few options: >> >> >> >> 1) Use CMake to compile the project. >> >> 2) Set ITK_NO_IO_FACTORY_REGISTER_MANAGER before calling >> >> "include(${ITK_USE_FILE})", the register the factories manually. >> >> >> >> HTH, >> >> Matt >> >> >> >> On Mon, Sep 26, 2016 at 2:32 PM, Yang, Jinzhong >> wrote: >> >>> Still no clue. I checked the file itkImageIOFactoryRegisterManager.h. It >> >>> seems all classes imported in that header were not linked. However, I >>> check >> >>> all IO libraries, it seems they were all included as dependency. As I >> >>> mentioned before, if I compiled my code as static library, there is not >>> such >> >>> a problem. >> >>> >> >>> >> >>> >> >>> Here are all ITK/VTK related libraries passed to my compiler (they are >> >>> generated by cmake. I enabled ITK_USE_SYSTEM_GDCM in building my ITK): >> >>> >> >>> >>> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkdouble-conversion-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itksys-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl_algo-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkv3p_netlib-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itknetlib-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvcl-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkNetlibSlatec-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKStatistics-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKTransform-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOImageBase-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBMP-4.10.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDICT.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmMSFF.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGDCM-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkzlib-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGIPL-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkjpeg-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOJPEG-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMetaIO-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMeta-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKznz-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKniftiio-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONIFTI-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKNrrdIO-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONRRD-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkpng-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOPNG-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itktiff-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTIFF-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOVTK-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKLabelMap-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMesh-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKSpatialObjects-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPath-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKQuadEdgeMesh-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizers-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPolynomials-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBiasCorrection-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBioCell-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDICOMParser-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDeprecated-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBioRad-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOLSM-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOStimulate-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKEXPAT-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOXML-4.10.lib >> >>> >> >>> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSpatialObjects-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKFEM-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKgiftiio-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMesh-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5_cpp-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOCSV-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOIPL-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSiemens-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOHDF5-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMRC-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformBase-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformHDF5-4.10.lib >> >>> >> >>> >>> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformInsightLegacy-4.10.lib >> >>> >> >>> >>> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformMatlab-4.10.lib >> >>> >> >>> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKKLMRegionGrowing-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVTK-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKWatersheds-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizersv4-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoCore-4.10.lib >> >>> >> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoIO-4.10.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkChartsCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonColor-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonDataModel-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMath-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksys-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMisc-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonSystem-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonTransforms-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersExtraction-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonExecutionModel-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneral-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonComputationalGeometry-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersStatistics-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingFourier-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkalglib-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContext2D-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeometry-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSources-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingFreeType-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkfreetype-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkzlib-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDICOMParser-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistry-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXML-7.0.lib >> >>> >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOGeometry-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXMLParser-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexpat-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistryOpenGL2-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingOpenGL2-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingHybrid-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImage-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkmetaio-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjpeg-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkpng-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtktiff-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkglew-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersAMR-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkParallelCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLegacy-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersFlowPaths-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneric-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHybrid-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingSources-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHyperTree-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersImaging-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingGeneral-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersModeling-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallel-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallelImaging-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersProgrammable-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSMP-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSelection-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersTexture-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersVerdict-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkverdict-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkGeovisCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisLayout-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionStyle-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionWidgets-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingAnnotation-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingColor-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolume-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsCore-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkproj4-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOAMR-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5_hl-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOEnSight-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExodus-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexoIIc-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF_cxx-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExport-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLabel-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImport-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOInfovis-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtklibxml2-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLSDyna-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMINC-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMovie-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkoggtheora-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIONetCDF-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOPLY-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallel-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjsoncpp-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallelXML-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOSQL-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksqlite-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOVideo-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMath-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMorphological-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStatistics-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStencil-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionImage-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContextOpenGL2-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingImage-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLOD-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolumeOpenGL2-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingGenericBridge-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingIOSQL-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingRendering-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsContext2D-7.0.lib >> >>> >> >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsInfovis-7.0.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmIOD.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDSED.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmzlib.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmCommon.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmexpat.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg8.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg12.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg16.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmopenjpeg.lib >> >>> >> >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmcharls.lib >> >>> >> >>> rpcrt4.lib >> >>> >> >>> >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVNLInstantiation-4.10.lib >> >>> >> >>> >> >>> >> >>> Thanks, >> >>> >> >>> -Jinzhong >> >>> >> >>> >> >>> >> >>> From: Francois Budin [mailto:francois.budin at kitware.com] >> >>> Sent: Monday, September 26, 2016 8:04 AM >> >>> To: D?enan Zuki? >> >>> Cc: Yang, Jinzhong ; Insight-users >> >>> >> >>> Subject: Re: [ITK-users] ITK build_shared_libs >> >>> >> >>> >> >>> >> >>> Hello, >> >>> >> >>> As Dzenan said, your problem most likely comes from a problem with the >>> ITK >> >>> IO factory. You may want to check that in your build directory, you have >>> a >> >>> directory called "ITKIOFactoryRegistration" that is created, and that it >> >>> contains a file called itkImageIOFactoryRegisterManager.h. This file >> >>> specifies all the type of images that are automatically registered to the >> >>> factory. You should compare the list of types included in this header >>> file >> >>> with the list of ITK libraries that is passed to your compiler and make >>> sure >> >>> that it matches. >> >>> >> >>> Hope this helps, >> >>> >> >>> Francois >> >>> >> >>> >> >>> >> >>> On Sun, Sep 25, 2016 at 10:36 AM, D?enan Zuki? wrote: >> >>> >> >>> Hi Yang, >> >>> >> >>> >> >>> >> >>> all your link errors are for I/O class factories. Can you read the >>> following >> >>> and see whether it helps you solve the problem? >> >>> >> >>> https://itk.org/Wiki/Plugin_IO_mechanisms >> >>> >> >>> >>> >>> https://itk.org/ITKExamples/src/IO/ImageBase/RegisterIOFactories/Documentation.html >> >>> >> >>> >> >>> >> >>> Regards, >> >>> >> >>> D?enan >> >>> >> >>> >> >>> >> >>> On Fri, Sep 23, 2016 at 6:36 PM, Yang, Jinzhong >> >>> wrote: >> >>> >> >>> Hi all, >> >>> >> >>> >> >>> >> >>> I have a very weird problem when I try to build my library. I have an old >> >>> library, previously was built based on ITK 3.16 and VTK 5.8. I built my >> >>> library to both DLL and static library. By configuring in cmake properly, >>> I >> >>> could build both types of libraries without any problem. Recently, I >>> upgrade >> >>> it to ITK 4.10 and VTK 7.0. If I turned on BUILD_SHARED_LIBS in ITK, >>> both >> >>> DLL and static lib for my library can be compiled and linked, however, I >> >>> need to include all DLL files from ITK when I would like to distribute my >> >>> library. I don?t want to do so. Then I turned off BUILD_SHARED_LIBS in >>> ITK. >> >>> The static lib of my library can be built, but the DLL couldn?t. Error >> >>> happened during the link stage. The error message was attached below. I >>> used >> >>> CMake 3.6.2 + VS 2008 + Windows 7. >> >>> >> >>> >> >>> >> >>> 2> Creating library >> >>> >>> >>> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.lib >> >>> and object >> >>> >>> >>> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.exp >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function >> >>> >>> >>> __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0 >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE4ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE4ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE4ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE4ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>> for >> >>> 'ImageIOFactoryRegisterRegisterList''(void)" >> >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE4ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE4ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GE4ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MRCImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MRCImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MRCImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl std::_Debug_order> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator>(class std::_Tree> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator,class std::_Tree> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator,wchar_t const *,unsigned >>> int)" >> >>> >>> >>> (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MRCImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MRCImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MRCImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MRCImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MetaImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MetaImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MetaImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MetaImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>> for >> >>> 'ImageIOFactoryRegisterRegisterList''(void)" >> >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MetaImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MetaImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::MetaImageIOFactoryRegister__Private(void)" >> >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BioRadImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "public: __thiscall std::vector> >>> itk::BinaryImageToLabelMapFilter,class >> >>> itk::LabelMap > >::runLength,class >> >>> std::allocator> >>> itk::Image,class itk::LabelMap> >>> itk::LabelObject > >::runLength> >,class std::allocator> >>> std::vector>> itk::Image> >>> char,2>,class itk::LabelMap > >> >>>>::runLength,class std::allocator> >>> itk::BinaryImageToLabelMapFilter,class >> >>> itk::LabelMap > >::runLength> > > >> >>>>::~vector> >>> itk::Image,class itk::LabelMap> >>> itk::LabelObject > >::runLength,class std::allocator> >>> itk::BinaryImageToLabelMapFilter,class >> >>> itk::LabelMap > >::runLength> >,class >> >>> std::allocator> >>> itk::BinaryImageToLabelMapFilter,class >> >>> itk::LabelMap > >::runLength,class >> >>> std::allocator> >>> itk::Image,class itk::LabelMap> >>> itk::LabelObject > >::runLength> > > >(void)" >> >>> >>> >>> (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BioRadImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BioRadImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BioRadImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BioRadImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BioRadImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BioRadImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::StimulateImageIOFactoryRegister__Private(void)" >> >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::StimulateImageIOFactoryRegister__Private(void)" >> >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) referenced >>> in > >> >>> function "protected: __thiscall std::_Vector_val> >>> itk::ObjectStore > >> >>>>::MemoryBlock,class std::allocator> >>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >> >>>>::_Vector_val> >>> itk::SparseFieldLevelSetNode > >::MemoryBlock,class >> >>> std::allocator> >>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >>> >(class >> >>> std::allocator> >>> itk::SparseFieldLevelSetNode > >::MemoryBlock>)" >> >>> >>> >>> (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@1@@Z) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::StimulateImageIOFactoryRegister__Private(void)" >> >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::StimulateImageIOFactoryRegister__Private(void)" >> >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::StimulateImageIOFactoryRegister__Private(void)" >> >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::StimulateImageIOFactoryRegister__Private(void)" >> >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::StimulateImageIOFactoryRegister__Private(void)" >> >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::VTKImageIOFactoryRegister__Private(void)" >> >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::VTKImageIOFactoryRegister__Private(void)" >> >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::VTKImageIOFactoryRegister__Private(void)" >> >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::VTKImageIOFactoryRegister__Private(void)" >> >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>> for >> >>> 'ImageIOFactoryRegisterRegisterList''(void)" >> >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::VTKImageIOFactoryRegister__Private(void)" >> >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::VTKImageIOFactoryRegister__Private(void)" >> >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::VTKImageIOFactoryRegister__Private(void)" >> >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::TIFFImageIOFactoryRegister__Private(void)" >> >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function >> >>> >>> >>> __ehhandler$??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::TIFFImageIOFactoryRegister__Private(void)" >> >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::TIFFImageIOFactoryRegister__Private(void)" >> >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::TIFFImageIOFactoryRegister__Private(void)" >> >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::TIFFImageIOFactoryRegister__Private(void)" >> >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::TIFFImageIOFactoryRegister__Private(void)" >> >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::TIFFImageIOFactoryRegister__Private(void)" >> >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::PNGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::PNGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::PNGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl std::_Debug_order2> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator>(class std::_Tree> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator,class std::_Tree> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator,wchar_t const *,unsigned >> >>> int,struct std::forward_iterator_tag)" >> >>> >>> >>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::PNGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::PNGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::PNGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::PNGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::LSMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::LSMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::LSMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl std::_Debug_order2> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator>(class std::_Tree> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator,class std::_Tree> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator,wchar_t const *,unsigned >> >>> int,struct std::forward_iterator_tag)" >> >>> >>> >>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::LSMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::LSMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::LSMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::LSMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BMPImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BMPImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "protected: void __thiscall std::vector> >>> itk::ObjectStore > >> >>>>::MemoryBlock,class std::allocator> >>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >> >>>>::_Tidy(void)" >> >>> >>> >>> (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAEXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BMPImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BMPImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BMPImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BMPImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::BMPImageIOFactoryRegister__Private(void)" >> >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GDCMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GDCMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GDCMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GDCMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>> for >> >>> 'ImageIOFactoryRegisterRegisterList''(void)" >> >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GDCMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GDCMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GDCMImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::JPEGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::JPEGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::JPEGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::JPEGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>> for >> >>> 'ImageIOFactoryRegisterRegisterList''(void)" >> >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::JPEGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::JPEGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::JPEGImageIOFactoryRegister__Private(void)" >> >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::HDF5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "public: __thiscall std::vector> >>> std::allocator >::~vector> >>> std::allocator >(void)" >> >>> (??1?$vector at KV?$allocator at K@std@@@std@@QAE at XZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::HDF5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::HDF5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::HDF5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::HDF5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::HDF5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::HDF5ImageIOFactoryRegister__Private(void)" >> >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GiplImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GiplImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GiplImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl std::_Debug_order2> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator>(class std::_Tree> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator,class std::_Tree> >>> std::_Tset_traits,class >> >>> std::allocator,0> >::iterator,wchar_t const *,unsigned >> >>> int,struct std::forward_iterator_tag)" >> >>> >>> >>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GiplImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GiplImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GiplImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::GiplImageIOFactoryRegister__Private(void)" >> >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NrrdImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NrrdImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "protected: bool __thiscall std::vector> >>> itk::ObjectStore > >> >>>>::MemoryBlock,class std::allocator> >>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >> >>>>::_Buy(unsigned int)" >> >>> >>> >>> (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE_NI at Z) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NrrdImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NrrdImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NrrdImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NrrdImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NrrdImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NiftiImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NiftiImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NiftiImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NiftiImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >> >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>> for >> >>> 'ImageIOFactoryRegisterRegisterList''(void)" >> >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >> >>> >> >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>> symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NiftiImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NiftiImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >> >>> "__declspec(dllimport) void __cdecl >> >>> itk::NiftiImageIOFactoryRegister__Private(void)" >> >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >> >>> >> >>> >>> >>> 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.dll >> >>> : fatal error LNK1120: 17 unresolved externals >> >>> >> > >>> >> >>> >> >>> _____________________________________ >> >>> Powered by www.kitware.com >> >>> >> >>> Visit other Kitware open-source projects at >> >>> http://www.kitware.com/opensource/opensource.html >> >>> >> >>> Kitware offers ITK Training Courses, for more information visit: >> >>> http://www.kitware.com/products/protraining.php >> >>> >> >>> Please keep messages on-topic and check the ITK FAQ at: >> >>> http://www.itk.org/Wiki/ITK_FAQ >> >>> >> >>> Follow this link to subscribe/unsubscribe: >> >>> http://public.kitware.com/mailman/listinfo/insight-users >> >>> >> >>> >> >>> >> >>> >> >>> _____________________________________ >> >>> Powered by www.kitware.com >> >>> >> >>> Visit other Kitware open-source projects at >> >>> http://www.kitware.com/opensource/opensource.html >> >>> >> >>> Kitware offers ITK Training Courses, for more information visit: >> >>> http://www.kitware.com/products/protraining.php >> >>> >> >>> Please keep messages on-topic and check the ITK FAQ at: >> >>> http://www.itk.org/Wiki/ITK_FAQ >> >>> >> >>> Follow this link to subscribe/unsubscribe: >> >>> http://public.kitware.com/mailman/listinfo/insight-users >> >>> >> >>> >> >>> >> >>> >> >>> _____________________________________ >> >>> Powered by www.kitware.com >> >>> >> >>> Visit other Kitware open-source projects at >> >>> http://www.kitware.com/opensource/opensource.html >> >>> >> >>> Kitware offers ITK Training Courses, for more information visit: >> >>> http://www.kitware.com/products/protraining.php >> >>> >> >>> Please keep messages on-topic and check the ITK FAQ at: >> >>> http://www.itk.org/Wiki/ITK_FAQ >> >>> >> >>> Follow this link to subscribe/unsubscribe: >> >>> http://public.kitware.com/mailman/listinfo/insight-users >> >>> > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > From francois.budin at kitware.com Tue Sep 27 08:47:28 2016 From: francois.budin at kitware.com (Francois Budin) Date: Tue, 27 Sep 2016 08:47:28 -0400 Subject: [ITK-users] ITK build_shared_libs In-Reply-To: <005201d21879$595bbee0$0c133ca0$@gmail.com> References: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> <000901d21824$6789f770$369de650$@gmail.com> <001b01d2182f$9943e9a0$cbcbbce0$@gmail.com> <003c01d21846$e91e4c60$bb5ae520$@gmail.com> <004701d21866$dbe3b5b0$93ab2110$@gmail.com> <005201d21879$595bbee0$0c133ca0$@gmail.com> Message-ID: Hi Jinzhong, I meant, could you add ${ITK_LIBRARIES} to all the target_link_library() calls, such as TARGET_LINK_LIBRARIES( PinnacleROI2BinaryImage ${OUTPUTNAME}.lib ) and see if that helps. Thanks, Francois On Tue, Sep 27, 2016 at 12:41 AM, Yang, Jinzhong wrote: > If I remove that line, I essentially build the library as static library. > That works as I pointed out before. But I need to keep a copy of shared > library because I have several mex functions depending on this library. I > would like them to share this library. This is not a problem when I > compiled it with ITK 3.16. I can compile both shared and static libraries > with ITK 3.16 compiled as static library. > > -Jinzhong > > > -----Original Message----- > From: Matt McCormick [mailto:matt.mccormick at kitware.com] > Sent: Monday, September 26, 2016 11:30 PM > To: Yang, Jinzhong > Cc: Francois Budin ; Insight-users < > insight-users at itk.org> > Subject: Re: [ITK-users] ITK build_shared_libs > > Hi Jinzhong, > > Does removing this block: > > > IF (BUILD_SHARED_LIBS) > > SET_TARGET_PROPERTIES(ContourWarping > > PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" > > ) > > # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK > > ENDIF(BUILD_SHARED_LIBS) > > > Address the issue? > > Thanks, > Matt > > On Mon, Sep 26, 2016 at 10:28 PM, Yang, Jinzhong > wrote: > > Hi Francois, > > > > > > > > It was added already. > > > > > > > >> TARGET_LINK_LIBRARIES( > >> > >> ContourWarping > >> > >> ${ITK_LIBRARIES} > >> > >> ${VTK_LIBRARIES} > >> > >> #vtkIO vtkFiltering vtkGraphics > >> > >> #debug vld.lib # for memory leak detection > >> > >> ) > > > > -Jinzhong > > > > > > > > From: Francois Budin [mailto:francois.budin at kitware.com] > > Sent: Monday, September 26, 2016 6:55 PM > > To: Yang, Jinzhong > > Cc: Matt McCormick ; Insight-users > > > > > > > > Subject: Re: [ITK-users] ITK build_shared_libs > > > > > > > > Hello Jinzhong, > > > > Could you try to add ${ITK_LIBRARIES} to your call of > > "TARGET_LINK_LIBRARIES"? > > > > Francois > > > > > > > > On Mon, Sep 26, 2016 at 6:39 PM, Yang, Jinzhong > > wrote: > > > > Hi Matt, > > > > When I built ITK, I turned on ITKV3_COMPATIBILITY. Could this cause the > > problem? > > Thanks, > > -Jinzhong > > > > > > -----Original Message----- > > From: Matt McCormick [mailto:matt.mccormick at kitware.com] > > Sent: Monday, September 26, 2016 2:57 PM > > To: Yang, Jinzhong > > > > Cc: Insight-users > > Subject: Re: [ITK-users] ITK build_shared_libs > > > > Hi Jinzhong, > > > > Does replacing link_libraries calls with target_link_libraries address > > the issue (this should be done regardless)? > > > > HTH, > > Matt > > > > On Mon, Sep 26, 2016 at 3:53 PM, Yang, Jinzhong > > wrote: > >> Hi Matt, > >> > >> > >> > >> I use CMake, but the CMakeLists.txt was written for old ITK (3.16). I > >> recently upgraded to ITK 4.10 in order for a project depending on this > >> library and GDCM library ( I had trouble to compile that project with > ITK > >> 3.16). I don't want to manually register the factories. I might need to > >> revise my CMakeLists.txt. Below is my CMakeLists.txt. Please let me know > >> if > >> there is anything wrong here. To help you understand my problem, I > >> summarize > >> my problem below - > >> > >> - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project compiled with > >> "BUILD_SHARED_LIBS", WORK > >> > >> - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project NOT compiled > with > >> "BUILD_SHARED_LIBS", WORK > >> > >> - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project NOT > compiled > >> with "BUILD_SHARED_LIBS", WORK > >> > >> - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project compiled > with > >> "BUILD_SHARED_LIBS", NOT WORKING > >> > >> > >> > >> I prefer to compiling ITK without using shared libs because I don?t want > >> to > >> distribute a lot of files to other computers with my program. > >> > >> Thank you, > >> > >> Jinzhong > >> > >> > >> > >> //////////////////CMakeLists.txt //////////////////////////// > >> > >> CMAKE_MINIMUM_REQUIRED(VERSION 2.6) > >> > >> > >> > >> PROJECT(ContourWarping) > >> > >> > >> > >> FIND_PACKAGE(ITK) > >> > >> IF(ITK_FOUND) > >> > >> INCLUDE(${ITK_USE_FILE}) > >> > >> ELSE(ITK_FOUND) > >> > >> MESSAGE(FATAL_ERROR > >> > >> "ITK not found. Please set ITK_DIR.") > >> > >> ENDIF(ITK_FOUND) > >> > >> > >> > >> FIND_PACKAGE(VTK) > >> > >> IF (VTK_FOUND) > >> > >> INCLUDE (${VTK_USE_FILE}) > >> > >> ELSE (VTK_FOUND) > >> > >> MESSAGE(FATAL_ERROR > >> > >> "VTK not found. Please set VTK_DIR.") > >> > >> ENDIF(VTK_FOUND) > >> > >> > >> > >> OPTION(BUILD_SHARED_LIBS "Build ContourWarping with shared libraries." > >> OFF) > >> > >> > >> > >> OPTION(BUILD_LIB_TEST "Build ContourWarping with testing option > enabled." > >> OFF) > >> > >> IF (BUILD_LIB_TEST) > >> > >> ADD_DEFINITIONS(-D_LIB_TEST) > >> > >> ENDIF(BUILD_LIB_TEST) > >> > >> > >> > >> LINK_LIBRARIES( > >> > >> ${ITK_LIBRARIES} > >> > >> ${VTK_LIBRARIES} > >> > >> #vtkIO vtkCommon vtkFiltering vtkGraphics > >> > >> ) > >> > >> > >> > >> SET(BOOST_DIR "D:/boost_1_41_0" CACHE PATH "D:/boost_1_41_0") > >> > >> > >> > >> IF (CMAKE_SIZEOF_VOID_P EQUAL 8) > >> > >> SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage64/lib" CACHE > PATH > >> "D:/boost_1_41_0/stage64/lib") > >> > >> ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) > >> > >> SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage/lib" CACHE PATH > >> "D:/boost_1_41_0/stage/lib") > >> > >> ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) > >> > >> > >> > >> INCLUDE_DIRECTORIES( "C:/Program Files/Visual Leak Detector/include" # > for > >> memory leak detection, "vld.h" > >> > >> ${BOOST_DIR} #boost > >> > >> ${PROJECT_SOURCE_DIR} > >> > >> "${PROJECT_SOURCE_DIR}/itkLabelMap" > >> > >> > >> "${PROJECT_SOURCE_DIR}/boost" > >> > >> ) > >> > >> LINK_DIRECTORIES( ${PROJECT_BINARY_DIR}/${CMAKE_ > ARCHIVE_OUTPUT_DIRECTORY} > >> > >> "C:/Program Files/Visual Leak Detector/lib" # for > memory > >> leak detection, "vld.lib" > >> > >> ${BOOST_LIB_DIR} #boost > >> > >> ) > >> > >> #LINK_DIRECTORIES( ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}) > >> > >> > >> > >> SET(SRCS > >> > >> stdafx.h > >> > >> stdafx.cpp > >> > >> ContourWarpingWrapUp.cpp > >> > >> PinnacleROIStructInterface.cpp > >> > >> BinaryImageRoiPolyInterface.cpp > >> > >> contourwarpingparallel.cpp > >> > >> ParallelDispatcher.h > >> > >> ParallelDispatcher.cpp > >> > >> Win32Header.h > >> > >> PinnacleROIConvert.cpp > >> > >> PinnacleROIConvert.h > >> > >> PinnacleROIMesh.cpp > >> > >> PinnacleROIMesh.h > >> > >> PinnaclePOIConvert.cpp > >> > >> PinnaclePOIConvert.h > >> > >> PinnacleImage.cpp > >> > >> PinnacleImage.txx > >> > >> PinnacleImage.h > >> > >> Auxiliary.h > >> > >> MeshConvertor.cpp > >> > >> MeshConvertor.h > >> > >> vtkPolyContours.cpp > >> > >> vtkPolyContours.h > >> > >> vtkVoxelContoursToSurfaceFilterEx.cpp > >> > >> vtkVoxelContoursToSurfaceFilterEx.h > >> > >> vtkWindowedSincPolyDataFilterEx.cpp > >> > >> vtkWindowedSincPolyDataFilterEx.h > >> > >> vtkSurfaceToSliceContours.cpp > >> > >> vtkSurfaceToSliceContours.h > >> > >> vtkSurfaceCutter.cpp > >> > >> vtkSurfaceCutter.h > >> > >> vtkSurfaceMeshProcess.cpp > >> > >> vtkSurfaceMeshProcess.h > >> > >> vtkSurfaceDeformation.cpp > >> > >> vtkSurfaceDeformation.h > >> > >> vtkSurfaceDeformationUsingCatField.cpp > >> > >> vtkSurfaceDeformationUsingCatField.h > >> > >> vtkSurfaceTransformation.cpp > >> > >> vtkSurfaceTransformation.h > >> > >> vtkContourProcess.cpp > >> > >> vtkContourProcess.h > >> > >> vtkSurfaceClipper.cpp > >> > >> vtkSurfaceClipper.h > >> > >> vtkPolyContoursClipper.cpp > >> > >> vtkPolyContoursClipper.h > >> > >> vtkUndirectedGraphCPP.cpp > >> > >> vtkUndirectedGraphCPP.h > >> > >> itkPolygonFill2DBinaryImageFilter.h > >> > >> itkPolygonFill2DBinaryImageFilter.txx > >> > >> catDeformationField.cpp > >> > >> catDeformationField.h > >> > >> boundaries.txx > >> > >> boundaries.h > >> > >> PinnacleROI2ImagesParallel.cpp > >> > >> PinnacleROI2ImagesParallel.h > >> > >> ) > >> > >> > >> > >> IF (WIN32) > >> > >> SET(SRCS ${SRCS} resource.h ContourWarping.rc) > >> > >> ENDIF(WIN32) > >> > >> > >> > >> > >> > >> ADD_LIBRARY(ContourWarping ${SRCS}) > >> > >> > >> > >> SET(OUTPUTNAME ContourWarping) > >> > >> > >> > >> IF (BUILD_SHARED_LIBS) > >> > >> IF (CMAKE_SIZEOF_VOID_P EQUAL 8) > >> > >> SET_TARGET_PROPERTIES(ContourWarping > >> > >> > >> PROPERTIES OUTPUT_NAME ContourWarping64 > >> > >> ) > >> > >> SET(OUTPUTNAME ContourWarping64) > >> > >> ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) > >> > >> SET_TARGET_PROPERTIES(ContourWarping > >> > >> > >> PROPERTIES OUTPUT_NAME ContourWarping32 > >> > >> ) > >> > >> SET(OUTPUTNAME ContourWarping32) > >> > >> ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) > >> > >> ENDIF (BUILD_SHARED_LIBS) > >> > >> > >> > >> > >> > >> #SET(CMAKE_BUILD_TYPE Release) > >> > >> #INCLUDE(PCHSupport.cmake) > >> > >> #ADD_PRECOMPILED_HEADER(ContourWarping stdafx.h) > >> > >> > >> > >> TARGET_LINK_LIBRARIES( > >> > >> ContourWarping > >> > >> ${ITK_LIBRARIES} > >> > >> ${VTK_LIBRARIES} > >> > >> #vtkIO vtkFiltering vtkGraphics > >> > >> #debug vld.lib # for memory leak detection > >> > >> ) > >> > >> > >> > >> #SET(TARGET_LIB_VERSION "1.0" CACHE STRING "1.0") > >> > >> SET_TARGET_PROPERTIES(ContourWarping > >> > >> PROPERTIES VERSION 1.8.8 > >> > >> ) > >> > >> > >> > >> IF (BUILD_SHARED_LIBS) > >> > >> SET_TARGET_PROPERTIES(ContourWarping > >> > >> PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" > >> > >> ) > >> > >> # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK > >> > >> ENDIF(BUILD_SHARED_LIBS) > >> > >> > >> > >> IF (WIN32) #enable PCH support & add resource file > >> > >> SET_TARGET_PROPERTIES(ContourWarping > >> > >> PROPERTIES COMPILE_FLAGS /Yu"stdafx.h" > >> > >> ) > >> > >> SET_SOURCE_FILES_PROPERTIES(stdafx.cpp > >> > >> PROPERTIES COMPILE_FLAGS /Yc"stdafx.h" > >> > >> ) > >> > >> ENDIF(WIN32) > >> > >> > >> > >> > >> > >> IF (BUILD_LIB_TEST) > >> > >> TARGET_LINK_LIBRARIES( > >> > >> ContourWarping > >> > >> vtkRendering vtkWidgets > >> > >> ) > >> > >> ENDIF(BUILD_LIB_TEST) > >> > >> > >> > >> ###### > >> > >> ADD_EXECUTABLE( ContourWarpingTest > >> > >> testdll.cpp > >> > >> ) > >> > >> > >> > >> TARGET_LINK_LIBRARIES( > >> > >> ContourWarpingTest > >> > >> ${OUTPUTNAME}.lib > >> > >> ) > >> > >> > >> > >> ADD_DEPENDENCIES( > >> > >> ContourWarpingTest > >> > >> ContourWarping > >> > >> ) > >> > >> > >> > >> ###### > >> > >> ADD_EXECUTABLE( PinnacleROI2BinaryImage > >> > >> PinnacleROI2BinaryImage.cpp > >> > >> ) > >> > >> > >> > >> TARGET_LINK_LIBRARIES( > >> > >> PinnacleROI2BinaryImage > >> > >> ${OUTPUTNAME}.lib > >> > >> ) > >> > >> > >> > >> ADD_DEPENDENCIES( > >> > >> PinnacleROI2BinaryImage > >> > >> ContourWarping > >> > >> ) > >> > >> > >> > >> ###### > >> > >> ADD_EXECUTABLE( PinnacleROIFromBitmap > >> > >> PinnacleROIFromBitmap.cpp > >> > >> ) > >> > >> > >> > >> TARGET_LINK_LIBRARIES( > >> > >> PinnacleROIFromBitmap > >> > >> ${OUTPUTNAME}.lib > >> > >> ) > >> > >> > >> > >> ADD_DEPENDENCIES( > >> > >> PinnacleROIFromBitmap > >> > >> ContourWarping > >> > >> ) > >> > >> > >> > >> ###### > >> > >> ADD_EXECUTABLE( MeshTest > >> > >> MeshTest.cpp > >> > >> ) > >> > >> > >> > >> TARGET_LINK_LIBRARIES( > >> > >> MeshTest > >> > >> ${OUTPUTNAME}.lib > >> > >> ) > >> > >> > >> > >> ADD_DEPENDENCIES( > >> > >> MeshTest > >> > >> ContourWarping > >> > >> ) > >> > >> > >> > >> > >> > >> -----Original Message----- > >> From: Matt McCormick [mailto:matt.mccormick at kitware.com] > >> Sent: Monday, September 26, 2016 1:50 PM > >> To: Yang, Jinzhong > >> Cc: Francois Budin ; D?enan Zuki? > >> ; Insight-users > >> Subject: Re: [ITK-users] ITK build_shared_libs > >> > >> > >> > >> Hi Jinzhong, > >> > >> > >> > >> It sounds like you are not using CMake to build the project or using > >> > >> it in some non-standard way? There are a few options: > >> > >> > >> > >> 1) Use CMake to compile the project. > >> > >> 2) Set ITK_NO_IO_FACTORY_REGISTER_MANAGER before calling > >> > >> "include(${ITK_USE_FILE})", the register the factories manually. > >> > >> > >> > >> HTH, > >> > >> Matt > >> > >> > >> > >> On Mon, Sep 26, 2016 at 2:32 PM, Yang, Jinzhong > >> wrote: > >> > >>> Still no clue. I checked the file itkImageIOFactoryRegisterManager.h. > It > >> > >>> seems all classes imported in that header were not linked. However, I > >>> check > >> > >>> all IO libraries, it seems they were all included as dependency. As I > >> > >>> mentioned before, if I compiled my code as static library, there is not > >>> such > >> > >>> a problem. > >> > >>> > >> > >>> > >> > >>> > >> > >>> Here are all ITK/VTK related libraries passed to my compiler (they are > >> > >>> generated by cmake. I enabled ITK_USE_SYSTEM_GDCM in building my ITK): > >> > >>> > >> > >>> > >>> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > itkdouble-conversion-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itksys-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl_algo-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkv3p_netlib-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itknetlib-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvcl-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkNetlibSlatec-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKStatistics-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKTransform-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOImageBase-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBMP-4.10.lib > >> > >>> > >> > >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDICT.lib > >> > >>> > >> > >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmMSFF.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGDCM-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkzlib-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGIPL-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkjpeg-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOJPEG-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMetaIO-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMeta-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKznz-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKniftiio-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONIFTI-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKNrrdIO-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONRRD-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkpng-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOPNG-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itktiff-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTIFF-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOVTK-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKLabelMap-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMesh-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKSpatialObjects-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPath-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKQuadEdgeMesh-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizers-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPolynomials-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKBiasCorrection-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBioCell-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDICOMParser-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDeprecated-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBioRad-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOLSM-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOStimulate-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKEXPAT-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOXML-4.10.lib > >> > >>> > >> > >>> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKIOSpatialObjects-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKFEM-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKgiftiio-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMesh-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5_cpp-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOCSV-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOIPL-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSiemens-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOHDF5-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMRC-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKIOTransformBase-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKIOTransformHDF5-4.10.lib > >> > >>> > >> > >>> > >>> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKIOTransformInsightLegacy-4.10.lib > >> > >>> > >> > >>> > >>> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKIOTransformMatlab-4.10.lib > >> > >>> > >> > >>> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKKLMRegionGrowing-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVTK-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKWatersheds-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizersv4-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoCore-4.10.lib > >> > >>> > >> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoIO-4.10.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkChartsCore-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonColor-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonDataModel-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMath-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonCore-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksys-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMisc-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonSystem-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonTransforms-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisCore-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersExtraction-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonExecutionModel-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersCore-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneral-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonComputationalGeometry > -7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersStatistics-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingFourier-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingCore-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkalglib-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContext2D-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingCore-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeometry-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSources-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingFreeType-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkfreetype-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkzlib-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDICOMParser-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistry-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXML-7.0.lib > >> > >>> > >> > > > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOGeometry-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOCore-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXMLParser-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexpat-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistryOpenGL2-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingOpenGL2-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingHybrid-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImage-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkmetaio-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjpeg-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkpng-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtktiff-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkglew-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersAMR-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkParallelCore-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLegacy-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersFlowPaths-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneric-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHybrid-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingSources-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHyperTree-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersImaging-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingGeneral-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersModeling-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallel-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallelImaging-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersProgrammable-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSMP-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSelection-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersTexture-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersVerdict-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkverdict-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkGeovisCore-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisLayout-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionStyle-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionWidgets-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingAnnotation-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingColor-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolume-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsCore-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkproj4-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOAMR-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5_hl-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOEnSight-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExodus-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexoIIc-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF_cxx-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExport-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLabel-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImport-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOInfovis-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtklibxml2-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLSDyna-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMINC-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMovie-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkoggtheora-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIONetCDF-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOPLY-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallel-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjsoncpp-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallelXML-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOSQL-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksqlite-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOVideo-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMath-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMorphological-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStatistics-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStencil-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionImage-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContextOpenGL2-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingImage-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLOD-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolumeOpenGL2-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingGenericBridge-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingIOSQL-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingRendering-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsContext2D-7.0.lib > >> > >>> > >> > >>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsInfovis-7.0.lib > >> > >>> > >> > >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmIOD.lib > >> > >>> > >> > >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDSED.lib > >> > >>> > >> > >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmzlib.lib > >> > >>> > >> > >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmCommon.lib > >> > >>> > >> > >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmexpat.lib > >> > >>> > >> > >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg8.lib > >> > >>> > >> > >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg12.lib > >> > >>> > >> > >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg16.lib > >> > >>> > >> > >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmopenjpeg.lib > >> > >>> > >> > >>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmcharls.lib > >> > >>> > >> > >>> rpcrt4.lib > >> > >>> > >> > >>> > >>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ > ITKVNLInstantiation-4.10.lib > >> > >>> > >> > >>> > >> > >>> > >> > >>> Thanks, > >> > >>> > >> > >>> -Jinzhong > >> > >>> > >> > >>> > >> > >>> > >> > >>> From: Francois Budin [mailto:francois.budin at kitware.com] > >> > >>> Sent: Monday, September 26, 2016 8:04 AM > >> > >>> To: D?enan Zuki? > >> > >>> Cc: Yang, Jinzhong ; Insight-users > >> > >>> > >> > >>> Subject: Re: [ITK-users] ITK build_shared_libs > >> > >>> > >> > >>> > >> > >>> > >> > >>> Hello, > >> > >>> > >> > >>> As Dzenan said, your problem most likely comes from a problem with the > >>> ITK > >> > >>> IO factory. You may want to check that in your build directory, you > have > >>> a > >> > >>> directory called "ITKIOFactoryRegistration" that is created, and that > it > >> > >>> contains a file called itkImageIOFactoryRegisterManager.h. This file > >> > >>> specifies all the type of images that are automatically registered to > the > >> > >>> factory. You should compare the list of types included in this header > >>> file > >> > >>> with the list of ITK libraries that is passed to your compiler and make > >>> sure > >> > >>> that it matches. > >> > >>> > >> > >>> Hope this helps, > >> > >>> > >> > >>> Francois > >> > >>> > >> > >>> > >> > >>> > >> > >>> On Sun, Sep 25, 2016 at 10:36 AM, D?enan Zuki? > wrote: > >> > >>> > >> > >>> Hi Yang, > >> > >>> > >> > >>> > >> > >>> > >> > >>> all your link errors are for I/O class factories. Can you read the > >>> following > >> > >>> and see whether it helps you solve the problem? > >> > >>> > >> > >>> https://itk.org/Wiki/Plugin_IO_mechanisms > >> > >>> > >> > >>> > >>> > >>> https://itk.org/ITKExamples/src/IO/ImageBase/RegisterIOFactories/ > Documentation.html > >> > >>> > >> > >>> > >> > >>> > >> > >>> Regards, > >> > >>> > >> > >>> D?enan > >> > >>> > >> > >>> > >> > >>> > >> > >>> On Fri, Sep 23, 2016 at 6:36 PM, Yang, Jinzhong > >> > >>> wrote: > >> > >>> > >> > >>> Hi all, > >> > >>> > >> > >>> > >> > >>> > >> > >>> I have a very weird problem when I try to build my library. I have an > old > >> > >>> library, previously was built based on ITK 3.16 and VTK 5.8. I built my > >> > >>> library to both DLL and static library. By configuring in cmake > properly, > >>> I > >> > >>> could build both types of libraries without any problem. Recently, I > >>> upgrade > >> > >>> it to ITK 4.10 and VTK 7.0. If I turned on BUILD_SHARED_LIBS in ITK, > >>> both > >> > >>> DLL and static lib for my library can be compiled and linked, however, > I > >> > >>> need to include all DLL files from ITK when I would like to distribute > my > >> > >>> library. I don?t want to do so. Then I turned off BUILD_SHARED_LIBS in > >>> ITK. > >> > >>> The static lib of my library can be built, but the DLL couldn?t. Error > >> > >>> happened during the link stage. The error message was attached below. I > >>> used > >> > >>> CMake 3.6.2 + VS 2008 + Windows 7. > >> > >>> > >> > >>> > >> > >>> > >> > >>> 2> Creating library > >> > >>> > >>> > >>> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\ > Debug\ContourWarping32.lib > >> > >>> and object > >> > >>> > >>> > >>> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\ > Debug\ContourWarping32.exp > >> > >>> > >> > >>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GE5ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> > >>> function > >> > >>> > >>> > >>> __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk > @@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0 > >> > >>> > >> > >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GE5ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GE5ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GE5ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GE5ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external > symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GE5ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GE5ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GE4ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GE4ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GE4ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GE4ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> > >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer > >>> for > >> > >>> 'ImageIOFactoryRegisterRegisterList''(void)" > >> > >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GE4ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external > symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GE4ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GE4ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::MRCImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::MRCImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::MRCImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> > >>> function "void __cdecl std::_Debug_order >> > >>> std::_Tset_traits,class > >> > >>> std::allocator,0> >::iterator>(class std::_Tree >> > >>> std::_Tset_traits,class > >> > >>> std::allocator,0> >::iterator,class std::_Tree >> > >>> std::_Tset_traits,class > >> > >>> std::allocator,0> >::iterator,wchar_t const *,unsigned > >>> int)" > >> > >>> > >>> > >>> (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std > @@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V > ?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z) > >> > >>> > >> > >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::MRCImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::MRCImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external > symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::MRCImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::MRCImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::MetaImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::MetaImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::MetaImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::MetaImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> > >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer > >>> for > >> > >>> 'ImageIOFactoryRegisterRegisterList''(void)" > >> > >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::MetaImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external > symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::MetaImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::MetaImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::BioRadImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced > in > >> > >>> function "public: __thiscall std::vector >> > >>> itk::BinaryImageToLabelMapFilter char,2>,class > >> > >>> itk::LabelMap > >::runLength,class > >> > >>> std::allocator >> > >>> itk::Image,class itk::LabelMap >> > >>> itk::LabelObject > >::runLength> >,class std::allocator >> > >>> std::vector >>> itk::Image >> > >>> char,2>,class itk::LabelMap > > >> > >>>>::runLength,class std::allocator >> > >>> itk::BinaryImageToLabelMapFilter char,2>,class > >> > >>> itk::LabelMap > >::runLength> > > > >> > >>>>::~vector class > >> > >>> itk::Image,class itk::LabelMap >> > >>> itk::LabelObject > >::runLength,class std::allocator >> > >>> itk::BinaryImageToLabelMapFilter char,2>,class > >> > >>> itk::LabelMap > >::runLength> >,class > >> > >>> std::allocator >> > >>> itk::BinaryImageToLabelMapFilter char,2>,class > >> > >>> itk::LabelMap > >::runLength,class > >> > >>> std::allocator >> > >>> itk::Image,class itk::LabelMap >> > >>> itk::LabelObject > >::runLength> > > >(void)" > >> > >>> > >>> > >>> (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V? > $Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@ > @V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk > @@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator@ > V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk > @@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@? > $BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap@ > V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ) > >> > >>> > >> > >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::BioRadImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::BioRadImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::BioRadImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::BioRadImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external > symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::BioRadImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::BioRadImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::StimulateImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::StimulateImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > referenced > >>> in > > > >> > >>> function "protected: __thiscall std::_Vector_val >> > >>> itk::ObjectStore itk::Index<3> > > >> > >>>>::MemoryBlock,class std::allocator >> > >>> itk::SparseFieldLevelSetNode > >::MemoryBlock> > >> > >>>>::_Vector_val >> > >>> itk::SparseFieldLevelSetNode > > >::MemoryBlock,class > >> > >>> std::allocator >> > >>> itk::SparseFieldLevelSetNode > >::MemoryBlock> > >>> >(class > >> > >>> std::allocator >> > >>> itk::SparseFieldLevelSetNode > >::MemoryBlock>)" > >> > >>> > >>> > >>> (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$ > SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$ > allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@ > $02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V?$allocator at UMemoryBlock@ > ?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@1@ > @Z) > >> > >>> > >> > >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::StimulateImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::StimulateImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::StimulateImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external > symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::StimulateImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::StimulateImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::VTKImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::VTKImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::VTKImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::VTKImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> > >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer > >>> for > >> > >>> 'ImageIOFactoryRegisterRegisterList''(void)" > >> > >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::VTKImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external > symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::VTKImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::VTKImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::TIFFImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> > >>> function > >> > >>> > >>> > >>> __ehhandler$??1?$vector at V?$vector at VrunLength@?$ > BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V > ?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@? > $BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap@ > V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator@ > V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk > @@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@? > $BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap@ > V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ > >> > >>> > >> > >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::TIFFImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::TIFFImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::TIFFImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::TIFFImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external > symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::TIFFImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::TIFFImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::PNGImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::PNGImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::PNGImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> > >>> function "void __cdecl std::_Debug_order2 >> > >>> std::_Tset_traits,class > >> > >>> std::allocator,0> >::iterator>(class std::_Tree >> > >>> std::_Tset_traits,class > >> > >>> std::allocator,0> >::iterator,class std::_Tree >> > >>> std::_Tset_traits,class > >> > >>> std::allocator,0> >::iterator,wchar_t const *,unsigned > >> > >>> int,struct std::forward_iterator_tag)" > >> > >>> > >>> > >>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@ > @V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_ > traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0@ > 0PB_WIUforward_iterator_tag at 0@@Z) > >> > >>> > >> > >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::PNGImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::PNGImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external > symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::PNGImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::PNGImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::LSMImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::LSMImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::LSMImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> > >>> function "void __cdecl std::_Debug_order2 >> > >>> std::_Tset_traits,class > >> > >>> std::allocator,0> >::iterator>(class std::_Tree >> > >>> std::_Tset_traits,class > >> > >>> std::allocator,0> >::iterator,class std::_Tree >> > >>> std::_Tset_traits,class > >> > >>> std::allocator,0> >::iterator,wchar_t const *,unsigned > >> > >>> int,struct std::forward_iterator_tag)" > >> > >>> > >>> > >>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@ > @V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_ > traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0@ > 0PB_WIUforward_iterator_tag at 0@@Z) > >> > >>> > >> > >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::LSMImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::LSMImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external > symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::LSMImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::LSMImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::BMPImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::BMPImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> > >>> function "protected: void __thiscall std::vector >> > >>> itk::ObjectStore itk::Index<3> > > >> > >>>>::MemoryBlock,class std::allocator >> > >>> itk::SparseFieldLevelSetNode > >::MemoryBlock> > >> > >>>>::_Tidy(void)" > >> > >>> > >>> > >>> (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V?$ > SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$ > allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@ > $02 at itk@@@itk@@@itk@@@std@@@std@@IAEXXZ) > >> > >>> > >> > >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::BMPImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::BMPImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::BMPImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external > symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::BMPImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::BMPImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GDCMImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GDCMImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GDCMImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GDCMImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> > >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer > >>> for > >> > >>> 'ImageIOFactoryRegisterRegisterList''(void)" > >> > >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GDCMImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external > symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GDCMImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GDCMImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::JPEGImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::JPEGImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::JPEGImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::JPEGImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> > >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer > >>> for > >> > >>> 'ImageIOFactoryRegisterRegisterList''(void)" > >> > >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::JPEGImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external > symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::JPEGImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::JPEGImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> > >>> function "public: __thiscall std::vector >> > >>> std::allocator >::~vector >> > >>> std::allocator >(void)" > >> > >>> (??1?$vector at KV?$allocator at K@std@@@std@@QAE at XZ) > >> > >>> > >> > >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external > symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::HDF5ImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GiplImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GiplImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GiplImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> > >>> function "void __cdecl std::_Debug_order2 >> > >>> std::_Tset_traits,class > >> > >>> std::allocator,0> >::iterator>(class std::_Tree >> > >>> std::_Tset_traits,class > >> > >>> std::allocator,0> >::iterator,class std::_Tree >> > >>> std::_Tset_traits,class > >> > >>> std::allocator,0> >::iterator,wchar_t const *,unsigned > >> > >>> int,struct std::forward_iterator_tag)" > >> > >>> > >>> > >>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@ > @V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_ > traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0@ > 0PB_WIUforward_iterator_tag at 0@@Z) > >> > >>> > >> > >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GiplImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GiplImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external > symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GiplImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::GiplImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::NrrdImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::NrrdImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> > >>> function "protected: bool __thiscall std::vector >> > >>> itk::ObjectStore itk::Index<3> > > >> > >>>>::MemoryBlock,class std::allocator >> > >>> itk::SparseFieldLevelSetNode > >::MemoryBlock> > >> > >>>>::_Buy(unsigned int)" > >> > >>> > >>> > >>> (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V?$ > SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$ > allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@ > $02 at itk@@@itk@@@itk@@@std@@@std@@IAE_NI at Z) > >> > >>> > >> > >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::NrrdImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::NrrdImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::NrrdImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external > symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::NrrdImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::NrrdImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::NiftiImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::NiftiImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::NiftiImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::NiftiImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in > >> > >>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer > >>> for > >> > >>> 'ImageIOFactoryRegisterRegisterList''(void)" > >> > >>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) > >> > >>> > >> > >>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external > >>> symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::NiftiImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external > symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::NiftiImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol > >> > >>> "__declspec(dllimport) void __cdecl > >> > >>> itk::NiftiImageIOFactoryRegister__Private(void)" > >> > >>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) > >> > >>> > >> > >>> > >>> > >>> 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\ > Debug\ContourWarping32.dll > >> > >>> : fatal error LNK1120: 17 unresolved externals > >> > >>> > >> > > > >>> > >> > >>> > >> > >>> _____________________________________ > >> > >>> Powered by www.kitware.com > >> > >>> > >> > >>> Visit other Kitware open-source projects at > >> > >>> http://www.kitware.com/opensource/opensource.html > >> > >>> > >> > >>> Kitware offers ITK Training Courses, for more information visit: > >> > >>> http://www.kitware.com/products/protraining.php > >> > >>> > >> > >>> Please keep messages on-topic and check the ITK FAQ at: > >> > >>> http://www.itk.org/Wiki/ITK_FAQ > >> > >>> > >> > >>> Follow this link to subscribe/unsubscribe: > >> > >>> http://public.kitware.com/mailman/listinfo/insight-users > >> > >>> > >> > >>> > >> > >>> > >> > >>> > >> > >>> _____________________________________ > >> > >>> Powered by www.kitware.com > >> > >>> > >> > >>> Visit other Kitware open-source projects at > >> > >>> http://www.kitware.com/opensource/opensource.html > >> > >>> > >> > >>> Kitware offers ITK Training Courses, for more information visit: > >> > >>> http://www.kitware.com/products/protraining.php > >> > >>> > >> > >>> Please keep messages on-topic and check the ITK FAQ at: > >> > >>> http://www.itk.org/Wiki/ITK_FAQ > >> > >>> > >> > >>> Follow this link to subscribe/unsubscribe: > >> > >>> http://public.kitware.com/mailman/listinfo/insight-users > >> > >>> > >> > >>> > >> > >>> > >> > >>> > >> > >>> _____________________________________ > >> > >>> Powered by www.kitware.com > >> > >>> > >> > >>> Visit other Kitware open-source projects at > >> > >>> http://www.kitware.com/opensource/opensource.html > >> > >>> > >> > >>> Kitware offers ITK Training Courses, for more information visit: > >> > >>> http://www.kitware.com/products/protraining.php > >> > >>> > >> > >>> Please keep messages on-topic and check the ITK FAQ at: > >> > >>> http://www.itk.org/Wiki/ITK_FAQ > >> > >>> > >> > >>> Follow this link to subscribe/unsubscribe: > >> > >>> http://public.kitware.com/mailman/listinfo/insight-users > >> > >>> > > > > _____________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Kitware offers ITK Training Courses, for more information visit: > > http://www.kitware.com/products/protraining.php > > > > Please keep messages on-topic and check the ITK FAQ at: > > http://www.itk.org/Wiki/ITK_FAQ > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/insight-users > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Tue Sep 27 08:53:16 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Tue, 27 Sep 2016 08:53:16 -0400 Subject: [ITK-users] Manual Segmentation with ITK In-Reply-To: References: Message-ID: Hi Abdelkhalek, since ITK is a library, and not a user program, "manual" segmentation is not really possible. You could try ITK-SNAP , a user program based on ITK. Regards, D?enan On Tue, Sep 27, 2016 at 12:35 AM, Abdelkhalek Bakkari < bakkari.abdelkhalek at hotmail.fr> wrote: > Dear itk users, > > > I would like to ask about the steps of creating a manual segmentation > using ITK. > > Thank you in advance. > > > Best regards, > > > Abdelkhalek Bakkari > Ph.D candidate in Computer Science > Institute of Applied Computer Science > Lodz University of Technology, Poland > > > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From francois.budin at kitware.com Tue Sep 27 08:56:08 2016 From: francois.budin at kitware.com (Francois Budin) Date: Tue, 27 Sep 2016 08:56:08 -0400 Subject: [ITK-users] Manual Segmentation with ITK In-Reply-To: References: Message-ID: Hello Abdelkhalek, Could you be more specific by what you mean by "creating a manual segmentation using ITK"? Typically, when creating a manual segmentation, you want to interact or draw over an image. There are plenty of software that already offer you that option such as Slicer3D [1]. If you want to manually create a manual segmentation by explicitly setting pixel values, you can look at the examples here on how to read and write images [2] and this example [3] on how to set values at a certain location in the image. Hope that helps, Francois [1] https://www.slicer.org/ [2] https://itk.org/ITKExamples/src/IO/ImageBase/index.html [3] https://itk.org/ITKExamples/src/Core/Common/SetPixelValueInOneImage/Documentation.html On Tue, Sep 27, 2016 at 12:35 AM, Abdelkhalek Bakkari < bakkari.abdelkhalek at hotmail.fr> wrote: > Dear itk users, > > > I would like to ask about the steps of creating a manual segmentation > using ITK. > > Thank you in advance. > > > Best regards, > > > Abdelkhalek Bakkari > Ph.D candidate in Computer Science > Institute of Applied Computer Science > Lodz University of Technology, Poland > > > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.mccormick at kitware.com Tue Sep 27 09:19:50 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Tue, 27 Sep 2016 09:19:50 -0400 Subject: [ITK-users] ITK build_shared_libs In-Reply-To: <003c01d21846$e91e4c60$bb5ae520$@gmail.com> References: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> <000901d21824$6789f770$369de650$@gmail.com> <001b01d2182f$9943e9a0$cbcbbce0$@gmail.com> <003c01d21846$e91e4c60$bb5ae520$@gmail.com> Message-ID: > When I built ITK, I turned on ITKV3_COMPATIBILITY. Could this cause the problem? No, this should not cause the problem. - M From matt.mccormick at kitware.com Tue Sep 27 09:34:06 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Tue, 27 Sep 2016 09:34:06 -0400 Subject: [ITK-users] ITK build_shared_libs In-Reply-To: <005201d21879$595bbee0$0c133ca0$@gmail.com> References: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> <000901d21824$6789f770$369de650$@gmail.com> <001b01d2182f$9943e9a0$cbcbbce0$@gmail.com> <003c01d21846$e91e4c60$bb5ae520$@gmail.com> <004701d21866$dbe3b5b0$93ab2110$@gmail.com> <005201d21879$595bbee0$0c133ca0$@gmail.com> Message-ID: Hi, I am not sure how the BUILD_DLL definition causes a shared library, but the concern is that setting the COMPILE_DEFINITIONS in this way is somehow interfering with the other definitions that need to be added to target. This definition is required to add the symbols that are missing. What happens: The itkImageFileReader.h file conditionally includes itkImageIOFactoryRegisterManager.h: https://github.com/InsightSoftwareConsortium/ITK/blob/dfe042df74dd2a69bfca7fc3349a9c0fcc65c6e6/Modules/IO/ImageBase/include/itkImageFileReader.h#L170-L172 This condition is based on the preprocessor definition of ITK_IO_FACTORY_REGISTER_MANAGER. This definition is added in the UseITK.cmake file: https://github.com/InsightSoftwareConsortium/ITK/blob/dfe042df74dd2a69bfca7fc3349a9c0fcc65c6e6/CMake/UseITK.cmake#L286-L291 when your CMake code calls "include(${ITK_USE_FILE})". Since the ITK_IO_FACTORY_REGISTER_MANAGER is added as COMPILE_DEFINITIONS on the CMake directory where the CMakeLists.txt exists, the ContourWarping target should have that definition. Check to verify that the definition is added to the build command. In general, to ensure that compile definitions are appended instead of replacing existing definitions, use: set_property(TARGET ContourWarping APPEND PROPERTY COMPILE_DEFINITIONS "BUILD_DLL") instead of SET_TARGET_PROPERTIES(ContourWarping PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL") HTH, Matt On Tue, Sep 27, 2016 at 12:41 AM, Yang, Jinzhong wrote: > If I remove that line, I essentially build the library as static library. That works as I pointed out before. But I need to keep a copy of shared library because I have several mex functions depending on this library. I would like them to share this library. This is not a problem when I compiled it with ITK 3.16. I can compile both shared and static libraries with ITK 3.16 compiled as static library. > > -Jinzhong > > > -----Original Message----- > From: Matt McCormick [mailto:matt.mccormick at kitware.com] > Sent: Monday, September 26, 2016 11:30 PM > To: Yang, Jinzhong > Cc: Francois Budin ; Insight-users > Subject: Re: [ITK-users] ITK build_shared_libs > > Hi Jinzhong, > > Does removing this block: > > > IF (BUILD_SHARED_LIBS) > > SET_TARGET_PROPERTIES(ContourWarping > > PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" > > ) > > # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK > > ENDIF(BUILD_SHARED_LIBS) > > > Address the issue? > > Thanks, > Matt > > On Mon, Sep 26, 2016 at 10:28 PM, Yang, Jinzhong wrote: >> Hi Francois, >> >> >> >> It was added already. >> >> >> >>> TARGET_LINK_LIBRARIES( >>> >>> ContourWarping >>> >>> ${ITK_LIBRARIES} >>> >>> ${VTK_LIBRARIES} >>> >>> #vtkIO vtkFiltering vtkGraphics >>> >>> #debug vld.lib # for memory leak detection >>> >>> ) >> >> -Jinzhong >> >> >> >> From: Francois Budin [mailto:francois.budin at kitware.com] >> Sent: Monday, September 26, 2016 6:55 PM >> To: Yang, Jinzhong >> Cc: Matt McCormick ; Insight-users >> >> >> >> Subject: Re: [ITK-users] ITK build_shared_libs >> >> >> >> Hello Jinzhong, >> >> Could you try to add ${ITK_LIBRARIES} to your call of >> "TARGET_LINK_LIBRARIES"? >> >> Francois >> >> >> >> On Mon, Sep 26, 2016 at 6:39 PM, Yang, Jinzhong >> wrote: >> >> Hi Matt, >> >> When I built ITK, I turned on ITKV3_COMPATIBILITY. Could this cause the >> problem? >> Thanks, >> -Jinzhong >> >> >> -----Original Message----- >> From: Matt McCormick [mailto:matt.mccormick at kitware.com] >> Sent: Monday, September 26, 2016 2:57 PM >> To: Yang, Jinzhong >> >> Cc: Insight-users >> Subject: Re: [ITK-users] ITK build_shared_libs >> >> Hi Jinzhong, >> >> Does replacing link_libraries calls with target_link_libraries address >> the issue (this should be done regardless)? >> >> HTH, >> Matt >> >> On Mon, Sep 26, 2016 at 3:53 PM, Yang, Jinzhong >> wrote: >>> Hi Matt, >>> >>> >>> >>> I use CMake, but the CMakeLists.txt was written for old ITK (3.16). I >>> recently upgraded to ITK 4.10 in order for a project depending on this >>> library and GDCM library ( I had trouble to compile that project with ITK >>> 3.16). I don't want to manually register the factories. I might need to >>> revise my CMakeLists.txt. Below is my CMakeLists.txt. Please let me know >>> if >>> there is anything wrong here. To help you understand my problem, I >>> summarize >>> my problem below - >>> >>> - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project compiled with >>> "BUILD_SHARED_LIBS", WORK >>> >>> - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project NOT compiled with >>> "BUILD_SHARED_LIBS", WORK >>> >>> - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project NOT compiled >>> with "BUILD_SHARED_LIBS", WORK >>> >>> - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project compiled with >>> "BUILD_SHARED_LIBS", NOT WORKING >>> >>> >>> >>> I prefer to compiling ITK without using shared libs because I don?t want >>> to >>> distribute a lot of files to other computers with my program. >>> >>> Thank you, >>> >>> Jinzhong >>> >>> >>> >>> //////////////////CMakeLists.txt //////////////////////////// >>> >>> CMAKE_MINIMUM_REQUIRED(VERSION 2.6) >>> >>> >>> >>> PROJECT(ContourWarping) >>> >>> >>> >>> FIND_PACKAGE(ITK) >>> >>> IF(ITK_FOUND) >>> >>> INCLUDE(${ITK_USE_FILE}) >>> >>> ELSE(ITK_FOUND) >>> >>> MESSAGE(FATAL_ERROR >>> >>> "ITK not found. Please set ITK_DIR.") >>> >>> ENDIF(ITK_FOUND) >>> >>> >>> >>> FIND_PACKAGE(VTK) >>> >>> IF (VTK_FOUND) >>> >>> INCLUDE (${VTK_USE_FILE}) >>> >>> ELSE (VTK_FOUND) >>> >>> MESSAGE(FATAL_ERROR >>> >>> "VTK not found. Please set VTK_DIR.") >>> >>> ENDIF(VTK_FOUND) >>> >>> >>> >>> OPTION(BUILD_SHARED_LIBS "Build ContourWarping with shared libraries." >>> OFF) >>> >>> >>> >>> OPTION(BUILD_LIB_TEST "Build ContourWarping with testing option enabled." >>> OFF) >>> >>> IF (BUILD_LIB_TEST) >>> >>> ADD_DEFINITIONS(-D_LIB_TEST) >>> >>> ENDIF(BUILD_LIB_TEST) >>> >>> >>> >>> LINK_LIBRARIES( >>> >>> ${ITK_LIBRARIES} >>> >>> ${VTK_LIBRARIES} >>> >>> #vtkIO vtkCommon vtkFiltering vtkGraphics >>> >>> ) >>> >>> >>> >>> SET(BOOST_DIR "D:/boost_1_41_0" CACHE PATH "D:/boost_1_41_0") >>> >>> >>> >>> IF (CMAKE_SIZEOF_VOID_P EQUAL 8) >>> >>> SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage64/lib" CACHE PATH >>> "D:/boost_1_41_0/stage64/lib") >>> >>> ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) >>> >>> SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage/lib" CACHE PATH >>> "D:/boost_1_41_0/stage/lib") >>> >>> ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) >>> >>> >>> >>> INCLUDE_DIRECTORIES( "C:/Program Files/Visual Leak Detector/include" # for >>> memory leak detection, "vld.h" >>> >>> ${BOOST_DIR} #boost >>> >>> ${PROJECT_SOURCE_DIR} >>> >>> "${PROJECT_SOURCE_DIR}/itkLabelMap" >>> >>> >>> "${PROJECT_SOURCE_DIR}/boost" >>> >>> ) >>> >>> LINK_DIRECTORIES( ${PROJECT_BINARY_DIR}/${CMAKE_ARCHIVE_OUTPUT_DIRECTORY} >>> >>> "C:/Program Files/Visual Leak Detector/lib" # for memory >>> leak detection, "vld.lib" >>> >>> ${BOOST_LIB_DIR} #boost >>> >>> ) >>> >>> #LINK_DIRECTORIES( ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}) >>> >>> >>> >>> SET(SRCS >>> >>> stdafx.h >>> >>> stdafx.cpp >>> >>> ContourWarpingWrapUp.cpp >>> >>> PinnacleROIStructInterface.cpp >>> >>> BinaryImageRoiPolyInterface.cpp >>> >>> contourwarpingparallel.cpp >>> >>> ParallelDispatcher.h >>> >>> ParallelDispatcher.cpp >>> >>> Win32Header.h >>> >>> PinnacleROIConvert.cpp >>> >>> PinnacleROIConvert.h >>> >>> PinnacleROIMesh.cpp >>> >>> PinnacleROIMesh.h >>> >>> PinnaclePOIConvert.cpp >>> >>> PinnaclePOIConvert.h >>> >>> PinnacleImage.cpp >>> >>> PinnacleImage.txx >>> >>> PinnacleImage.h >>> >>> Auxiliary.h >>> >>> MeshConvertor.cpp >>> >>> MeshConvertor.h >>> >>> vtkPolyContours.cpp >>> >>> vtkPolyContours.h >>> >>> vtkVoxelContoursToSurfaceFilterEx.cpp >>> >>> vtkVoxelContoursToSurfaceFilterEx.h >>> >>> vtkWindowedSincPolyDataFilterEx.cpp >>> >>> vtkWindowedSincPolyDataFilterEx.h >>> >>> vtkSurfaceToSliceContours.cpp >>> >>> vtkSurfaceToSliceContours.h >>> >>> vtkSurfaceCutter.cpp >>> >>> vtkSurfaceCutter.h >>> >>> vtkSurfaceMeshProcess.cpp >>> >>> vtkSurfaceMeshProcess.h >>> >>> vtkSurfaceDeformation.cpp >>> >>> vtkSurfaceDeformation.h >>> >>> vtkSurfaceDeformationUsingCatField.cpp >>> >>> vtkSurfaceDeformationUsingCatField.h >>> >>> vtkSurfaceTransformation.cpp >>> >>> vtkSurfaceTransformation.h >>> >>> vtkContourProcess.cpp >>> >>> vtkContourProcess.h >>> >>> vtkSurfaceClipper.cpp >>> >>> vtkSurfaceClipper.h >>> >>> vtkPolyContoursClipper.cpp >>> >>> vtkPolyContoursClipper.h >>> >>> vtkUndirectedGraphCPP.cpp >>> >>> vtkUndirectedGraphCPP.h >>> >>> itkPolygonFill2DBinaryImageFilter.h >>> >>> itkPolygonFill2DBinaryImageFilter.txx >>> >>> catDeformationField.cpp >>> >>> catDeformationField.h >>> >>> boundaries.txx >>> >>> boundaries.h >>> >>> PinnacleROI2ImagesParallel.cpp >>> >>> PinnacleROI2ImagesParallel.h >>> >>> ) >>> >>> >>> >>> IF (WIN32) >>> >>> SET(SRCS ${SRCS} resource.h ContourWarping.rc) >>> >>> ENDIF(WIN32) >>> >>> >>> >>> >>> >>> ADD_LIBRARY(ContourWarping ${SRCS}) >>> >>> >>> >>> SET(OUTPUTNAME ContourWarping) >>> >>> >>> >>> IF (BUILD_SHARED_LIBS) >>> >>> IF (CMAKE_SIZEOF_VOID_P EQUAL 8) >>> >>> SET_TARGET_PROPERTIES(ContourWarping >>> >>> >>> PROPERTIES OUTPUT_NAME ContourWarping64 >>> >>> ) >>> >>> SET(OUTPUTNAME ContourWarping64) >>> >>> ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) >>> >>> SET_TARGET_PROPERTIES(ContourWarping >>> >>> >>> PROPERTIES OUTPUT_NAME ContourWarping32 >>> >>> ) >>> >>> SET(OUTPUTNAME ContourWarping32) >>> >>> ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) >>> >>> ENDIF (BUILD_SHARED_LIBS) >>> >>> >>> >>> >>> >>> #SET(CMAKE_BUILD_TYPE Release) >>> >>> #INCLUDE(PCHSupport.cmake) >>> >>> #ADD_PRECOMPILED_HEADER(ContourWarping stdafx.h) >>> >>> >>> >>> TARGET_LINK_LIBRARIES( >>> >>> ContourWarping >>> >>> ${ITK_LIBRARIES} >>> >>> ${VTK_LIBRARIES} >>> >>> #vtkIO vtkFiltering vtkGraphics >>> >>> #debug vld.lib # for memory leak detection >>> >>> ) >>> >>> >>> >>> #SET(TARGET_LIB_VERSION "1.0" CACHE STRING "1.0") >>> >>> SET_TARGET_PROPERTIES(ContourWarping >>> >>> PROPERTIES VERSION 1.8.8 >>> >>> ) >>> >>> >>> >>> IF (BUILD_SHARED_LIBS) >>> >>> SET_TARGET_PROPERTIES(ContourWarping >>> >>> PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" >>> >>> ) >>> >>> # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK >>> >>> ENDIF(BUILD_SHARED_LIBS) >>> >>> >>> >>> IF (WIN32) #enable PCH support & add resource file >>> >>> SET_TARGET_PROPERTIES(ContourWarping >>> >>> PROPERTIES COMPILE_FLAGS /Yu"stdafx.h" >>> >>> ) >>> >>> SET_SOURCE_FILES_PROPERTIES(stdafx.cpp >>> >>> PROPERTIES COMPILE_FLAGS /Yc"stdafx.h" >>> >>> ) >>> >>> ENDIF(WIN32) >>> >>> >>> >>> >>> >>> IF (BUILD_LIB_TEST) >>> >>> TARGET_LINK_LIBRARIES( >>> >>> ContourWarping >>> >>> vtkRendering vtkWidgets >>> >>> ) >>> >>> ENDIF(BUILD_LIB_TEST) >>> >>> >>> >>> ###### >>> >>> ADD_EXECUTABLE( ContourWarpingTest >>> >>> testdll.cpp >>> >>> ) >>> >>> >>> >>> TARGET_LINK_LIBRARIES( >>> >>> ContourWarpingTest >>> >>> ${OUTPUTNAME}.lib >>> >>> ) >>> >>> >>> >>> ADD_DEPENDENCIES( >>> >>> ContourWarpingTest >>> >>> ContourWarping >>> >>> ) >>> >>> >>> >>> ###### >>> >>> ADD_EXECUTABLE( PinnacleROI2BinaryImage >>> >>> PinnacleROI2BinaryImage.cpp >>> >>> ) >>> >>> >>> >>> TARGET_LINK_LIBRARIES( >>> >>> PinnacleROI2BinaryImage >>> >>> ${OUTPUTNAME}.lib >>> >>> ) >>> >>> >>> >>> ADD_DEPENDENCIES( >>> >>> PinnacleROI2BinaryImage >>> >>> ContourWarping >>> >>> ) >>> >>> >>> >>> ###### >>> >>> ADD_EXECUTABLE( PinnacleROIFromBitmap >>> >>> PinnacleROIFromBitmap.cpp >>> >>> ) >>> >>> >>> >>> TARGET_LINK_LIBRARIES( >>> >>> PinnacleROIFromBitmap >>> >>> ${OUTPUTNAME}.lib >>> >>> ) >>> >>> >>> >>> ADD_DEPENDENCIES( >>> >>> PinnacleROIFromBitmap >>> >>> ContourWarping >>> >>> ) >>> >>> >>> >>> ###### >>> >>> ADD_EXECUTABLE( MeshTest >>> >>> MeshTest.cpp >>> >>> ) >>> >>> >>> >>> TARGET_LINK_LIBRARIES( >>> >>> MeshTest >>> >>> ${OUTPUTNAME}.lib >>> >>> ) >>> >>> >>> >>> ADD_DEPENDENCIES( >>> >>> MeshTest >>> >>> ContourWarping >>> >>> ) >>> >>> >>> >>> >>> >>> -----Original Message----- >>> From: Matt McCormick [mailto:matt.mccormick at kitware.com] >>> Sent: Monday, September 26, 2016 1:50 PM >>> To: Yang, Jinzhong >>> Cc: Francois Budin ; D?enan Zuki? >>> ; Insight-users >>> Subject: Re: [ITK-users] ITK build_shared_libs >>> >>> >>> >>> Hi Jinzhong, >>> >>> >>> >>> It sounds like you are not using CMake to build the project or using >>> >>> it in some non-standard way? There are a few options: >>> >>> >>> >>> 1) Use CMake to compile the project. >>> >>> 2) Set ITK_NO_IO_FACTORY_REGISTER_MANAGER before calling >>> >>> "include(${ITK_USE_FILE})", the register the factories manually. >>> >>> >>> >>> HTH, >>> >>> Matt >>> >>> >>> >>> On Mon, Sep 26, 2016 at 2:32 PM, Yang, Jinzhong >>> wrote: >>> >>>> Still no clue. I checked the file itkImageIOFactoryRegisterManager.h. It >>> >>>> seems all classes imported in that header were not linked. However, I >>>> check >>> >>>> all IO libraries, it seems they were all included as dependency. As I >>> >>>> mentioned before, if I compiled my code as static library, there is not >>>> such >>> >>>> a problem. >>> >>>> >>> >>>> >>> >>>> >>> >>>> Here are all ITK/VTK related libraries passed to my compiler (they are >>> >>>> generated by cmake. I enabled ITK_USE_SYSTEM_GDCM in building my ITK): >>> >>>> >>> >>>> >>>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkdouble-conversion-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itksys-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl_algo-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkv3p_netlib-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itknetlib-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvcl-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkNetlibSlatec-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKStatistics-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKTransform-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOImageBase-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBMP-4.10.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDICT.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmMSFF.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGDCM-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkzlib-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGIPL-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkjpeg-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOJPEG-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMetaIO-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMeta-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKznz-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKniftiio-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONIFTI-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKNrrdIO-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONRRD-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkpng-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOPNG-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itktiff-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTIFF-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOVTK-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKLabelMap-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMesh-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKSpatialObjects-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPath-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKQuadEdgeMesh-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizers-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPolynomials-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBiasCorrection-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBioCell-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDICOMParser-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDeprecated-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBioRad-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOLSM-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOStimulate-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKEXPAT-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOXML-4.10.lib >>> >>>> >>> >>>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSpatialObjects-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKFEM-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKgiftiio-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMesh-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5_cpp-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOCSV-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOIPL-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSiemens-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOHDF5-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMRC-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformBase-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformHDF5-4.10.lib >>> >>>> >>> >>>> >>>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformInsightLegacy-4.10.lib >>> >>>> >>> >>>> >>>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformMatlab-4.10.lib >>> >>>> >>> >>>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKKLMRegionGrowing-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVTK-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKWatersheds-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizersv4-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoCore-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoIO-4.10.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkChartsCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonColor-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonDataModel-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMath-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksys-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMisc-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonSystem-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonTransforms-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersExtraction-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonExecutionModel-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneral-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonComputationalGeometry-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersStatistics-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingFourier-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkalglib-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContext2D-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeometry-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSources-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingFreeType-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkfreetype-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkzlib-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDICOMParser-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistry-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXML-7.0.lib >>> >>>> >>> >> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOGeometry-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXMLParser-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexpat-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistryOpenGL2-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingOpenGL2-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingHybrid-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImage-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkmetaio-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjpeg-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkpng-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtktiff-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkglew-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersAMR-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkParallelCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLegacy-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersFlowPaths-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneric-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHybrid-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingSources-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHyperTree-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersImaging-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingGeneral-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersModeling-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallel-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallelImaging-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersProgrammable-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSMP-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSelection-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersTexture-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersVerdict-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkverdict-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkGeovisCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisLayout-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionStyle-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionWidgets-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingAnnotation-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingColor-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolume-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkproj4-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOAMR-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5_hl-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOEnSight-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExodus-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexoIIc-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF_cxx-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExport-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLabel-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImport-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOInfovis-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtklibxml2-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLSDyna-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMINC-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMovie-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkoggtheora-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIONetCDF-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOPLY-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallel-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjsoncpp-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallelXML-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOSQL-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksqlite-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOVideo-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMath-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMorphological-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStatistics-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStencil-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionImage-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContextOpenGL2-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingImage-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLOD-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolumeOpenGL2-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingGenericBridge-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingIOSQL-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingRendering-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsContext2D-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsInfovis-7.0.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmIOD.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDSED.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmzlib.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmCommon.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmexpat.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg8.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg12.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg16.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmopenjpeg.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmcharls.lib >>> >>>> >>> >>>> rpcrt4.lib >>> >>>> >>> >>>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVNLInstantiation-4.10.lib >>> >>>> >>> >>>> >>> >>>> >>> >>>> Thanks, >>> >>>> >>> >>>> -Jinzhong >>> >>>> >>> >>>> >>> >>>> >>> >>>> From: Francois Budin [mailto:francois.budin at kitware.com] >>> >>>> Sent: Monday, September 26, 2016 8:04 AM >>> >>>> To: D?enan Zuki? >>> >>>> Cc: Yang, Jinzhong ; Insight-users >>> >>>> >>> >>>> Subject: Re: [ITK-users] ITK build_shared_libs >>> >>>> >>> >>>> >>> >>>> >>> >>>> Hello, >>> >>>> >>> >>>> As Dzenan said, your problem most likely comes from a problem with the >>>> ITK >>> >>>> IO factory. You may want to check that in your build directory, you have >>>> a >>> >>>> directory called "ITKIOFactoryRegistration" that is created, and that it >>> >>>> contains a file called itkImageIOFactoryRegisterManager.h. This file >>> >>>> specifies all the type of images that are automatically registered to the >>> >>>> factory. You should compare the list of types included in this header >>>> file >>> >>>> with the list of ITK libraries that is passed to your compiler and make >>>> sure >>> >>>> that it matches. >>> >>>> >>> >>>> Hope this helps, >>> >>>> >>> >>>> Francois >>> >>>> >>> >>>> >>> >>>> >>> >>>> On Sun, Sep 25, 2016 at 10:36 AM, D?enan Zuki? wrote: >>> >>>> >>> >>>> Hi Yang, >>> >>>> >>> >>>> >>> >>>> >>> >>>> all your link errors are for I/O class factories. Can you read the >>>> following >>> >>>> and see whether it helps you solve the problem? >>> >>>> >>> >>>> https://itk.org/Wiki/Plugin_IO_mechanisms >>> >>>> >>> >>>> >>>> >>>> https://itk.org/ITKExamples/src/IO/ImageBase/RegisterIOFactories/Documentation.html >>> >>>> >>> >>>> >>> >>>> >>> >>>> Regards, >>> >>>> >>> >>>> D?enan >>> >>>> >>> >>>> >>> >>>> >>> >>>> On Fri, Sep 23, 2016 at 6:36 PM, Yang, Jinzhong >>> >>>> wrote: >>> >>>> >>> >>>> Hi all, >>> >>>> >>> >>>> >>> >>>> >>> >>>> I have a very weird problem when I try to build my library. I have an old >>> >>>> library, previously was built based on ITK 3.16 and VTK 5.8. I built my >>> >>>> library to both DLL and static library. By configuring in cmake properly, >>>> I >>> >>>> could build both types of libraries without any problem. Recently, I >>>> upgrade >>> >>>> it to ITK 4.10 and VTK 7.0. If I turned on BUILD_SHARED_LIBS in ITK, >>>> both >>> >>>> DLL and static lib for my library can be compiled and linked, however, I >>> >>>> need to include all DLL files from ITK when I would like to distribute my >>> >>>> library. I don?t want to do so. Then I turned off BUILD_SHARED_LIBS in >>>> ITK. >>> >>>> The static lib of my library can be built, but the DLL couldn?t. Error >>> >>>> happened during the link stage. The error message was attached below. I >>>> used >>> >>>> CMake 3.6.2 + VS 2008 + Windows 7. >>> >>>> >>> >>>> >>> >>>> >>> >>>> 2> Creating library >>> >>>> >>>> >>>> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.lib >>> >>>> and object >>> >>>> >>>> >>>> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.exp >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function >>> >>>> >>>> >>>> __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0 >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>> for >>> >>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>> >>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MRCImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MRCImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MRCImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl std::_Debug_order>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator>(class std::_Tree>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator,class std::_Tree>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator,wchar_t const *,unsigned >>>> int)" >>> >>>> >>>> >>>> (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MRCImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MRCImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MRCImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MRCImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MetaImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MetaImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MetaImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MetaImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>> for >>> >>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>> >>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MetaImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MetaImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MetaImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "public: __thiscall std::vector>> >>>> itk::BinaryImageToLabelMapFilter,class >>> >>>> itk::LabelMap > >::runLength,class >>> >>>> std::allocator>> >>>> itk::Image,class itk::LabelMap>> >>>> itk::LabelObject > >::runLength> >,class std::allocator>> >>>> std::vector>>> itk::Image>> >>>> char,2>,class itk::LabelMap > >>> >>>>>::runLength,class std::allocator>> >>>> itk::BinaryImageToLabelMapFilter,class >>> >>>> itk::LabelMap > >::runLength> > > >>> >>>>>::~vector>> >>>> itk::Image,class itk::LabelMap>> >>>> itk::LabelObject > >::runLength,class std::allocator>> >>>> itk::BinaryImageToLabelMapFilter,class >>> >>>> itk::LabelMap > >::runLength> >,class >>> >>>> std::allocator>> >>>> itk::BinaryImageToLabelMapFilter,class >>> >>>> itk::LabelMap > >::runLength,class >>> >>>> std::allocator>> >>>> itk::Image,class itk::LabelMap>> >>>> itk::LabelObject > >::runLength> > > >(void)" >>> >>>> >>>> >>>> (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) referenced >>>> in >> >>> >>>> function "protected: __thiscall std::_Vector_val>> >>>> itk::ObjectStore > >>> >>>>>::MemoryBlock,class std::allocator>> >>>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >>> >>>>>::_Vector_val>> >>>> itk::SparseFieldLevelSetNode > >::MemoryBlock,class >>> >>>> std::allocator>> >>>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >>>> >(class >>> >>>> std::allocator>> >>>> itk::SparseFieldLevelSetNode > >::MemoryBlock>)" >>> >>>> >>>> >>>> (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@1@@Z) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::VTKImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::VTKImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::VTKImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::VTKImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>> for >>> >>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>> >>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::VTKImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::VTKImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::VTKImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function >>> >>>> >>>> >>>> __ehhandler$??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::PNGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::PNGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::PNGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl std::_Debug_order2>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator>(class std::_Tree>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator,class std::_Tree>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator,wchar_t const *,unsigned >>> >>>> int,struct std::forward_iterator_tag)" >>> >>>> >>>> >>>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::PNGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::PNGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::PNGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::PNGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::LSMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::LSMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::LSMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl std::_Debug_order2>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator>(class std::_Tree>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator,class std::_Tree>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator,wchar_t const *,unsigned >>> >>>> int,struct std::forward_iterator_tag)" >>> >>>> >>>> >>>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::LSMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::LSMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::LSMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::LSMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BMPImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BMPImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "protected: void __thiscall std::vector>> >>>> itk::ObjectStore > >>> >>>>>::MemoryBlock,class std::allocator>> >>>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >>> >>>>>::_Tidy(void)" >>> >>>> >>>> >>>> (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAEXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BMPImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BMPImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BMPImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BMPImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BMPImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>> for >>> >>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>> >>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>> for >>> >>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>> >>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "public: __thiscall std::vector>> >>>> std::allocator >::~vector>> >>>> std::allocator >(void)" >>> >>>> (??1?$vector at KV?$allocator at K@std@@@std@@QAE at XZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GiplImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GiplImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GiplImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl std::_Debug_order2>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator>(class std::_Tree>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator,class std::_Tree>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator,wchar_t const *,unsigned >>> >>>> int,struct std::forward_iterator_tag)" >>> >>>> >>>> >>>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GiplImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GiplImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GiplImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GiplImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "protected: bool __thiscall std::vector>> >>>> itk::ObjectStore > >>> >>>>>::MemoryBlock,class std::allocator>> >>>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >>> >>>>>::_Buy(unsigned int)" >>> >>>> >>>> >>>> (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE_NI at Z) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>> for >>> >>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>> >>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> >>>> >>>> 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.dll >>> >>>> : fatal error LNK1120: 17 unresolved externals >>> >>>> >>> >> >>>> >>> >>>> >>> >>>> _____________________________________ >>> >>>> Powered by www.kitware.com >>> >>>> >>> >>>> Visit other Kitware open-source projects at >>> >>>> http://www.kitware.com/opensource/opensource.html >>> >>>> >>> >>>> Kitware offers ITK Training Courses, for more information visit: >>> >>>> http://www.kitware.com/products/protraining.php >>> >>>> >>> >>>> Please keep messages on-topic and check the ITK FAQ at: >>> >>>> http://www.itk.org/Wiki/ITK_FAQ >>> >>>> >>> >>>> Follow this link to subscribe/unsubscribe: >>> >>>> http://public.kitware.com/mailman/listinfo/insight-users >>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> >>>> _____________________________________ >>> >>>> Powered by www.kitware.com >>> >>>> >>> >>>> Visit other Kitware open-source projects at >>> >>>> http://www.kitware.com/opensource/opensource.html >>> >>>> >>> >>>> Kitware offers ITK Training Courses, for more information visit: >>> >>>> http://www.kitware.com/products/protraining.php >>> >>>> >>> >>>> Please keep messages on-topic and check the ITK FAQ at: >>> >>>> http://www.itk.org/Wiki/ITK_FAQ >>> >>>> >>> >>>> Follow this link to subscribe/unsubscribe: >>> >>>> http://public.kitware.com/mailman/listinfo/insight-users >>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> >>>> _____________________________________ >>> >>>> Powered by www.kitware.com >>> >>>> >>> >>>> Visit other Kitware open-source projects at >>> >>>> http://www.kitware.com/opensource/opensource.html >>> >>>> >>> >>>> Kitware offers ITK Training Courses, for more information visit: >>> >>>> http://www.kitware.com/products/protraining.php >>> >>>> >>> >>>> Please keep messages on-topic and check the ITK FAQ at: >>> >>>> http://www.itk.org/Wiki/ITK_FAQ >>> >>>> >>> >>>> Follow this link to subscribe/unsubscribe: >>> >>>> http://public.kitware.com/mailman/listinfo/insight-users >>> >>>> >> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> >> > From jinzhong76 at gmail.com Tue Sep 27 10:54:45 2016 From: jinzhong76 at gmail.com (Yang, Jinzhong) Date: Tue, 27 Sep 2016 09:54:45 -0500 Subject: [ITK-users] ITK build_shared_libs In-Reply-To: References: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> <000901d21824$6789f770$369de650$@gmail.com> <001b01d2182f$9943e9a0$cbcbbce0$@gmail.com> <003c01d21846$e91e4c60$bb5ae520$@gmail.com> <004701d21866$dbe3b5b0$93ab2110$@gmail.com> <005201d21879$595bbee0$0c133ca0$@gmail.com> Message-ID: <008201d218cf$1cdba7e0$5692f7a0$@gmail.com> Hi Matt, This information is helpful. The ITK_IO_FACTORY_REGISTER_MANAGER was added to the definition of ContourWarping. The BUILD_DLL did not overwrite anything. To be safe, I took your suggestion. I compiled using the new CMake file, the problem still exists. Now, if I removed ITK_IO_FACTORY_REGISTER_MANAGER from definition, it gave me a go. Nothing complained. It seems that the IO factory has to be manually registered if I would like to build a shared lib. I am not sure which lib file(s) contain the definition of those missing functions... It seems that I include all possible IO libs from ITK. My other question is that, if I don't include the ITK_IO_FACTORY_REGISTER_MANAGER, will I have any trouble to read in files (common format supported by ITK) using the code I compiled? Thank you, -Jinzhong -----Original Message----- From: Matt McCormick [mailto:matt.mccormick at kitware.com] Sent: Tuesday, September 27, 2016 8:34 AM To: Yang, Jinzhong Cc: Francois Budin ; Insight-users Subject: Re: [ITK-users] ITK build_shared_libs Hi, I am not sure how the BUILD_DLL definition causes a shared library, but the concern is that setting the COMPILE_DEFINITIONS in this way is somehow interfering with the other definitions that need to be added to target. This definition is required to add the symbols that are missing. What happens: The itkImageFileReader.h file conditionally includes itkImageIOFactoryRegisterManager.h: https://github.com/InsightSoftwareConsortium/ITK/blob/dfe042df74dd2a69bfca7fc3349a9c0fcc65c6e6/Modules/IO/ImageBase/include/itkImageFileReader.h#L170-L172 This condition is based on the preprocessor definition of ITK_IO_FACTORY_REGISTER_MANAGER. This definition is added in the UseITK.cmake file: https://github.com/InsightSoftwareConsortium/ITK/blob/dfe042df74dd2a69bfca7fc3349a9c0fcc65c6e6/CMake/UseITK.cmake#L286-L291 when your CMake code calls "include(${ITK_USE_FILE})". Since the ITK_IO_FACTORY_REGISTER_MANAGER is added as COMPILE_DEFINITIONS on the CMake directory where the CMakeLists.txt exists, the ContourWarping target should have that definition. Check to verify that the definition is added to the build command. In general, to ensure that compile definitions are appended instead of replacing existing definitions, use: set_property(TARGET ContourWarping APPEND PROPERTY COMPILE_DEFINITIONS "BUILD_DLL") instead of SET_TARGET_PROPERTIES(ContourWarping PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL") HTH, Matt On Tue, Sep 27, 2016 at 12:41 AM, Yang, Jinzhong wrote: > If I remove that line, I essentially build the library as static library. That works as I pointed out before. But I need to keep a copy of shared library because I have several mex functions depending on this library. I would like them to share this library. This is not a problem when I compiled it with ITK 3.16. I can compile both shared and static libraries with ITK 3.16 compiled as static library. > > -Jinzhong > > > -----Original Message----- > From: Matt McCormick [mailto:matt.mccormick at kitware.com] > Sent: Monday, September 26, 2016 11:30 PM > To: Yang, Jinzhong > Cc: Francois Budin ; Insight-users > Subject: Re: [ITK-users] ITK build_shared_libs > > Hi Jinzhong, > > Does removing this block: > > > IF (BUILD_SHARED_LIBS) > > SET_TARGET_PROPERTIES(ContourWarping > > PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" > > ) > > # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK > > ENDIF(BUILD_SHARED_LIBS) > > > Address the issue? > > Thanks, > Matt > > On Mon, Sep 26, 2016 at 10:28 PM, Yang, Jinzhong wrote: >> Hi Francois, >> >> >> >> It was added already. >> >> >> >>> TARGET_LINK_LIBRARIES( >>> >>> ContourWarping >>> >>> ${ITK_LIBRARIES} >>> >>> ${VTK_LIBRARIES} >>> >>> #vtkIO vtkFiltering vtkGraphics >>> >>> #debug vld.lib # for memory leak detection >>> >>> ) >> >> -Jinzhong >> >> >> >> From: Francois Budin [mailto:francois.budin at kitware.com] >> Sent: Monday, September 26, 2016 6:55 PM >> To: Yang, Jinzhong >> Cc: Matt McCormick ; Insight-users >> >> >> >> Subject: Re: [ITK-users] ITK build_shared_libs >> >> >> >> Hello Jinzhong, >> >> Could you try to add ${ITK_LIBRARIES} to your call of >> "TARGET_LINK_LIBRARIES"? >> >> Francois >> >> >> >> On Mon, Sep 26, 2016 at 6:39 PM, Yang, Jinzhong >> wrote: >> >> Hi Matt, >> >> When I built ITK, I turned on ITKV3_COMPATIBILITY. Could this cause the >> problem? >> Thanks, >> -Jinzhong >> >> >> -----Original Message----- >> From: Matt McCormick [mailto:matt.mccormick at kitware.com] >> Sent: Monday, September 26, 2016 2:57 PM >> To: Yang, Jinzhong >> >> Cc: Insight-users >> Subject: Re: [ITK-users] ITK build_shared_libs >> >> Hi Jinzhong, >> >> Does replacing link_libraries calls with target_link_libraries address >> the issue (this should be done regardless)? >> >> HTH, >> Matt >> >> On Mon, Sep 26, 2016 at 3:53 PM, Yang, Jinzhong >> wrote: >>> Hi Matt, >>> >>> >>> >>> I use CMake, but the CMakeLists.txt was written for old ITK (3.16). I >>> recently upgraded to ITK 4.10 in order for a project depending on this >>> library and GDCM library ( I had trouble to compile that project with ITK >>> 3.16). I don't want to manually register the factories. I might need to >>> revise my CMakeLists.txt. Below is my CMakeLists.txt. Please let me know >>> if >>> there is anything wrong here. To help you understand my problem, I >>> summarize >>> my problem below - >>> >>> - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project compiled with >>> "BUILD_SHARED_LIBS", WORK >>> >>> - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project NOT compiled with >>> "BUILD_SHARED_LIBS", WORK >>> >>> - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project NOT compiled >>> with "BUILD_SHARED_LIBS", WORK >>> >>> - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project compiled with >>> "BUILD_SHARED_LIBS", NOT WORKING >>> >>> >>> >>> I prefer to compiling ITK without using shared libs because I don?t want >>> to >>> distribute a lot of files to other computers with my program. >>> >>> Thank you, >>> >>> Jinzhong >>> >>> >>> >>> //////////////////CMakeLists.txt //////////////////////////// >>> >>> CMAKE_MINIMUM_REQUIRED(VERSION 2.6) >>> >>> >>> >>> PROJECT(ContourWarping) >>> >>> >>> >>> FIND_PACKAGE(ITK) >>> >>> IF(ITK_FOUND) >>> >>> INCLUDE(${ITK_USE_FILE}) >>> >>> ELSE(ITK_FOUND) >>> >>> MESSAGE(FATAL_ERROR >>> >>> "ITK not found. Please set ITK_DIR.") >>> >>> ENDIF(ITK_FOUND) >>> >>> >>> >>> FIND_PACKAGE(VTK) >>> >>> IF (VTK_FOUND) >>> >>> INCLUDE (${VTK_USE_FILE}) >>> >>> ELSE (VTK_FOUND) >>> >>> MESSAGE(FATAL_ERROR >>> >>> "VTK not found. Please set VTK_DIR.") >>> >>> ENDIF(VTK_FOUND) >>> >>> >>> >>> OPTION(BUILD_SHARED_LIBS "Build ContourWarping with shared libraries." >>> OFF) >>> >>> >>> >>> OPTION(BUILD_LIB_TEST "Build ContourWarping with testing option enabled." >>> OFF) >>> >>> IF (BUILD_LIB_TEST) >>> >>> ADD_DEFINITIONS(-D_LIB_TEST) >>> >>> ENDIF(BUILD_LIB_TEST) >>> >>> >>> >>> LINK_LIBRARIES( >>> >>> ${ITK_LIBRARIES} >>> >>> ${VTK_LIBRARIES} >>> >>> #vtkIO vtkCommon vtkFiltering vtkGraphics >>> >>> ) >>> >>> >>> >>> SET(BOOST_DIR "D:/boost_1_41_0" CACHE PATH "D:/boost_1_41_0") >>> >>> >>> >>> IF (CMAKE_SIZEOF_VOID_P EQUAL 8) >>> >>> SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage64/lib" CACHE PATH >>> "D:/boost_1_41_0/stage64/lib") >>> >>> ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) >>> >>> SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage/lib" CACHE PATH >>> "D:/boost_1_41_0/stage/lib") >>> >>> ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) >>> >>> >>> >>> INCLUDE_DIRECTORIES( "C:/Program Files/Visual Leak Detector/include" # for >>> memory leak detection, "vld.h" >>> >>> ${BOOST_DIR} #boost >>> >>> ${PROJECT_SOURCE_DIR} >>> >>> "${PROJECT_SOURCE_DIR}/itkLabelMap" >>> >>> >>> "${PROJECT_SOURCE_DIR}/boost" >>> >>> ) >>> >>> LINK_DIRECTORIES( ${PROJECT_BINARY_DIR}/${CMAKE_ARCHIVE_OUTPUT_DIRECTORY} >>> >>> "C:/Program Files/Visual Leak Detector/lib" # for memory >>> leak detection, "vld.lib" >>> >>> ${BOOST_LIB_DIR} #boost >>> >>> ) >>> >>> #LINK_DIRECTORIES( ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}) >>> >>> >>> >>> SET(SRCS >>> >>> stdafx.h >>> >>> stdafx.cpp >>> >>> ContourWarpingWrapUp.cpp >>> >>> PinnacleROIStructInterface.cpp >>> >>> BinaryImageRoiPolyInterface.cpp >>> >>> contourwarpingparallel.cpp >>> >>> ParallelDispatcher.h >>> >>> ParallelDispatcher.cpp >>> >>> Win32Header.h >>> >>> PinnacleROIConvert.cpp >>> >>> PinnacleROIConvert.h >>> >>> PinnacleROIMesh.cpp >>> >>> PinnacleROIMesh.h >>> >>> PinnaclePOIConvert.cpp >>> >>> PinnaclePOIConvert.h >>> >>> PinnacleImage.cpp >>> >>> PinnacleImage.txx >>> >>> PinnacleImage.h >>> >>> Auxiliary.h >>> >>> MeshConvertor.cpp >>> >>> MeshConvertor.h >>> >>> vtkPolyContours.cpp >>> >>> vtkPolyContours.h >>> >>> vtkVoxelContoursToSurfaceFilterEx.cpp >>> >>> vtkVoxelContoursToSurfaceFilterEx.h >>> >>> vtkWindowedSincPolyDataFilterEx.cpp >>> >>> vtkWindowedSincPolyDataFilterEx.h >>> >>> vtkSurfaceToSliceContours.cpp >>> >>> vtkSurfaceToSliceContours.h >>> >>> vtkSurfaceCutter.cpp >>> >>> vtkSurfaceCutter.h >>> >>> vtkSurfaceMeshProcess.cpp >>> >>> vtkSurfaceMeshProcess.h >>> >>> vtkSurfaceDeformation.cpp >>> >>> vtkSurfaceDeformation.h >>> >>> vtkSurfaceDeformationUsingCatField.cpp >>> >>> vtkSurfaceDeformationUsingCatField.h >>> >>> vtkSurfaceTransformation.cpp >>> >>> vtkSurfaceTransformation.h >>> >>> vtkContourProcess.cpp >>> >>> vtkContourProcess.h >>> >>> vtkSurfaceClipper.cpp >>> >>> vtkSurfaceClipper.h >>> >>> vtkPolyContoursClipper.cpp >>> >>> vtkPolyContoursClipper.h >>> >>> vtkUndirectedGraphCPP.cpp >>> >>> vtkUndirectedGraphCPP.h >>> >>> itkPolygonFill2DBinaryImageFilter.h >>> >>> itkPolygonFill2DBinaryImageFilter.txx >>> >>> catDeformationField.cpp >>> >>> catDeformationField.h >>> >>> boundaries.txx >>> >>> boundaries.h >>> >>> PinnacleROI2ImagesParallel.cpp >>> >>> PinnacleROI2ImagesParallel.h >>> >>> ) >>> >>> >>> >>> IF (WIN32) >>> >>> SET(SRCS ${SRCS} resource.h ContourWarping.rc) >>> >>> ENDIF(WIN32) >>> >>> >>> >>> >>> >>> ADD_LIBRARY(ContourWarping ${SRCS}) >>> >>> >>> >>> SET(OUTPUTNAME ContourWarping) >>> >>> >>> >>> IF (BUILD_SHARED_LIBS) >>> >>> IF (CMAKE_SIZEOF_VOID_P EQUAL 8) >>> >>> SET_TARGET_PROPERTIES(ContourWarping >>> >>> >>> PROPERTIES OUTPUT_NAME ContourWarping64 >>> >>> ) >>> >>> SET(OUTPUTNAME ContourWarping64) >>> >>> ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) >>> >>> SET_TARGET_PROPERTIES(ContourWarping >>> >>> >>> PROPERTIES OUTPUT_NAME ContourWarping32 >>> >>> ) >>> >>> SET(OUTPUTNAME ContourWarping32) >>> >>> ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) >>> >>> ENDIF (BUILD_SHARED_LIBS) >>> >>> >>> >>> >>> >>> #SET(CMAKE_BUILD_TYPE Release) >>> >>> #INCLUDE(PCHSupport.cmake) >>> >>> #ADD_PRECOMPILED_HEADER(ContourWarping stdafx.h) >>> >>> >>> >>> TARGET_LINK_LIBRARIES( >>> >>> ContourWarping >>> >>> ${ITK_LIBRARIES} >>> >>> ${VTK_LIBRARIES} >>> >>> #vtkIO vtkFiltering vtkGraphics >>> >>> #debug vld.lib # for memory leak detection >>> >>> ) >>> >>> >>> >>> #SET(TARGET_LIB_VERSION "1.0" CACHE STRING "1.0") >>> >>> SET_TARGET_PROPERTIES(ContourWarping >>> >>> PROPERTIES VERSION 1.8.8 >>> >>> ) >>> >>> >>> >>> IF (BUILD_SHARED_LIBS) >>> >>> SET_TARGET_PROPERTIES(ContourWarping >>> >>> PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" >>> >>> ) >>> >>> # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK >>> >>> ENDIF(BUILD_SHARED_LIBS) >>> >>> >>> >>> IF (WIN32) #enable PCH support & add resource file >>> >>> SET_TARGET_PROPERTIES(ContourWarping >>> >>> PROPERTIES COMPILE_FLAGS /Yu"stdafx.h" >>> >>> ) >>> >>> SET_SOURCE_FILES_PROPERTIES(stdafx.cpp >>> >>> PROPERTIES COMPILE_FLAGS /Yc"stdafx.h" >>> >>> ) >>> >>> ENDIF(WIN32) >>> >>> >>> >>> >>> >>> IF (BUILD_LIB_TEST) >>> >>> TARGET_LINK_LIBRARIES( >>> >>> ContourWarping >>> >>> vtkRendering vtkWidgets >>> >>> ) >>> >>> ENDIF(BUILD_LIB_TEST) >>> >>> >>> >>> ###### >>> >>> ADD_EXECUTABLE( ContourWarpingTest >>> >>> testdll.cpp >>> >>> ) >>> >>> >>> >>> TARGET_LINK_LIBRARIES( >>> >>> ContourWarpingTest >>> >>> ${OUTPUTNAME}.lib >>> >>> ) >>> >>> >>> >>> ADD_DEPENDENCIES( >>> >>> ContourWarpingTest >>> >>> ContourWarping >>> >>> ) >>> >>> >>> >>> ###### >>> >>> ADD_EXECUTABLE( PinnacleROI2BinaryImage >>> >>> PinnacleROI2BinaryImage.cpp >>> >>> ) >>> >>> >>> >>> TARGET_LINK_LIBRARIES( >>> >>> PinnacleROI2BinaryImage >>> >>> ${OUTPUTNAME}.lib >>> >>> ) >>> >>> >>> >>> ADD_DEPENDENCIES( >>> >>> PinnacleROI2BinaryImage >>> >>> ContourWarping >>> >>> ) >>> >>> >>> >>> ###### >>> >>> ADD_EXECUTABLE( PinnacleROIFromBitmap >>> >>> PinnacleROIFromBitmap.cpp >>> >>> ) >>> >>> >>> >>> TARGET_LINK_LIBRARIES( >>> >>> PinnacleROIFromBitmap >>> >>> ${OUTPUTNAME}.lib >>> >>> ) >>> >>> >>> >>> ADD_DEPENDENCIES( >>> >>> PinnacleROIFromBitmap >>> >>> ContourWarping >>> >>> ) >>> >>> >>> >>> ###### >>> >>> ADD_EXECUTABLE( MeshTest >>> >>> MeshTest.cpp >>> >>> ) >>> >>> >>> >>> TARGET_LINK_LIBRARIES( >>> >>> MeshTest >>> >>> ${OUTPUTNAME}.lib >>> >>> ) >>> >>> >>> >>> ADD_DEPENDENCIES( >>> >>> MeshTest >>> >>> ContourWarping >>> >>> ) >>> >>> >>> >>> >>> >>> -----Original Message----- >>> From: Matt McCormick [mailto:matt.mccormick at kitware.com] >>> Sent: Monday, September 26, 2016 1:50 PM >>> To: Yang, Jinzhong >>> Cc: Francois Budin ; D?enan Zuki? >>> ; Insight-users >>> Subject: Re: [ITK-users] ITK build_shared_libs >>> >>> >>> >>> Hi Jinzhong, >>> >>> >>> >>> It sounds like you are not using CMake to build the project or using >>> >>> it in some non-standard way? There are a few options: >>> >>> >>> >>> 1) Use CMake to compile the project. >>> >>> 2) Set ITK_NO_IO_FACTORY_REGISTER_MANAGER before calling >>> >>> "include(${ITK_USE_FILE})", the register the factories manually. >>> >>> >>> >>> HTH, >>> >>> Matt >>> >>> >>> >>> On Mon, Sep 26, 2016 at 2:32 PM, Yang, Jinzhong >>> wrote: >>> >>>> Still no clue. I checked the file itkImageIOFactoryRegisterManager.h. It >>> >>>> seems all classes imported in that header were not linked. However, I >>>> check >>> >>>> all IO libraries, it seems they were all included as dependency. As I >>> >>>> mentioned before, if I compiled my code as static library, there is not >>>> such >>> >>>> a problem. >>> >>>> >>> >>>> >>> >>>> >>> >>>> Here are all ITK/VTK related libraries passed to my compiler (they are >>> >>>> generated by cmake. I enabled ITK_USE_SYSTEM_GDCM in building my ITK): >>> >>>> >>> >>>> >>>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkdouble-conversion-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itksys-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl_algo-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkv3p_netlib-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itknetlib-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvcl-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkNetlibSlatec-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKStatistics-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKTransform-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOImageBase-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBMP-4.10.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDICT.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmMSFF.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGDCM-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkzlib-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGIPL-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkjpeg-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOJPEG-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMetaIO-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMeta-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKznz-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKniftiio-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONIFTI-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKNrrdIO-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONRRD-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkpng-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOPNG-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itktiff-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTIFF-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOVTK-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKLabelMap-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMesh-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKSpatialObjects-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPath-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKQuadEdgeMesh-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizers-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPolynomials-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBiasCorrection-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBioCell-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDICOMParser-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDeprecated-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBioRad-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOLSM-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOStimulate-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKEXPAT-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOXML-4.10.lib >>> >>>> >>> >>>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSpatialObjects-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKFEM-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKgiftiio-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMesh-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5_cpp-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOCSV-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOIPL-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSiemens-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOHDF5-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMRC-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformBase-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformHDF5-4.10.lib >>> >>>> >>> >>>> >>>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformInsightLegacy-4.10.lib >>> >>>> >>> >>>> >>>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformMatlab-4.10.lib >>> >>>> >>> >>>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKKLMRegionGrowing-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVTK-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKWatersheds-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizersv4-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoCore-4.10.lib >>> >>>> >>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoIO-4.10.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkChartsCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonColor-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonDataModel-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMath-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksys-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMisc-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonSystem-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonTransforms-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersExtraction-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonExecutionModel-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneral-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonComputationalGeometry-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersStatistics-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingFourier-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkalglib-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContext2D-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeometry-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSources-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingFreeType-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkfreetype-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkzlib-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDICOMParser-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistry-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXML-7.0.lib >>> >>>> >>> >> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOGeometry-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXMLParser-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexpat-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistryOpenGL2-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingOpenGL2-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingHybrid-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImage-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkmetaio-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjpeg-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkpng-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtktiff-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkglew-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersAMR-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkParallelCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLegacy-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersFlowPaths-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneric-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHybrid-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingSources-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHyperTree-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersImaging-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingGeneral-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersModeling-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallel-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallelImaging-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersProgrammable-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSMP-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSelection-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersTexture-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersVerdict-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkverdict-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkGeovisCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisLayout-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionStyle-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionWidgets-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingAnnotation-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingColor-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolume-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsCore-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkproj4-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOAMR-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5_hl-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOEnSight-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExodus-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexoIIc-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF_cxx-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExport-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLabel-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImport-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOInfovis-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtklibxml2-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLSDyna-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMINC-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMovie-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkoggtheora-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIONetCDF-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOPLY-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallel-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjsoncpp-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallelXML-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOSQL-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksqlite-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOVideo-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMath-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMorphological-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStatistics-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStencil-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionImage-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContextOpenGL2-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingImage-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLOD-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolumeOpenGL2-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingGenericBridge-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingIOSQL-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingRendering-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsContext2D-7.0.lib >>> >>>> >>> >>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsInfovis-7.0.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmIOD.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDSED.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmzlib.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmCommon.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmexpat.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg8.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg12.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg16.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmopenjpeg.lib >>> >>>> >>> >>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmcharls.lib >>> >>>> >>> >>>> rpcrt4.lib >>> >>>> >>> >>>> >>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVNLInstantiation-4.10.lib >>> >>>> >>> >>>> >>> >>>> >>> >>>> Thanks, >>> >>>> >>> >>>> -Jinzhong >>> >>>> >>> >>>> >>> >>>> >>> >>>> From: Francois Budin [mailto:francois.budin at kitware.com] >>> >>>> Sent: Monday, September 26, 2016 8:04 AM >>> >>>> To: D?enan Zuki? >>> >>>> Cc: Yang, Jinzhong ; Insight-users >>> >>>> >>> >>>> Subject: Re: [ITK-users] ITK build_shared_libs >>> >>>> >>> >>>> >>> >>>> >>> >>>> Hello, >>> >>>> >>> >>>> As Dzenan said, your problem most likely comes from a problem with the >>>> ITK >>> >>>> IO factory. You may want to check that in your build directory, you have >>>> a >>> >>>> directory called "ITKIOFactoryRegistration" that is created, and that it >>> >>>> contains a file called itkImageIOFactoryRegisterManager.h. This file >>> >>>> specifies all the type of images that are automatically registered to the >>> >>>> factory. You should compare the list of types included in this header >>>> file >>> >>>> with the list of ITK libraries that is passed to your compiler and make >>>> sure >>> >>>> that it matches. >>> >>>> >>> >>>> Hope this helps, >>> >>>> >>> >>>> Francois >>> >>>> >>> >>>> >>> >>>> >>> >>>> On Sun, Sep 25, 2016 at 10:36 AM, D?enan Zuki? wrote: >>> >>>> >>> >>>> Hi Yang, >>> >>>> >>> >>>> >>> >>>> >>> >>>> all your link errors are for I/O class factories. Can you read the >>>> following >>> >>>> and see whether it helps you solve the problem? >>> >>>> >>> >>>> https://itk.org/Wiki/Plugin_IO_mechanisms >>> >>>> >>> >>>> >>>> >>>> https://itk.org/ITKExamples/src/IO/ImageBase/RegisterIOFactories/Documentation.html >>> >>>> >>> >>>> >>> >>>> >>> >>>> Regards, >>> >>>> >>> >>>> D?enan >>> >>>> >>> >>>> >>> >>>> >>> >>>> On Fri, Sep 23, 2016 at 6:36 PM, Yang, Jinzhong >>> >>>> wrote: >>> >>>> >>> >>>> Hi all, >>> >>>> >>> >>>> >>> >>>> >>> >>>> I have a very weird problem when I try to build my library. I have an old >>> >>>> library, previously was built based on ITK 3.16 and VTK 5.8. I built my >>> >>>> library to both DLL and static library. By configuring in cmake properly, >>>> I >>> >>>> could build both types of libraries without any problem. Recently, I >>>> upgrade >>> >>>> it to ITK 4.10 and VTK 7.0. If I turned on BUILD_SHARED_LIBS in ITK, >>>> both >>> >>>> DLL and static lib for my library can be compiled and linked, however, I >>> >>>> need to include all DLL files from ITK when I would like to distribute my >>> >>>> library. I don?t want to do so. Then I turned off BUILD_SHARED_LIBS in >>>> ITK. >>> >>>> The static lib of my library can be built, but the DLL couldn?t. Error >>> >>>> happened during the link stage. The error message was attached below. I >>>> used >>> >>>> CMake 3.6.2 + VS 2008 + Windows 7. >>> >>>> >>> >>>> >>> >>>> >>> >>>> 2> Creating library >>> >>>> >>>> >>>> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.lib >>> >>>> and object >>> >>>> >>>> >>>> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.exp >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function >>> >>>> >>>> >>>> __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0 >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>> for >>> >>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>> >>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MRCImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MRCImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MRCImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl std::_Debug_order>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator>(class std::_Tree>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator,class std::_Tree>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator,wchar_t const *,unsigned >>>> int)" >>> >>>> >>>> >>>> (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MRCImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MRCImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MRCImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MRCImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MetaImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MetaImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MetaImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MetaImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>> for >>> >>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>> >>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MetaImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MetaImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::MetaImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "public: __thiscall std::vector>> >>>> itk::BinaryImageToLabelMapFilter,class >>> >>>> itk::LabelMap > >::runLength,class >>> >>>> std::allocator>> >>>> itk::Image,class itk::LabelMap>> >>>> itk::LabelObject > >::runLength> >,class std::allocator>> >>>> std::vector>>> itk::Image>> >>>> char,2>,class itk::LabelMap > >>> >>>>>::runLength,class std::allocator>> >>>> itk::BinaryImageToLabelMapFilter,class >>> >>>> itk::LabelMap > >::runLength> > > >>> >>>>>::~vector>> >>>> itk::Image,class itk::LabelMap>> >>>> itk::LabelObject > >::runLength,class std::allocator>> >>>> itk::BinaryImageToLabelMapFilter,class >>> >>>> itk::LabelMap > >::runLength> >,class >>> >>>> std::allocator>> >>>> itk::BinaryImageToLabelMapFilter,class >>> >>>> itk::LabelMap > >::runLength,class >>> >>>> std::allocator>> >>>> itk::Image,class itk::LabelMap>> >>>> itk::LabelObject > >::runLength> > > >(void)" >>> >>>> >>>> >>>> (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) referenced >>>> in >> >>> >>>> function "protected: __thiscall std::_Vector_val>> >>>> itk::ObjectStore > >>> >>>>>::MemoryBlock,class std::allocator>> >>>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >>> >>>>>::_Vector_val>> >>>> itk::SparseFieldLevelSetNode > >::MemoryBlock,class >>> >>>> std::allocator>> >>>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >>>> >(class >>> >>>> std::allocator>> >>>> itk::SparseFieldLevelSetNode > >::MemoryBlock>)" >>> >>>> >>>> >>>> (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@1@@Z) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::VTKImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::VTKImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::VTKImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::VTKImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>> for >>> >>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>> >>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::VTKImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::VTKImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::VTKImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function >>> >>>> >>>> >>>> __ehhandler$??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::PNGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::PNGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::PNGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl std::_Debug_order2>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator>(class std::_Tree>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator,class std::_Tree>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator,wchar_t const *,unsigned >>> >>>> int,struct std::forward_iterator_tag)" >>> >>>> >>>> >>>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::PNGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::PNGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::PNGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::PNGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::LSMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::LSMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::LSMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl std::_Debug_order2>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator>(class std::_Tree>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator,class std::_Tree>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator,wchar_t const *,unsigned >>> >>>> int,struct std::forward_iterator_tag)" >>> >>>> >>>> >>>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::LSMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::LSMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::LSMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::LSMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BMPImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BMPImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "protected: void __thiscall std::vector>> >>>> itk::ObjectStore > >>> >>>>>::MemoryBlock,class std::allocator>> >>>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >>> >>>>>::_Tidy(void)" >>> >>>> >>>> >>>> (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAEXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BMPImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BMPImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BMPImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BMPImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::BMPImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>> for >>> >>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>> >>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>> for >>> >>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>> >>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "public: __thiscall std::vector>> >>>> std::allocator >::~vector>> >>>> std::allocator >(void)" >>> >>>> (??1?$vector at KV?$allocator at K@std@@@std@@QAE at XZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GiplImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GiplImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GiplImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl std::_Debug_order2>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator>(class std::_Tree>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator,class std::_Tree>> >>>> std::_Tset_traits,class >>> >>>> std::allocator,0> >::iterator,wchar_t const *,unsigned >>> >>>> int,struct std::forward_iterator_tag)" >>> >>>> >>>> >>>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GiplImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GiplImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GiplImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::GiplImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "protected: bool __thiscall std::vector>> >>>> itk::ObjectStore > >>> >>>>>::MemoryBlock,class std::allocator>> >>>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >>> >>>>>::_Buy(unsigned int)" >>> >>>> >>>> >>>> (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE_NI at Z) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>> >>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>> for >>> >>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>> >>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>> >>>> >>> >>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>> symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>> >>>> "__declspec(dllimport) void __cdecl >>> >>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>> >>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>> >>>> >>> >>>> >>>> >>>> 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.dll >>> >>>> : fatal error LNK1120: 17 unresolved externals >>> >>>> >>> >> >>>> >>> >>>> >>> >>>> _____________________________________ >>> >>>> Powered by www.kitware.com >>> >>>> >>> >>>> Visit other Kitware open-source projects at >>> >>>> http://www.kitware.com/opensource/opensource.html >>> >>>> >>> >>>> Kitware offers ITK Training Courses, for more information visit: >>> >>>> http://www.kitware.com/products/protraining.php >>> >>>> >>> >>>> Please keep messages on-topic and check the ITK FAQ at: >>> >>>> http://www.itk.org/Wiki/ITK_FAQ >>> >>>> >>> >>>> Follow this link to subscribe/unsubscribe: >>> >>>> http://public.kitware.com/mailman/listinfo/insight-users >>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> >>>> _____________________________________ >>> >>>> Powered by www.kitware.com >>> >>>> >>> >>>> Visit other Kitware open-source projects at >>> >>>> http://www.kitware.com/opensource/opensource.html >>> >>>> >>> >>>> Kitware offers ITK Training Courses, for more information visit: >>> >>>> http://www.kitware.com/products/protraining.php >>> >>>> >>> >>>> Please keep messages on-topic and check the ITK FAQ at: >>> >>>> http://www.itk.org/Wiki/ITK_FAQ >>> >>>> >>> >>>> Follow this link to subscribe/unsubscribe: >>> >>>> http://public.kitware.com/mailman/listinfo/insight-users >>> >>>> >>> >>>> >>> >>>> >>> >>>> >>> >>>> _____________________________________ >>> >>>> Powered by www.kitware.com >>> >>>> >>> >>>> Visit other Kitware open-source projects at >>> >>>> http://www.kitware.com/opensource/opensource.html >>> >>>> >>> >>>> Kitware offers ITK Training Courses, for more information visit: >>> >>>> http://www.kitware.com/products/protraining.php >>> >>>> >>> >>>> Please keep messages on-topic and check the ITK FAQ at: >>> >>>> http://www.itk.org/Wiki/ITK_FAQ >>> >>>> >>> >>>> Follow this link to subscribe/unsubscribe: >>> >>>> http://public.kitware.com/mailman/listinfo/insight-users >>> >>>> >> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> >> > From ibr_ex at yahoo.com Tue Sep 27 13:30:58 2016 From: ibr_ex at yahoo.com (Ibraheem) Date: Tue, 27 Sep 2016 10:30:58 -0700 (MST) Subject: [ITK-users] QVtkWidget beginner questions In-Reply-To: References: <1472626890697-37451.post@n7.nabble.com> <1472718024262-37456.post@n7.nabble.com> Message-ID: <1474997458302-7589284.post@n2.nabble.com> After I tried many things. Now I am sure there is a problem/bug when use ITK to reads/writes nrrd files within Qt. The same code works without problem when I use it outside Qt. There is an example of this in my upcoming post. -- View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ITK-users-QVtkWidget-beginner-questions-tp7589150p7589284.html Sent from the ITK Insight Users mailing list archive at Nabble.com. From ibr_ex at yahoo.com Tue Sep 27 13:47:55 2016 From: ibr_ex at yahoo.com (Ibraheem) Date: Tue, 27 Sep 2016 10:47:55 -0700 (MST) Subject: [ITK-users] Problem displaying a specific slice Message-ID: <1474998475531-7589285.post@n2.nabble.com> Dear all, I have made a Qt5 GUI application that displays a specific slice from a 3D volume in each plane i.e axial, coronal and sagittal. The example can be found here . Still, there are some problems: 1- can not read .nrrd format (.mha format works just fine). I think it is a bug. 2- axial slice does not look like the one in 3D Slicer program even after changing the camera parameters or image directions. 3- how can I make the image fills the whole viewport instead of looking like rotated square. 4- While I was experimenting using QuickView , I could not find a way to replace the current image or to destroy the window so I can make a new window with a new image. There is only AddImage() ; which add a new image next to the current one. Have a nice evening/day! Ibraheem -- View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Problem-displaying-a-specific-slice-tp7589285.html Sent from the ITK Insight Users mailing list archive at Nabble.com. From francois.budin at kitware.com Tue Sep 27 15:04:21 2016 From: francois.budin at kitware.com (Francois Budin) Date: Tue, 27 Sep 2016 15:04:21 -0400 Subject: [ITK-users] Problem displaying a specific slice In-Reply-To: <1474998475531-7589285.post@n2.nabble.com> References: <1474998475531-7589285.post@n2.nabble.com> Message-ID: Hello Ibraheem, Concerning the problem you are having with NRRD images, could you specify what error you are encountering? For your questions about the visualization with VTK/Qt, I would advise you to contact the VTK user mailing list. Thanks, Francois On Tue, Sep 27, 2016 at 1:47 PM, Ibraheem via Insight-users < insight-users at itk.org> wrote: > Dear all, > I have made a Qt5 GUI application that displays a specific slice from a 3D > volume in each plane i.e axial, coronal and sagittal. The example can be > found here > classroom-news/newitkexamples> > . > Still, there are some problems: > 1- can not read .nrrd format (.mha format works just fine). I think it is > a > bug. > 2- axial slice does not look like the one in 3D Slicer program even after > changing the camera parameters or image directions. > 3- how can I make the image fills the whole viewport instead of looking > like > rotated square. > 4- While I was experimenting using QuickView > , I could not find a > way > to replace the current image or to destroy the window so I can make a new > window with a new image. There is only AddImage() ; which add a new image > next to the current one. > Have a nice evening/day! > Ibraheem > > > > > -- > View this message in context: http://itk-insight-users. > 2283740.n2.nabble.com/Problem-displaying-a-specific-slice-tp7589285.html > Sent from the ITK Insight Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.mccormick at kitware.com Tue Sep 27 16:56:15 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Tue, 27 Sep 2016 16:56:15 -0400 Subject: [ITK-users] ITK build_shared_libs In-Reply-To: <008201d218cf$1cdba7e0$5692f7a0$@gmail.com> References: <015301d215ea$ee7b8a50$cb729ef0$@gmail.com> <000901d21824$6789f770$369de650$@gmail.com> <001b01d2182f$9943e9a0$cbcbbce0$@gmail.com> <003c01d21846$e91e4c60$bb5ae520$@gmail.com> <004701d21866$dbe3b5b0$93ab2110$@gmail.com> <005201d21879$595bbee0$0c133ca0$@gmail.com> <008201d218cf$1cdba7e0$5692f7a0$@gmail.com> Message-ID: Hi Jinzhong, Thanks for the information. It seems that ITK_IO_FACTORY_REGISTER_MANAGER is passed correctly, then. Without it, the itk::ImageFileReader will not be able to read any formats. I would keep investigating why all the ITK IO libraries are not being linked in by checking the contents of the "ITK_LIBRARIES" CMake variable, not using the link_libraries command, etc. HTH, Matt On Tue, Sep 27, 2016 at 10:54 AM, Yang, Jinzhong wrote: > Hi Matt, > > This information is helpful. The ITK_IO_FACTORY_REGISTER_MANAGER was added to the definition of ContourWarping. The BUILD_DLL did not overwrite anything. To be safe, I took your suggestion. I compiled using the new CMake file, the problem still exists. Now, if I removed ITK_IO_FACTORY_REGISTER_MANAGER from definition, it gave me a go. Nothing complained. It seems that the IO factory has to be manually registered if I would like to build a shared lib. I am not sure which lib file(s) contain the definition of those missing functions... It seems that I include all possible IO libs from ITK. > > My other question is that, if I don't include the ITK_IO_FACTORY_REGISTER_MANAGER, will I have any trouble to read in files (common format supported by ITK) using the code I compiled? > Thank you, > -Jinzhong > > > -----Original Message----- > From: Matt McCormick [mailto:matt.mccormick at kitware.com] > Sent: Tuesday, September 27, 2016 8:34 AM > To: Yang, Jinzhong > Cc: Francois Budin ; Insight-users > Subject: Re: [ITK-users] ITK build_shared_libs > > Hi, > > I am not sure how the BUILD_DLL definition causes a shared library, > but the concern is that setting the COMPILE_DEFINITIONS in this way is > somehow interfering with the other definitions that need to be added > to target. This definition is required to add the symbols that are > missing. > > > What happens: > > The itkImageFileReader.h file conditionally includes > itkImageIOFactoryRegisterManager.h: > > https://github.com/InsightSoftwareConsortium/ITK/blob/dfe042df74dd2a69bfca7fc3349a9c0fcc65c6e6/Modules/IO/ImageBase/include/itkImageFileReader.h#L170-L172 > > This condition is based on the preprocessor definition of > ITK_IO_FACTORY_REGISTER_MANAGER. This definition is added in the > UseITK.cmake file: > > https://github.com/InsightSoftwareConsortium/ITK/blob/dfe042df74dd2a69bfca7fc3349a9c0fcc65c6e6/CMake/UseITK.cmake#L286-L291 > > when your CMake code calls "include(${ITK_USE_FILE})". > > > Since the ITK_IO_FACTORY_REGISTER_MANAGER is added as > COMPILE_DEFINITIONS on the CMake directory where the CMakeLists.txt > exists, the ContourWarping target should have that definition. Check > to verify that the definition is added to the build command. > > > In general, to ensure that compile definitions are appended instead of > replacing existing definitions, use: > > set_property(TARGET ContourWarping APPEND PROPERTY > COMPILE_DEFINITIONS "BUILD_DLL") > > instead of > > SET_TARGET_PROPERTIES(ContourWarping > > PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL") > > HTH, > Matt > > On Tue, Sep 27, 2016 at 12:41 AM, Yang, Jinzhong wrote: >> If I remove that line, I essentially build the library as static library. That works as I pointed out before. But I need to keep a copy of shared library because I have several mex functions depending on this library. I would like them to share this library. This is not a problem when I compiled it with ITK 3.16. I can compile both shared and static libraries with ITK 3.16 compiled as static library. >> >> -Jinzhong >> >> >> -----Original Message----- >> From: Matt McCormick [mailto:matt.mccormick at kitware.com] >> Sent: Monday, September 26, 2016 11:30 PM >> To: Yang, Jinzhong >> Cc: Francois Budin ; Insight-users >> Subject: Re: [ITK-users] ITK build_shared_libs >> >> Hi Jinzhong, >> >> Does removing this block: >> >> >> IF (BUILD_SHARED_LIBS) >> >> SET_TARGET_PROPERTIES(ContourWarping >> >> PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" >> >> ) >> >> # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK >> >> ENDIF(BUILD_SHARED_LIBS) >> >> >> Address the issue? >> >> Thanks, >> Matt >> >> On Mon, Sep 26, 2016 at 10:28 PM, Yang, Jinzhong wrote: >>> Hi Francois, >>> >>> >>> >>> It was added already. >>> >>> >>> >>>> TARGET_LINK_LIBRARIES( >>>> >>>> ContourWarping >>>> >>>> ${ITK_LIBRARIES} >>>> >>>> ${VTK_LIBRARIES} >>>> >>>> #vtkIO vtkFiltering vtkGraphics >>>> >>>> #debug vld.lib # for memory leak detection >>>> >>>> ) >>> >>> -Jinzhong >>> >>> >>> >>> From: Francois Budin [mailto:francois.budin at kitware.com] >>> Sent: Monday, September 26, 2016 6:55 PM >>> To: Yang, Jinzhong >>> Cc: Matt McCormick ; Insight-users >>> >>> >>> >>> Subject: Re: [ITK-users] ITK build_shared_libs >>> >>> >>> >>> Hello Jinzhong, >>> >>> Could you try to add ${ITK_LIBRARIES} to your call of >>> "TARGET_LINK_LIBRARIES"? >>> >>> Francois >>> >>> >>> >>> On Mon, Sep 26, 2016 at 6:39 PM, Yang, Jinzhong >>> wrote: >>> >>> Hi Matt, >>> >>> When I built ITK, I turned on ITKV3_COMPATIBILITY. Could this cause the >>> problem? >>> Thanks, >>> -Jinzhong >>> >>> >>> -----Original Message----- >>> From: Matt McCormick [mailto:matt.mccormick at kitware.com] >>> Sent: Monday, September 26, 2016 2:57 PM >>> To: Yang, Jinzhong >>> >>> Cc: Insight-users >>> Subject: Re: [ITK-users] ITK build_shared_libs >>> >>> Hi Jinzhong, >>> >>> Does replacing link_libraries calls with target_link_libraries address >>> the issue (this should be done regardless)? >>> >>> HTH, >>> Matt >>> >>> On Mon, Sep 26, 2016 at 3:53 PM, Yang, Jinzhong >>> wrote: >>>> Hi Matt, >>>> >>>> >>>> >>>> I use CMake, but the CMakeLists.txt was written for old ITK (3.16). I >>>> recently upgraded to ITK 4.10 in order for a project depending on this >>>> library and GDCM library ( I had trouble to compile that project with ITK >>>> 3.16). I don't want to manually register the factories. I might need to >>>> revise my CMakeLists.txt. Below is my CMakeLists.txt. Please let me know >>>> if >>>> there is anything wrong here. To help you understand my problem, I >>>> summarize >>>> my problem below - >>>> >>>> - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project compiled with >>>> "BUILD_SHARED_LIBS", WORK >>>> >>>> - ITK 4.10 compiled with "BUILD_SHARED_LIBS", my project NOT compiled with >>>> "BUILD_SHARED_LIBS", WORK >>>> >>>> - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project NOT compiled >>>> with "BUILD_SHARED_LIBS", WORK >>>> >>>> - ITK 4.10 NOT compiled with "BUILD_SHARED_LIBS", my project compiled with >>>> "BUILD_SHARED_LIBS", NOT WORKING >>>> >>>> >>>> >>>> I prefer to compiling ITK without using shared libs because I don?t want >>>> to >>>> distribute a lot of files to other computers with my program. >>>> >>>> Thank you, >>>> >>>> Jinzhong >>>> >>>> >>>> >>>> //////////////////CMakeLists.txt //////////////////////////// >>>> >>>> CMAKE_MINIMUM_REQUIRED(VERSION 2.6) >>>> >>>> >>>> >>>> PROJECT(ContourWarping) >>>> >>>> >>>> >>>> FIND_PACKAGE(ITK) >>>> >>>> IF(ITK_FOUND) >>>> >>>> INCLUDE(${ITK_USE_FILE}) >>>> >>>> ELSE(ITK_FOUND) >>>> >>>> MESSAGE(FATAL_ERROR >>>> >>>> "ITK not found. Please set ITK_DIR.") >>>> >>>> ENDIF(ITK_FOUND) >>>> >>>> >>>> >>>> FIND_PACKAGE(VTK) >>>> >>>> IF (VTK_FOUND) >>>> >>>> INCLUDE (${VTK_USE_FILE}) >>>> >>>> ELSE (VTK_FOUND) >>>> >>>> MESSAGE(FATAL_ERROR >>>> >>>> "VTK not found. Please set VTK_DIR.") >>>> >>>> ENDIF(VTK_FOUND) >>>> >>>> >>>> >>>> OPTION(BUILD_SHARED_LIBS "Build ContourWarping with shared libraries." >>>> OFF) >>>> >>>> >>>> >>>> OPTION(BUILD_LIB_TEST "Build ContourWarping with testing option enabled." >>>> OFF) >>>> >>>> IF (BUILD_LIB_TEST) >>>> >>>> ADD_DEFINITIONS(-D_LIB_TEST) >>>> >>>> ENDIF(BUILD_LIB_TEST) >>>> >>>> >>>> >>>> LINK_LIBRARIES( >>>> >>>> ${ITK_LIBRARIES} >>>> >>>> ${VTK_LIBRARIES} >>>> >>>> #vtkIO vtkCommon vtkFiltering vtkGraphics >>>> >>>> ) >>>> >>>> >>>> >>>> SET(BOOST_DIR "D:/boost_1_41_0" CACHE PATH "D:/boost_1_41_0") >>>> >>>> >>>> >>>> IF (CMAKE_SIZEOF_VOID_P EQUAL 8) >>>> >>>> SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage64/lib" CACHE PATH >>>> "D:/boost_1_41_0/stage64/lib") >>>> >>>> ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) >>>> >>>> SET(BOOST_LIB_DIR "D:/boost_1_41_0/stage/lib" CACHE PATH >>>> "D:/boost_1_41_0/stage/lib") >>>> >>>> ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) >>>> >>>> >>>> >>>> INCLUDE_DIRECTORIES( "C:/Program Files/Visual Leak Detector/include" # for >>>> memory leak detection, "vld.h" >>>> >>>> ${BOOST_DIR} #boost >>>> >>>> ${PROJECT_SOURCE_DIR} >>>> >>>> "${PROJECT_SOURCE_DIR}/itkLabelMap" >>>> >>>> >>>> "${PROJECT_SOURCE_DIR}/boost" >>>> >>>> ) >>>> >>>> LINK_DIRECTORIES( ${PROJECT_BINARY_DIR}/${CMAKE_ARCHIVE_OUTPUT_DIRECTORY} >>>> >>>> "C:/Program Files/Visual Leak Detector/lib" # for memory >>>> leak detection, "vld.lib" >>>> >>>> ${BOOST_LIB_DIR} #boost >>>> >>>> ) >>>> >>>> #LINK_DIRECTORIES( ${CMAKE_ARCHIVE_OUTPUT_DIRECTORY}) >>>> >>>> >>>> >>>> SET(SRCS >>>> >>>> stdafx.h >>>> >>>> stdafx.cpp >>>> >>>> ContourWarpingWrapUp.cpp >>>> >>>> PinnacleROIStructInterface.cpp >>>> >>>> BinaryImageRoiPolyInterface.cpp >>>> >>>> contourwarpingparallel.cpp >>>> >>>> ParallelDispatcher.h >>>> >>>> ParallelDispatcher.cpp >>>> >>>> Win32Header.h >>>> >>>> PinnacleROIConvert.cpp >>>> >>>> PinnacleROIConvert.h >>>> >>>> PinnacleROIMesh.cpp >>>> >>>> PinnacleROIMesh.h >>>> >>>> PinnaclePOIConvert.cpp >>>> >>>> PinnaclePOIConvert.h >>>> >>>> PinnacleImage.cpp >>>> >>>> PinnacleImage.txx >>>> >>>> PinnacleImage.h >>>> >>>> Auxiliary.h >>>> >>>> MeshConvertor.cpp >>>> >>>> MeshConvertor.h >>>> >>>> vtkPolyContours.cpp >>>> >>>> vtkPolyContours.h >>>> >>>> vtkVoxelContoursToSurfaceFilterEx.cpp >>>> >>>> vtkVoxelContoursToSurfaceFilterEx.h >>>> >>>> vtkWindowedSincPolyDataFilterEx.cpp >>>> >>>> vtkWindowedSincPolyDataFilterEx.h >>>> >>>> vtkSurfaceToSliceContours.cpp >>>> >>>> vtkSurfaceToSliceContours.h >>>> >>>> vtkSurfaceCutter.cpp >>>> >>>> vtkSurfaceCutter.h >>>> >>>> vtkSurfaceMeshProcess.cpp >>>> >>>> vtkSurfaceMeshProcess.h >>>> >>>> vtkSurfaceDeformation.cpp >>>> >>>> vtkSurfaceDeformation.h >>>> >>>> vtkSurfaceDeformationUsingCatField.cpp >>>> >>>> vtkSurfaceDeformationUsingCatField.h >>>> >>>> vtkSurfaceTransformation.cpp >>>> >>>> vtkSurfaceTransformation.h >>>> >>>> vtkContourProcess.cpp >>>> >>>> vtkContourProcess.h >>>> >>>> vtkSurfaceClipper.cpp >>>> >>>> vtkSurfaceClipper.h >>>> >>>> vtkPolyContoursClipper.cpp >>>> >>>> vtkPolyContoursClipper.h >>>> >>>> vtkUndirectedGraphCPP.cpp >>>> >>>> vtkUndirectedGraphCPP.h >>>> >>>> itkPolygonFill2DBinaryImageFilter.h >>>> >>>> itkPolygonFill2DBinaryImageFilter.txx >>>> >>>> catDeformationField.cpp >>>> >>>> catDeformationField.h >>>> >>>> boundaries.txx >>>> >>>> boundaries.h >>>> >>>> PinnacleROI2ImagesParallel.cpp >>>> >>>> PinnacleROI2ImagesParallel.h >>>> >>>> ) >>>> >>>> >>>> >>>> IF (WIN32) >>>> >>>> SET(SRCS ${SRCS} resource.h ContourWarping.rc) >>>> >>>> ENDIF(WIN32) >>>> >>>> >>>> >>>> >>>> >>>> ADD_LIBRARY(ContourWarping ${SRCS}) >>>> >>>> >>>> >>>> SET(OUTPUTNAME ContourWarping) >>>> >>>> >>>> >>>> IF (BUILD_SHARED_LIBS) >>>> >>>> IF (CMAKE_SIZEOF_VOID_P EQUAL 8) >>>> >>>> SET_TARGET_PROPERTIES(ContourWarping >>>> >>>> >>>> PROPERTIES OUTPUT_NAME ContourWarping64 >>>> >>>> ) >>>> >>>> SET(OUTPUTNAME ContourWarping64) >>>> >>>> ELSE (CMAKE_SIZEOF_VOID_P EQUAL 8) >>>> >>>> SET_TARGET_PROPERTIES(ContourWarping >>>> >>>> >>>> PROPERTIES OUTPUT_NAME ContourWarping32 >>>> >>>> ) >>>> >>>> SET(OUTPUTNAME ContourWarping32) >>>> >>>> ENDIF (CMAKE_SIZEOF_VOID_P EQUAL 8) >>>> >>>> ENDIF (BUILD_SHARED_LIBS) >>>> >>>> >>>> >>>> >>>> >>>> #SET(CMAKE_BUILD_TYPE Release) >>>> >>>> #INCLUDE(PCHSupport.cmake) >>>> >>>> #ADD_PRECOMPILED_HEADER(ContourWarping stdafx.h) >>>> >>>> >>>> >>>> TARGET_LINK_LIBRARIES( >>>> >>>> ContourWarping >>>> >>>> ${ITK_LIBRARIES} >>>> >>>> ${VTK_LIBRARIES} >>>> >>>> #vtkIO vtkFiltering vtkGraphics >>>> >>>> #debug vld.lib # for memory leak detection >>>> >>>> ) >>>> >>>> >>>> >>>> #SET(TARGET_LIB_VERSION "1.0" CACHE STRING "1.0") >>>> >>>> SET_TARGET_PROPERTIES(ContourWarping >>>> >>>> PROPERTIES VERSION 1.8.8 >>>> >>>> ) >>>> >>>> >>>> >>>> IF (BUILD_SHARED_LIBS) >>>> >>>> SET_TARGET_PROPERTIES(ContourWarping >>>> >>>> PROPERTIES COMPILE_DEFINITIONS "BUILD_DLL" >>>> >>>> ) >>>> >>>> # Need to enable BUILD_SHARED_LIBS in ITK but NOT in VTK >>>> >>>> ENDIF(BUILD_SHARED_LIBS) >>>> >>>> >>>> >>>> IF (WIN32) #enable PCH support & add resource file >>>> >>>> SET_TARGET_PROPERTIES(ContourWarping >>>> >>>> PROPERTIES COMPILE_FLAGS /Yu"stdafx.h" >>>> >>>> ) >>>> >>>> SET_SOURCE_FILES_PROPERTIES(stdafx.cpp >>>> >>>> PROPERTIES COMPILE_FLAGS /Yc"stdafx.h" >>>> >>>> ) >>>> >>>> ENDIF(WIN32) >>>> >>>> >>>> >>>> >>>> >>>> IF (BUILD_LIB_TEST) >>>> >>>> TARGET_LINK_LIBRARIES( >>>> >>>> ContourWarping >>>> >>>> vtkRendering vtkWidgets >>>> >>>> ) >>>> >>>> ENDIF(BUILD_LIB_TEST) >>>> >>>> >>>> >>>> ###### >>>> >>>> ADD_EXECUTABLE( ContourWarpingTest >>>> >>>> testdll.cpp >>>> >>>> ) >>>> >>>> >>>> >>>> TARGET_LINK_LIBRARIES( >>>> >>>> ContourWarpingTest >>>> >>>> ${OUTPUTNAME}.lib >>>> >>>> ) >>>> >>>> >>>> >>>> ADD_DEPENDENCIES( >>>> >>>> ContourWarpingTest >>>> >>>> ContourWarping >>>> >>>> ) >>>> >>>> >>>> >>>> ###### >>>> >>>> ADD_EXECUTABLE( PinnacleROI2BinaryImage >>>> >>>> PinnacleROI2BinaryImage.cpp >>>> >>>> ) >>>> >>>> >>>> >>>> TARGET_LINK_LIBRARIES( >>>> >>>> PinnacleROI2BinaryImage >>>> >>>> ${OUTPUTNAME}.lib >>>> >>>> ) >>>> >>>> >>>> >>>> ADD_DEPENDENCIES( >>>> >>>> PinnacleROI2BinaryImage >>>> >>>> ContourWarping >>>> >>>> ) >>>> >>>> >>>> >>>> ###### >>>> >>>> ADD_EXECUTABLE( PinnacleROIFromBitmap >>>> >>>> PinnacleROIFromBitmap.cpp >>>> >>>> ) >>>> >>>> >>>> >>>> TARGET_LINK_LIBRARIES( >>>> >>>> PinnacleROIFromBitmap >>>> >>>> ${OUTPUTNAME}.lib >>>> >>>> ) >>>> >>>> >>>> >>>> ADD_DEPENDENCIES( >>>> >>>> PinnacleROIFromBitmap >>>> >>>> ContourWarping >>>> >>>> ) >>>> >>>> >>>> >>>> ###### >>>> >>>> ADD_EXECUTABLE( MeshTest >>>> >>>> MeshTest.cpp >>>> >>>> ) >>>> >>>> >>>> >>>> TARGET_LINK_LIBRARIES( >>>> >>>> MeshTest >>>> >>>> ${OUTPUTNAME}.lib >>>> >>>> ) >>>> >>>> >>>> >>>> ADD_DEPENDENCIES( >>>> >>>> MeshTest >>>> >>>> ContourWarping >>>> >>>> ) >>>> >>>> >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: Matt McCormick [mailto:matt.mccormick at kitware.com] >>>> Sent: Monday, September 26, 2016 1:50 PM >>>> To: Yang, Jinzhong >>>> Cc: Francois Budin ; D?enan Zuki? >>>> ; Insight-users >>>> Subject: Re: [ITK-users] ITK build_shared_libs >>>> >>>> >>>> >>>> Hi Jinzhong, >>>> >>>> >>>> >>>> It sounds like you are not using CMake to build the project or using >>>> >>>> it in some non-standard way? There are a few options: >>>> >>>> >>>> >>>> 1) Use CMake to compile the project. >>>> >>>> 2) Set ITK_NO_IO_FACTORY_REGISTER_MANAGER before calling >>>> >>>> "include(${ITK_USE_FILE})", the register the factories manually. >>>> >>>> >>>> >>>> HTH, >>>> >>>> Matt >>>> >>>> >>>> >>>> On Mon, Sep 26, 2016 at 2:32 PM, Yang, Jinzhong >>>> wrote: >>>> >>>>> Still no clue. I checked the file itkImageIOFactoryRegisterManager.h. It >>>> >>>>> seems all classes imported in that header were not linked. However, I >>>>> check >>>> >>>>> all IO libraries, it seems they were all included as dependency. As I >>>> >>>>> mentioned before, if I compiled my code as static library, there is not >>>>> such >>>> >>>>> a problem. >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> Here are all ITK/VTK related libraries passed to my compiler (they are >>>> >>>>> generated by cmake. I enabled ITK_USE_SYSTEM_GDCM in building my ITK): >>>> >>>>> >>>> >>>>> >>>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkdouble-conversion-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itksys-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl_algo-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvnl-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkv3p_netlib-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itknetlib-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkvcl-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkNetlibSlatec-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKStatistics-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKTransform-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOImageBase-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBMP-4.10.lib >>>> >>>>> >>>> >>>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDICT.lib >>>> >>>>> >>>> >>>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmMSFF.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGDCM-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkzlib-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOGIPL-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkjpeg-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOJPEG-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMetaIO-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMeta-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKznz-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKniftiio-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONIFTI-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKNrrdIO-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIONRRD-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkpng-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOPNG-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itktiff-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTIFF-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOVTK-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKLabelMap-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKMesh-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKSpatialObjects-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPath-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKQuadEdgeMesh-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizers-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKPolynomials-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBiasCorrection-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKBioCell-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDICOMParser-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKDeprecated-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOBioRad-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOLSM-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOStimulate-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKEXPAT-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOXML-4.10.lib >>>> >>>>> >>>> >>>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSpatialObjects-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKFEM-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKgiftiio-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMesh-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5_cpp-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\itkhdf5-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOCSV-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOIPL-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOSiemens-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOHDF5-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOMRC-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformBase-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformHDF5-4.10.lib >>>> >>>>> >>>> >>>>> >>>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformInsightLegacy-4.10.lib >>>> >>>>> >>>> >>>>> >>>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKIOTransformMatlab-4.10.lib >>>> >>>>> >>>> >>>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKKLMRegionGrowing-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVTK-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKWatersheds-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKOptimizersv4-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoCore-4.10.lib >>>> >>>>> >>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVideoIO-4.10.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkChartsCore-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonColor-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonDataModel-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMath-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonCore-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksys-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonMisc-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonSystem-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonTransforms-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisCore-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersExtraction-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonExecutionModel-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersCore-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneral-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkCommonComputationalGeometry-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersStatistics-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingFourier-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingCore-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkalglib-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContext2D-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingCore-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeometry-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSources-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingFreeType-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkfreetype-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkzlib-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDICOMParser-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistry-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXML-7.0.lib >>>> >>>>> >>>> >>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOGeometry-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOCore-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOXMLParser-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexpat-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkDomainsChemistryOpenGL2-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingOpenGL2-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingHybrid-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImage-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkmetaio-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjpeg-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkpng-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtktiff-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkglew-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersAMR-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkParallelCore-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLegacy-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersFlowPaths-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersGeneric-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHybrid-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingSources-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersHyperTree-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersImaging-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingGeneral-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersModeling-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallel-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersParallelImaging-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersProgrammable-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSMP-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersSelection-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersTexture-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkFiltersVerdict-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkverdict-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkGeovisCore-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInfovisLayout-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionStyle-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionWidgets-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingAnnotation-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingColor-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolume-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsCore-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkproj4-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOAMR-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5_hl-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkhdf5-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOEnSight-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExodus-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkexoIIc-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkNetCDF_cxx-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOExport-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLabel-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOImport-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOInfovis-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtklibxml2-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOLSDyna-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMINC-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOMovie-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkoggtheora-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIONetCDF-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOPLY-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallel-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkjsoncpp-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOParallelXML-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOSQL-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtksqlite-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkIOVideo-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMath-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingMorphological-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStatistics-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkImagingStencil-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkInteractionImage-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingContextOpenGL2-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingImage-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingLOD-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkRenderingVolumeOpenGL2-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingGenericBridge-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingIOSQL-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkTestingRendering-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsContext2D-7.0.lib >>>> >>>>> >>>> >>>>> D:\VTK-7.0.0\binary-x86\lib\Debug\vtkViewsInfovis-7.0.lib >>>> >>>>> >>>> >>>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmIOD.lib >>>> >>>>> >>>> >>>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmDSED.lib >>>> >>>>> >>>> >>>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmzlib.lib >>>> >>>>> >>>> >>>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmCommon.lib >>>> >>>>> >>>> >>>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmexpat.lib >>>> >>>>> >>>> >>>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg8.lib >>>> >>>>> >>>> >>>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg12.lib >>>> >>>>> >>>> >>>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmjpeg16.lib >>>> >>>>> >>>> >>>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmopenjpeg.lib >>>> >>>>> >>>> >>>>> D:\gdcm-2.6.5\binary-x86\bin\Debug\gdcmcharls.lib >>>> >>>>> >>>> >>>>> rpcrt4.lib >>>> >>>>> >>>> >>>>> >>>>> D:\InsightToolkit-4.10.0\binary-x86\lib\Debug\ITKVNLInstantiation-4.10.lib >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> Thanks, >>>> >>>>> >>>> >>>>> -Jinzhong >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> From: Francois Budin [mailto:francois.budin at kitware.com] >>>> >>>>> Sent: Monday, September 26, 2016 8:04 AM >>>> >>>>> To: D?enan Zuki? >>>> >>>>> Cc: Yang, Jinzhong ; Insight-users >>>> >>>>> >>>> >>>>> Subject: Re: [ITK-users] ITK build_shared_libs >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> Hello, >>>> >>>>> >>>> >>>>> As Dzenan said, your problem most likely comes from a problem with the >>>>> ITK >>>> >>>>> IO factory. You may want to check that in your build directory, you have >>>>> a >>>> >>>>> directory called "ITKIOFactoryRegistration" that is created, and that it >>>> >>>>> contains a file called itkImageIOFactoryRegisterManager.h. This file >>>> >>>>> specifies all the type of images that are automatically registered to the >>>> >>>>> factory. You should compare the list of types included in this header >>>>> file >>>> >>>>> with the list of ITK libraries that is passed to your compiler and make >>>>> sure >>>> >>>>> that it matches. >>>> >>>>> >>>> >>>>> Hope this helps, >>>> >>>>> >>>> >>>>> Francois >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> On Sun, Sep 25, 2016 at 10:36 AM, D?enan Zuki? wrote: >>>> >>>>> >>>> >>>>> Hi Yang, >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> all your link errors are for I/O class factories. Can you read the >>>>> following >>>> >>>>> and see whether it helps you solve the problem? >>>> >>>>> >>>> >>>>> https://itk.org/Wiki/Plugin_IO_mechanisms >>>> >>>>> >>>> >>>>> >>>>> >>>>> https://itk.org/ITKExamples/src/IO/ImageBase/RegisterIOFactories/Documentation.html >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> Regards, >>>> >>>>> >>>> >>>>> D?enan >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> On Fri, Sep 23, 2016 at 6:36 PM, Yang, Jinzhong >>>> >>>>> wrote: >>>> >>>>> >>>> >>>>> Hi all, >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> I have a very weird problem when I try to build my library. I have an old >>>> >>>>> library, previously was built based on ITK 3.16 and VTK 5.8. I built my >>>> >>>>> library to both DLL and static library. By configuring in cmake properly, >>>>> I >>>> >>>>> could build both types of libraries without any problem. Recently, I >>>>> upgrade >>>> >>>>> it to ITK 4.10 and VTK 7.0. If I turned on BUILD_SHARED_LIBS in ITK, >>>>> both >>>> >>>>> DLL and static lib for my library can be compiled and linked, however, I >>>> >>>>> need to include all DLL files from ITK when I would like to distribute my >>>> >>>>> library. I don?t want to do so. Then I turned off BUILD_SHARED_LIBS in >>>>> ITK. >>>> >>>>> The static lib of my library can be built, but the DLL couldn?t. Error >>>> >>>>> happened during the link stage. The error message was attached below. I >>>>> used >>>> >>>>> CMake 3.6.2 + VS 2008 + Windows 7. >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> 2> Creating library >>>> >>>>> >>>>> >>>>> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.lib >>>> >>>>> and object >>>> >>>>> >>>>> >>>>> D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.exp >>>> >>>>> >>>> >>>>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>>> >>>>> function >>>> >>>>> >>>>> >>>>> __unwindfunclet$??0?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@IAE at XZ$0 >>>> >>>>> >>>> >>>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GE5ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GE5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>>> >>>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>>> for >>>> >>>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>>> >>>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GE4ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GE4ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::MRCImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::MRCImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::MRCImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>>> >>>>> function "void __cdecl std::_Debug_order>>> >>>>> std::_Tset_traits,class >>>> >>>>> std::allocator,0> >::iterator>(class std::_Tree>>> >>>>> std::_Tset_traits,class >>>> >>>>> std::allocator,0> >::iterator,class std::_Tree>>> >>>>> std::_Tset_traits,class >>>> >>>>> std::allocator,0> >::iterator,wchar_t const *,unsigned >>>>> int)" >>>> >>>>> >>>>> >>>>> (??$_Debug_order at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WI@Z) >>>> >>>>> >>>> >>>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::MRCImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::MRCImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::MRCImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::MRCImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?MRCImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::MetaImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::MetaImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::MetaImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::MetaImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>>> >>>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>>> for >>>> >>>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>>> >>>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::MetaImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::MetaImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::MetaImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?MetaImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>>> >>>>> function "public: __thiscall std::vector>>> >>>>> itk::BinaryImageToLabelMapFilter,class >>>> >>>>> itk::LabelMap > >::runLength,class >>>> >>>>> std::allocator>>> >>>>> itk::Image,class itk::LabelMap>>> >>>>> itk::LabelObject > >::runLength> >,class std::allocator>>> >>>>> std::vector>>>> itk::Image>>> >>>>> char,2>,class itk::LabelMap > >>>> >>>>>>::runLength,class std::allocator>>> >>>>> itk::BinaryImageToLabelMapFilter,class >>>> >>>>> itk::LabelMap > >::runLength> > > >>>> >>>>>>::~vector>>> >>>>> itk::Image,class itk::LabelMap>>> >>>>> itk::LabelObject > >::runLength,class std::allocator>>> >>>>> itk::BinaryImageToLabelMapFilter,class >>>> >>>>> itk::LabelMap > >::runLength> >,class >>>> >>>>> std::allocator>>> >>>>> itk::BinaryImageToLabelMapFilter,class >>>> >>>>> itk::LabelMap > >::runLength,class >>>> >>>>> std::allocator>>> >>>>> itk::Image,class itk::LabelMap>>> >>>>> itk::LabelObject > >::runLength> > > >(void)" >>>> >>>>> >>>>> >>>>> (??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::BioRadImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?BioRadImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) referenced >>>>> in >>> >>>> >>>>> function "protected: __thiscall std::_Vector_val>>> >>>>> itk::ObjectStore > >>>> >>>>>>::MemoryBlock,class std::allocator>>> >>>>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >>>> >>>>>>::_Vector_val>>> >>>>> itk::SparseFieldLevelSetNode > >::MemoryBlock,class >>>> >>>>> std::allocator>>> >>>>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >>>>> >(class >>>> >>>>> std::allocator>>> >>>>> itk::SparseFieldLevelSetNode > >::MemoryBlock>)" >>>> >>>>> >>>>> >>>>> (??0?$_Vector_val at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE at V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@1@@Z) >>>> >>>>> >>>> >>>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::StimulateImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?StimulateImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::VTKImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::VTKImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::VTKImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::VTKImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>>> >>>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>>> for >>>> >>>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>>> >>>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::VTKImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::VTKImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::VTKImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?VTKImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>>> >>>>> function >>>> >>>>> >>>>> >>>>> __ehhandler$??1?$vector at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@V?$allocator at V?$vector at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@V?$allocator at VrunLength@?$BinaryImageToLabelMapFilter at V?$Image at E$01 at itk@@V?$LabelMap at V?$LabelObject at F$01 at itk@@@2@@itk@@@std@@@std@@@2@@std@@QAE at XZ >>>> >>>>> >>>> >>>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::TIFFImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?TIFFImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::PNGImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::PNGImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::PNGImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>>> >>>>> function "void __cdecl std::_Debug_order2>>> >>>>> std::_Tset_traits,class >>>> >>>>> std::allocator,0> >::iterator>(class std::_Tree>>> >>>>> std::_Tset_traits,class >>>> >>>>> std::allocator,0> >::iterator,class std::_Tree>>> >>>>> std::_Tset_traits,class >>>> >>>>> std::allocator,0> >::iterator,wchar_t const *,unsigned >>>> >>>>> int,struct std::forward_iterator_tag)" >>>> >>>>> >>>>> >>>>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >>>> >>>>> >>>> >>>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::PNGImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::PNGImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::PNGImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::PNGImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?PNGImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::LSMImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::LSMImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::LSMImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>>> >>>>> function "void __cdecl std::_Debug_order2>>> >>>>> std::_Tset_traits,class >>>> >>>>> std::allocator,0> >::iterator>(class std::_Tree>>> >>>>> std::_Tset_traits,class >>>> >>>>> std::allocator,0> >::iterator,class std::_Tree>>> >>>>> std::_Tset_traits,class >>>> >>>>> std::allocator,0> >::iterator,wchar_t const *,unsigned >>>> >>>>> int,struct std::forward_iterator_tag)" >>>> >>>>> >>>>> >>>>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >>>> >>>>> >>>> >>>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::LSMImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::LSMImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::LSMImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::LSMImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?LSMImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::BMPImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::BMPImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>>> >>>>> function "protected: void __thiscall std::vector>>> >>>>> itk::ObjectStore > >>>> >>>>>>::MemoryBlock,class std::allocator>>> >>>>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >>>> >>>>>>::_Tidy(void)" >>>> >>>>> >>>>> >>>>> (?_Tidy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAEXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::BMPImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::BMPImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::BMPImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::BMPImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::BMPImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?BMPImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>>> >>>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>>> for >>>> >>>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>>> >>>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GDCMImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GDCMImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>>> >>>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>>> for >>>> >>>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>>> >>>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::JPEGImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?JPEGImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIConvert.obj : error LNK2019: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>>> >>>>> function "public: __thiscall std::vector>>> >>>>> std::allocator >::~vector>>> >>>>> std::allocator >(void)" >>>> >>>>> (??1?$vector at KV?$allocator at K@std@@@std@@QAE at XZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::HDF5ImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?HDF5ImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GiplImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GiplImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2019: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GiplImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>>> >>>>> function "void __cdecl std::_Debug_order2>>> >>>>> std::_Tset_traits,class >>>> >>>>> std::allocator,0> >::iterator>(class std::_Tree>>> >>>>> std::_Tset_traits,class >>>> >>>>> std::allocator,0> >::iterator,class std::_Tree>>> >>>>> std::_Tset_traits,class >>>> >>>>> std::allocator,0> >::iterator,wchar_t const *,unsigned >>>> >>>>> int,struct std::forward_iterator_tag)" >>>> >>>>> >>>>> >>>>> (??$_Debug_order2 at Viterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@std@@@std@@YAXViterator@?$_Tree at V?$_Tset_traits at KU?$less at K@std@@V?$allocator at K@2@$0A@@std@@@0 at 0PB_WIUforward_iterator_tag@0@@Z) >>>> >>>>> >>>> >>>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GiplImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GiplImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GiplImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::GiplImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?GiplImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIMesh.obj : error LNK2019: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>>> >>>>> function "protected: bool __thiscall std::vector>>> >>>>> itk::ObjectStore > >>>> >>>>>>::MemoryBlock,class std::allocator>>> >>>>> itk::SparseFieldLevelSetNode > >::MemoryBlock> >>>> >>>>>>::_Buy(unsigned int)" >>>> >>>>> >>>>> >>>>> (?_Buy@?$vector at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@V?$allocator at UMemoryBlock@?$ObjectStore at V?$SparseFieldLevelSetNode at V?$Index@$02 at itk@@@itk@@@itk@@@std@@@std@@IAE_NI at Z) >>>> >>>>> >>>> >>>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingwrapup.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::NrrdImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?NrrdImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIConvert.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIMesh.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROI2ImagesParallel.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingwrapup.obj : error LNK2019: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) referenced in >>>> >>>>> function "void __cdecl itk::`anonymous namespace'::`dynamic initializer >>>>> for >>>> >>>>> 'ImageIOFactoryRegisterRegisterList''(void)" >>>> >>>>> (??__EImageIOFactoryRegisterRegisterList@?A0xb54261e9 at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>PinnacleROIStructInterface.obj : error LNK2001: unresolved external >>>>> symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>contourwarpingparallel.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> 2>ParallelDispatcher.obj : error LNK2001: unresolved external symbol >>>> >>>>> "__declspec(dllimport) void __cdecl >>>> >>>>> itk::NiftiImageIOFactoryRegister__Private(void)" >>>> >>>>> (__imp_?NiftiImageIOFactoryRegister__Private at itk@@YAXXZ) >>>> >>>>> >>>> >>>>> >>>>> >>>>> 2>D:\MeshContourDeformation\ContourWarpingLib-x86-dll\Debug\ContourWarping32.dll >>>> >>>>> : fatal error LNK1120: 17 unresolved externals >>>> >>>>> >>>> >>> >>>>> >>>> >>>>> >>>> >>>>> _____________________________________ >>>> >>>>> Powered by www.kitware.com >>>> >>>>> >>>> >>>>> Visit other Kitware open-source projects at >>>> >>>>> http://www.kitware.com/opensource/opensource.html >>>> >>>>> >>>> >>>>> Kitware offers ITK Training Courses, for more information visit: >>>> >>>>> http://www.kitware.com/products/protraining.php >>>> >>>>> >>>> >>>>> Please keep messages on-topic and check the ITK FAQ at: >>>> >>>>> http://www.itk.org/Wiki/ITK_FAQ >>>> >>>>> >>>> >>>>> Follow this link to subscribe/unsubscribe: >>>> >>>>> http://public.kitware.com/mailman/listinfo/insight-users >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> _____________________________________ >>>> >>>>> Powered by www.kitware.com >>>> >>>>> >>>> >>>>> Visit other Kitware open-source projects at >>>> >>>>> http://www.kitware.com/opensource/opensource.html >>>> >>>>> >>>> >>>>> Kitware offers ITK Training Courses, for more information visit: >>>> >>>>> http://www.kitware.com/products/protraining.php >>>> >>>>> >>>> >>>>> Please keep messages on-topic and check the ITK FAQ at: >>>> >>>>> http://www.itk.org/Wiki/ITK_FAQ >>>> >>>>> >>>> >>>>> Follow this link to subscribe/unsubscribe: >>>> >>>>> http://public.kitware.com/mailman/listinfo/insight-users >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> >>>> >>>>> _____________________________________ >>>> >>>>> Powered by www.kitware.com >>>> >>>>> >>>> >>>>> Visit other Kitware open-source projects at >>>> >>>>> http://www.kitware.com/opensource/opensource.html >>>> >>>>> >>>> >>>>> Kitware offers ITK Training Courses, for more information visit: >>>> >>>>> http://www.kitware.com/products/protraining.php >>>> >>>>> >>>> >>>>> Please keep messages on-topic and check the ITK FAQ at: >>>> >>>>> http://www.itk.org/Wiki/ITK_FAQ >>>> >>>>> >>>> >>>>> Follow this link to subscribe/unsubscribe: >>>> >>>>> http://public.kitware.com/mailman/listinfo/insight-users >>>> >>>>> >>> >>> _____________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Kitware offers ITK Training Courses, for more information visit: >>> http://www.kitware.com/products/protraining.php >>> >>> Please keep messages on-topic and check the ITK FAQ at: >>> http://www.itk.org/Wiki/ITK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/insight-users >>> >>> >> > From jp4work at gmail.com Tue Sep 27 17:40:30 2016 From: jp4work at gmail.com (JIA Pei) Date: Tue, 27 Sep 2016 14:40:30 -0700 Subject: [ITK-users] ITK Module, Can I enable all? Message-ID: Hi, all: I'm trying to build ITK-git . Just want to know what modules can I enable? I prefer enable all ???? Module_AnalyzeObjectMapIO OFF Module_AnisotropicDiffusionLBR OFF Module_BridgeNumPy OFF Module_Cuberille OFF Module_FixedPointInverseDispla OFF Module_GenericLabelInterpolato OFF Module_HigherOrderAccurateGrad OFF Module_IOFDF OFF Module_IOSTL OFF Module_IOTransformDCMTK OFF Module_ITKDCMTK OFF Module_ITKIODCMTK OFF Module_ITKIOMINC OFF Module_ITKIOPhilipsREC OFF Module_ITKIOTransformMINC OFF Module_ITKLevelSetsv4Visualiza OFF Module_ITKMINC OFF Module_ITKOpenJPEG OFF Module_ITKReview OFF Module_ITKVideoBridgeOpenCV OFF Module_ITKVideoBridgeVXL OFF Module_ITKVtkGlue OFF Module_LabelErodeDilate OFF Module_LesionSizingToolkit OFF Module_MGHIO OFF Module_MinimalPathExtraction OFF Module_MorphologicalContourInt OFF Module_MultipleImageIterator OFF Module_ParabolicMorphology OFF Module_PerformanceBenchmarking OFF Module_PrincipalComponentsAnal OFF Module_RLEImage OFF Module_SCIFIO OFF Module_SkullStrip OFF Module_SmoothingRecursiveYvvGa OFF Module_SphinxExamples OFF Module_SplitComponents OFF Module_SubdivisionQuadEdgeMesh OFF Module_TubeTKITK OFF Module_TwoProjectionRegistrati OFF Module_VariationalRegistration OFF Module_WikiExamples OFF Cheers -- Pei JIA, Ph.D. Email: jp4work at gmail.com cell in Canada: +1 778-863-5816 cell in China: +86 186-8244-3503 Welcome to Vision Open http://www.visionopen.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ibr_ex at yahoo.com Wed Sep 28 02:38:55 2016 From: ibr_ex at yahoo.com (Ibraheem) Date: Tue, 27 Sep 2016 23:38:55 -0700 (MST) Subject: [ITK-users] Problem displaying a specific slice In-Reply-To: References: <1474998475531-7589285.post@n2.nabble.com> Message-ID: <1475044735531-37588.post@n7.nabble.com> Hi Francois, Thanks for your reply. Sure, it is a runtime error: terminate called after throwing an instance of 'itk::ExceptionObject' what(): /usr/local/include/ITK-4.10/itkImageBase.hxx:187: itk::ERROR: Image(0x1754a90): A spacing of 0 is not allowed: Spacing is [0, 0, 0] I think there are others who had same problem e.g. here Best regards, Ibraheem -- View this message in context: http://itk-users.7.n7.nabble.com/ITK-users-Problem-displaying-a-specific-slice-tp37584p37588.html Sent from the ITK - Users mailing list archive at Nabble.com. From francois.budin at kitware.com Wed Sep 28 09:33:00 2016 From: francois.budin at kitware.com (Francois Budin) Date: Wed, 28 Sep 2016 09:33:00 -0400 Subject: [ITK-users] Problem displaying a specific slice In-Reply-To: <1475044735531-37588.post@n7.nabble.com> References: <1474998475531-7589285.post@n2.nabble.com> <1475044735531-37588.post@n7.nabble.com> Message-ID: Hello Ibraheem, Thanks for the additional information. Would you mind sharing the header of your NRRD file? The header of a NRRD file is in text format. You can open your file with a text editor, or print the beginning of the file in a terminal on a Unix system with one of the following commands: "cat", "more", or "head". Francois On Wed, Sep 28, 2016 at 2:38 AM, Ibraheem via Insight-users < insight-users at itk.org> wrote: > Hi Francois, > Thanks for your reply. Sure, it is a runtime error: > terminate called after throwing an instance of 'itk::ExceptionObject' > what(): /usr/local/include/ITK-4.10/itkImageBase.hxx:187: > itk::ERROR: Image(0x1754a90): A spacing of 0 is not allowed: Spacing is [0, > 0, 0] > I think there are others who had same problem e.g. here > February/047121.html> > Best regards, > Ibraheem > > > > > > > -- > View this message in context: http://itk-users.7.n7.nabble. > com/ITK-users-Problem-displaying-a-specific-slice-tp37584p37588.html > Sent from the ITK - Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From francois.budin at kitware.com Wed Sep 28 09:38:50 2016 From: francois.budin at kitware.com (Francois Budin) Date: Wed, 28 Sep 2016 09:38:50 -0400 Subject: [ITK-users] ITK Module, Can I enable all? In-Reply-To: References: Message-ID: Hello Pei, Would you mind being more specific in what you are trying to build? What do you call ITK-git? Thanks, Francois On Tue, Sep 27, 2016 at 5:40 PM, JIA Pei wrote: > > Hi, all: > > I'm trying to build ITK-git . Just want to know what modules can I enable? > I prefer enable all ???? > > > Module_AnalyzeObjectMapIO OFF > > > > Module_AnisotropicDiffusionLBR OFF > > > > Module_BridgeNumPy OFF > > > > Module_Cuberille OFF > > > > Module_FixedPointInverseDispla OFF > > > > Module_GenericLabelInterpolato OFF > > > > Module_HigherOrderAccurateGrad OFF > > > > Module_IOFDF OFF > > > > Module_IOSTL OFF > > > > Module_IOTransformDCMTK OFF > > > > Module_ITKDCMTK OFF > > > > Module_ITKIODCMTK OFF > > > > Module_ITKIOMINC OFF > > > > Module_ITKIOPhilipsREC OFF > > > > Module_ITKIOTransformMINC OFF > > > > Module_ITKLevelSetsv4Visualiza OFF > > > > Module_ITKMINC OFF > > > > Module_ITKOpenJPEG OFF > > > > Module_ITKReview OFF > > > > Module_ITKVideoBridgeOpenCV OFF > > > > Module_ITKVideoBridgeVXL OFF > > > > Module_ITKVtkGlue OFF > > > > Module_LabelErodeDilate OFF > > > > Module_LesionSizingToolkit OFF > > > > Module_MGHIO OFF > > > > Module_MinimalPathExtraction OFF > > > > Module_MorphologicalContourInt OFF > > > > Module_MultipleImageIterator OFF > > > > Module_ParabolicMorphology OFF > > > > Module_PerformanceBenchmarking OFF > > > > Module_PrincipalComponentsAnal OFF > > > > Module_RLEImage OFF > > > > Module_SCIFIO OFF > > > > Module_SkullStrip OFF > > > > Module_SmoothingRecursiveYvvGa OFF > > > > Module_SphinxExamples OFF > > > > Module_SplitComponents OFF > > > > Module_SubdivisionQuadEdgeMesh OFF > > > > Module_TubeTKITK OFF > > > > Module_TwoProjectionRegistrati OFF > > > > Module_VariationalRegistration OFF > > > > Module_WikiExamples OFF > > > > Cheers > > -- > > Pei JIA, Ph.D. > > Email: jp4work at gmail.com > cell in Canada: +1 778-863-5816 > cell in China: +86 186-8244-3503 > > Welcome to Vision Open > http://www.visionopen.com > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Wed Sep 28 09:52:32 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Wed, 28 Sep 2016 09:52:32 -0400 Subject: [ITK-users] [ITK] ITK Module, Can I enable all? In-Reply-To: References: Message-ID: Hi Pei, you probably don't need them all. Compiling all of the modules in debug mode with static libraries usually takes up 100 gigabytes of disk space. While such testing is welcome, I suggest you take a look at the description of the modules to see whether you will need it or not. I assume you mean current git master by ITK-git. Regards, D?enan On Wed, Sep 28, 2016 at 9:38 AM, Francois Budin wrote: > > Hello Pei, > > Would you mind being more specific in what you are trying to build? What > do you call ITK-git? > Thanks, > > Francois > > On Tue, Sep 27, 2016 at 5:40 PM, JIA Pei wrote: > >> >> Hi, all: >> >> I'm trying to build ITK-git . Just want to know what modules can I >> enable? I prefer enable all ???? >> >> >> Module_AnalyzeObjectMapIO OFF >> >> >> >> Module_AnisotropicDiffusionLBR OFF >> >> >> >> Module_BridgeNumPy OFF >> >> >> >> Module_Cuberille OFF >> >> >> >> Module_FixedPointInverseDispla OFF >> >> >> >> Module_GenericLabelInterpolato OFF >> >> >> >> Module_HigherOrderAccurateGrad OFF >> >> >> >> Module_IOFDF OFF >> >> >> >> Module_IOSTL OFF >> >> >> >> Module_IOTransformDCMTK OFF >> >> >> >> Module_ITKDCMTK OFF >> >> >> >> Module_ITKIODCMTK OFF >> >> >> >> Module_ITKIOMINC OFF >> >> >> >> Module_ITKIOPhilipsREC OFF >> >> >> >> Module_ITKIOTransformMINC OFF >> >> >> >> Module_ITKLevelSetsv4Visualiza OFF >> >> >> >> Module_ITKMINC OFF >> >> >> >> Module_ITKOpenJPEG OFF >> >> >> >> Module_ITKReview OFF >> >> >> >> Module_ITKVideoBridgeOpenCV OFF >> >> >> >> Module_ITKVideoBridgeVXL OFF >> >> >> >> Module_ITKVtkGlue OFF >> >> >> >> Module_LabelErodeDilate OFF >> >> >> >> Module_LesionSizingToolkit OFF >> >> >> >> Module_MGHIO OFF >> >> >> >> Module_MinimalPathExtraction OFF >> >> >> >> Module_MorphologicalContourInt OFF >> >> >> >> Module_MultipleImageIterator OFF >> >> >> >> Module_ParabolicMorphology OFF >> >> >> >> Module_PerformanceBenchmarking OFF >> >> >> >> Module_PrincipalComponentsAnal OFF >> >> >> >> Module_RLEImage OFF >> >> >> >> Module_SCIFIO OFF >> >> >> >> Module_SkullStrip OFF >> >> >> >> Module_SmoothingRecursiveYvvGa OFF >> >> >> >> Module_SphinxExamples OFF >> >> >> >> Module_SplitComponents OFF >> >> >> >> Module_SubdivisionQuadEdgeMesh OFF >> >> >> >> Module_TubeTKITK OFF >> >> >> >> Module_TwoProjectionRegistrati OFF >> >> >> >> Module_VariationalRegistration OFF >> >> >> >> Module_WikiExamples OFF >> >> >> >> Cheers >> >> -- >> >> Pei JIA, Ph.D. >> >> Email: jp4work at gmail.com >> cell in Canada: +1 778-863-5816 >> cell in China: +86 186-8244-3503 >> >> Welcome to Vision Open >> http://www.visionopen.com >> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> >> > > _______________________________________________ > Community mailing list > Community at itk.org > http://public.kitware.com/mailman/listinfo/community > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From blowekamp at mail.nih.gov Wed Sep 28 10:07:22 2016 From: blowekamp at mail.nih.gov (Lowekamp, Bradley (NIH/NLM/LHC) [C]) Date: Wed, 28 Sep 2016 14:07:22 +0000 Subject: [ITK-users] ITK Module, Can I enable all? In-Reply-To: References: Message-ID: <88091364-FF89-420D-B474-0EF6B44BB40B@mail.nih.gov> Hello, There are the internal modules and remote modules. The internal names are ?Module_ITK? something. While external remote modules are named ?Module_? something. More information about Remote modules is here [1]. The internal modules are of high quality and well tested across platforms. Also many modules that are not on by default have additional dependencies for third party libraries such as VTK or DCMTK. I don?t recommend turning on everything with out a particular reason. HTH, Brad [1] https://itk.org/Wiki/ITK/Policy_and_Procedures_for_Adding_Remote_Modules On Sep 27, 2016, at 5:40 PM, JIA Pei > wrote: Hi, all: I'm trying to build ITK-git . Just want to know what modules can I enable? I prefer enable all ???? Module_AnalyzeObjectMapIO OFF Module_AnisotropicDiffusionLBR OFF Module_BridgeNumPy OFF Module_Cuberille OFF Module_FixedPointInverseDispla OFF Module_GenericLabelInterpolato OFF Module_HigherOrderAccurateGrad OFF Module_IOFDF OFF Module_IOSTL OFF Module_IOTransformDCMTK OFF Module_ITKDCMTK OFF Module_ITKIODCMTK OFF Module_ITKIOMINC OFF Module_ITKIOPhilipsREC OFF Module_ITKIOTransformMINC OFF Module_ITKLevelSetsv4Visualiza OFF Module_ITKMINC OFF Module_ITKOpenJPEG OFF Module_ITKReview OFF Module_ITKVideoBridgeOpenCV OFF Module_ITKVideoBridgeVXL OFF Module_ITKVtkGlue OFF Module_LabelErodeDilate OFF Module_LesionSizingToolkit OFF Module_MGHIO OFF Module_MinimalPathExtraction OFF Module_MorphologicalContourInt OFF Module_MultipleImageIterator OFF Module_ParabolicMorphology OFF Module_PerformanceBenchmarking OFF Module_PrincipalComponentsAnal OFF Module_RLEImage OFF Module_SCIFIO OFF Module_SkullStrip OFF Module_SmoothingRecursiveYvvGa OFF Module_SphinxExamples OFF Module_SplitComponents OFF Module_SubdivisionQuadEdgeMesh OFF Module_TubeTKITK OFF Module_TwoProjectionRegistrati OFF Module_VariationalRegistration OFF Module_WikiExamples OFF Cheers -- Pei JIA, Ph.D. Email: jp4work at gmail.com cell in Canada: +1 778-863-5816 cell in China: +86 186-8244-3503 Welcome to Vision Open http://www.visionopen.com _____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.mccormick at kitware.com Wed Sep 28 12:23:54 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Wed, 28 Sep 2016 12:23:54 -0400 Subject: [ITK-users] ITK Module, Can I enable all? In-Reply-To: References: Message-ID: Hello Pei, To add to the other nice suggestions, when ITK_BUILD_DEFAULT_MODULES is ON (the default), all 100+ default modules in ITK are built. More details on enabling modules can be found in the "Advanced Module Configuration" section of the ITK Software Guide: https://itk.org/ITKSoftwareGuide/html/Book1/ITKSoftwareGuide-Book1ch2.html#x27-170002 Welcome to ITK! Matt On Tue, Sep 27, 2016 at 5:40 PM, JIA Pei wrote: > > Hi, all: > > I'm trying to build ITK-git . Just want to know what modules can I enable? I > prefer enable all ???? > > > Module_AnalyzeObjectMapIO OFF > Module_AnisotropicDiffusionLBR OFF > Module_BridgeNumPy OFF > Module_Cuberille OFF > Module_FixedPointInverseDispla OFF > Module_GenericLabelInterpolato OFF > Module_HigherOrderAccurateGrad OFF > Module_IOFDF OFF > Module_IOSTL OFF > Module_IOTransformDCMTK OFF > Module_ITKDCMTK OFF > Module_ITKIODCMTK OFF > Module_ITKIOMINC OFF > Module_ITKIOPhilipsREC OFF > Module_ITKIOTransformMINC OFF > Module_ITKLevelSetsv4Visualiza OFF > Module_ITKMINC OFF > Module_ITKOpenJPEG OFF > Module_ITKReview OFF > Module_ITKVideoBridgeOpenCV OFF > Module_ITKVideoBridgeVXL OFF > Module_ITKVtkGlue OFF > Module_LabelErodeDilate OFF > Module_LesionSizingToolkit OFF > Module_MGHIO OFF > Module_MinimalPathExtraction OFF > Module_MorphologicalContourInt OFF > Module_MultipleImageIterator OFF > Module_ParabolicMorphology OFF > Module_PerformanceBenchmarking OFF > Module_PrincipalComponentsAnal OFF > Module_RLEImage OFF > Module_SCIFIO OFF > Module_SkullStrip OFF > Module_SmoothingRecursiveYvvGa OFF > Module_SphinxExamples OFF > Module_SplitComponents OFF > Module_SubdivisionQuadEdgeMesh OFF > Module_TubeTKITK OFF > Module_TwoProjectionRegistrati OFF > Module_VariationalRegistration OFF > Module_WikiExamples OFF > > > > Cheers > > -- > > Pei JIA, Ph.D. > > Email: jp4work at gmail.com > cell in Canada: +1 778-863-5816 > cell in China: +86 186-8244-3503 > > Welcome to Vision Open > http://www.visionopen.com > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > From swetha.bsharma at gmail.com Thu Sep 29 05:14:24 2016 From: swetha.bsharma at gmail.com (swetha) Date: Thu, 29 Sep 2016 02:14:24 -0700 (MST) Subject: [ITK-users] problem integrating an itk application to c# Message-ID: <1475140464183-7589295.post@n2.nabble.com> Hi, I have developed an application using itk and I am trying to integrate it with c#.I have written a wrapper in c++,in the wrapper application I have included all ITK .libs in the linker input tab.I am still getting unresolved external errors. These are the errors which I am getting: Error 4 error LNK2019: unresolved external symbol __imp__UuidCreate at 4 referenced in function "protected: static bool __cdecl gdcm::UIDGenerator::GenerateUUID(unsigned char *)" (?GenerateUUID at UIDGenerator@gdcm@@KA_NPAE at Z) \ObliquePlaneWrapper\itkgdcmMSFF-4.9.lib(gdcmUIDGenerator.obj) ObliquePlaneWrapper Error 2 error LNK2019: unresolved external symbol _gethostname at 8 referenced in function "public: static bool __cdecl gdcm::System::GetHostName(char * const)" (?GetHostName at System@gdcm@@SA_NQAD at Z) \ObliquePlaneWrapper\itkgdcmCommon-4.9.lib(gdcmSystem.obj) ObliquePlaneWrapper Error 1 error LNK2019: unresolved external symbol _WSACleanup at 0 referenced in function "public: static bool __cdecl gdcm::System::GetHostName(char * const)" (?GetHostName at System@gdcm@@SA_NQAD at Z) \ObliquePlaneWrapper\itkgdcmCommon-4.9.lib(gdcmSystem.obj) ObliquePlaneWrapper Error 3 error LNK2019: unresolved external symbol _WSAStartup at 8 referenced in function "public: static bool __cdecl gdcm::System::GetHostName(char * const)" (?GetHostName at System@gdcm@@SA_NQAD at Z) \ObliquePlaneWrapper\itkgdcmCommon-4.9.lib(gdcmSystem.obj) ObliquePlaneWrapper How do i fix these errors? -swetha -- View this message in context: http://itk-insight-users.2283740.n2.nabble.com/problem-integrating-an-itk-application-to-c-tp7589295.html Sent from the ITK Insight Users mailing list archive at Nabble.com. From ivan.granata.na at gmail.com Thu Sep 29 04:40:41 2016 From: ivan.granata.na at gmail.com (ivan) Date: Thu, 29 Sep 2016 01:40:41 -0700 (MST) Subject: [ITK-users] PatchBasedDenoisingImageFilter Funciton NoiseModel (Java-SimpleITK)? Message-ID: <1475138441833-37598.post@n7.nabble.com> i don't understand how i can specify NoiseModelType ('Rician') in my java code this is my code import org.itk.simple.*; class PatchBasedDenoisingImageFilter { public static void main(String argv[]) { if ( argv.length < 5 ) { System.out.println("Immetti prima: "); return; } org.itk.simple.ImageFileReader reader = new org.itk.simple.ImageFileReader(); reader.setFileName(argv[0]); Image img = reader.execute(); org.itk.simple.PatchBasedDenoisingImageFilter filter = new org.itk.simple.PatchBasedDenoisingImageFilter(); filter.setPatchRadius (Long.valueOf( argv[1] ).longValue() ); filter.setNoiseSigma (Double.valueOf( argv[2] ).doubleValue() ); filter.setNumberOfIterations (Long.valueOf( argv[3] ).longValue() ); Image blurredImg = filter.execute(img); CastImageFilter caster = new CastImageFilter(); caster.setOutputPixelType( img.getPixelIDValue() ); Image castImg = caster.execute( blurredImg ); ImageFileWriter writer = new ImageFileWriter(); writer.setFileName(argv[4]); writer.execute( castImg ); } } -- View this message in context: http://itk-users.7.n7.nabble.com/PatchBasedDenoisingImageFilter-Funciton-NoiseModel-Java-SimpleITK-tp37598.html Sent from the ITK - Users mailing list archive at Nabble.com. From ivan.granata.na at gmail.com Thu Sep 29 04:43:39 2016 From: ivan.granata.na at gmail.com (ivan) Date: Thu, 29 Sep 2016 01:43:39 -0700 (MST) Subject: [ITK-users] Is it possible to work with dicom folder as input and output argument? How? Message-ID: <1475138619059-37599.post@n7.nabble.com> Is it possible to work with dicom folder? i usually work with .nii file (after conversion dicom2nii) but i need to work in dicom directly. For example is it possible in Simp?leITK Java--> function PatchBasedDenoisingImageFilter ... Here It is possibile to enter as input a dicom folder with i have every sigle slices? -- View this message in context: http://itk-users.7.n7.nabble.com/ITK-users-Is-it-possible-to-work-with-dicom-folder-as-input-and-output-argument-How-tp37599.html Sent from the ITK - Users mailing list archive at Nabble.com. From ivan.granata.na at gmail.com Thu Sep 29 04:45:22 2016 From: ivan.granata.na at gmail.com (ivan) Date: Thu, 29 Sep 2016 01:45:22 -0700 (MST) Subject: [ITK-users] SimpleITK for Java Image Fusion and Co-registration? Message-ID: <1475138722111-37600.post@n7.nabble.com> Hi everyone, Does anyone know if there is something in SimpleITK for Java (org.itk.simple) for the Image Fusion Merger and something for co-registration? -- View this message in context: http://itk-users.7.n7.nabble.com/ITK-users-SimpleITK-for-Java-Image-Fusion-and-Co-registration-tp37600.html Sent from the ITK - Users mailing list archive at Nabble.com. From dzenanz at gmail.com Thu Sep 29 08:58:53 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Thu, 29 Sep 2016 08:58:53 -0400 Subject: [ITK-users] PatchBasedDenoisingImageFilter Funciton NoiseModel (Java-SimpleITK)? In-Reply-To: <1475138441833-37598.post@n7.nabble.com> References: <1475138441833-37598.post@n7.nabble.com> Message-ID: Hi Ivan, first the reformatted code: import org.itk.simple.*; class PatchBasedDenoisingImageFilter { public static void main(String argv[]) { if (argv.length < 5) { System.out.println("Immetti prima:"); return; } org.itk.simple.ImageFileReader reader = new org.itk.simple.ImageFileReader(); reader.setFileName(argv[0]); Image img = reader.execute(); org.itk.simple.PatchBasedDenoisingImageFilter filter = new org.itk.simple.PatchBasedDenoisingImageFilter(); filter.setPatchRadius(Long.valueOf(argv[1]).longValue()); filter.setNoiseSigma(Double.valueOf(argv[2]).doubleValue()); filter.setNumberOfIterations(Long.valueOf(argv[3]).longValue()); Image blurredImg = filter.execute(img); CastImageFilter caster = new CastImageFilter(); caster.setOutputPixelType(img.getPixelIDValue()); Image castImg = caster.execute(blurredImg); ImageFileWriter writer = new ImageFileWriter(); writer.setFileName(argv[4]); writer.execute(castImg); } } Have you tried one of these: filter.setNoiseModel(NoiseModelType.RICIAN); filter.setNoiseModel(2); Regards, D?enan On Thu, Sep 29, 2016 at 4:40 AM, ivan wrote: > i don't understand how i can specify NoiseModelType ('Rician') in my java > code > > > this is my code > > > import org.itk.simple.*; class PatchBasedDenoisingImageFilter { public > static void main(String argv[]) { if ( argv.length < 5 ) { > System.out.println("Immetti prima: > "); return; } org.itk.simple.ImageFileReader reader = new > org.itk.simple.ImageFileReader(); reader.setFileName(argv[0]); Image img = > reader.execute(); org.itk.simple.PatchBasedDenoisingImageFilter filter = > new > org.itk.simple.PatchBasedDenoisingImageFilter(); filter.setPatchRadius > (Long.valueOf( argv[1] ).longValue() ); filter.setNoiseSigma > (Double.valueOf( argv[2] ).doubleValue() ); filter.setNumberOfIterations > (Long.valueOf( argv[3] ).longValue() ); Image blurredImg = > filter.execute(img); CastImageFilter caster = new CastImageFilter(); > caster.setOutputPixelType( img.getPixelIDValue() ); Image castImg = > caster.execute( blurredImg ); ImageFileWriter writer = new > ImageFileWriter(); writer.setFileName(argv[4]); writer.execute( castImg ); > } > } > > > > > > -- > View this message in context: http://itk-users.7.n7.nabble.com/ > PatchBasedDenoisingImageFilter-Funciton-NoiseModel-Java- > SimpleITK-tp37598.html > Sent from the ITK - Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Thu Sep 29 09:00:48 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Thu, 29 Sep 2016 09:00:48 -0400 Subject: [ITK-users] Is it possible to work with dicom folder as input and output argument? How? In-Reply-To: <1475138619059-37599.post@n7.nabble.com> References: <1475138619059-37599.post@n7.nabble.com> Message-ID: Hi Ivan, yes, that should be possible. Take a look at this example in Python: https://itk.org/SimpleITKDoxygen/html/DicomSeriesReader_8py-example.html Regards, D?enan On Thu, Sep 29, 2016 at 4:43 AM, ivan wrote: > Is it possible to work with dicom folder? i usually work with .nii file > (after conversion dicom2nii) but i need to work in dicom directly. > For example is it possible in Simp?leITK Java--> function > PatchBasedDenoisingImageFilter ... Here > It is possibile to enter as input a dicom folder with i have every sigle > slices? > > > > -- > View this message in context: http://itk-users.7.n7.nabble. > com/ITK-users-Is-it-possible-to-work-with-dicom-folder-as- > input-and-output-argument-How-tp37599.html > Sent from the ITK - Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dzenanz at gmail.com Thu Sep 29 09:07:58 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Thu, 29 Sep 2016 09:07:58 -0400 Subject: [ITK-users] SimpleITK for Java Image Fusion and Co-registration? In-Reply-To: <1475138722111-37600.post@n7.nabble.com> References: <1475138722111-37600.post@n7.nabble.com> Message-ID: Hi Ivan, take a look here for registration. I believe it should also be possible to do it in Java. As image fusion can be done on so many ways, depending on what is the objective of the fusion, I don't think there is a filter for that. The closest one is compose , which probably doesn't do what you want. Possible starting point: https://pyscience.wordpress.com/2014/11/02/multi-modal-image-segmentation-with-python-simpleitk/ Regards, D?enan On Thu, Sep 29, 2016 at 4:45 AM, ivan wrote: > Hi everyone, > Does anyone know if there is something in SimpleITK for Java > (org.itk.simple) for the Image Fusion Merger and something for > co-registration? > > > > > > > -- > View this message in context: http://itk-users.7.n7.nabble. > com/ITK-users-SimpleITK-for-Java-Image-Fusion-and-Co- > registration-tp37600.html > Sent from the ITK - Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From blowekamp at mail.nih.gov Thu Sep 29 09:15:54 2016 From: blowekamp at mail.nih.gov (Lowekamp, Bradley (NIH/NLM/LHC) [C]) Date: Thu, 29 Sep 2016 13:15:54 +0000 Subject: [ITK-users] SimpleITK for Java Image Fusion and Co-registration? In-Reply-To: References: <1475138722111-37600.post@n7.nabble.com> Message-ID: <2B425817-1E8E-47CC-B799-CB08A7714DA4@mail.nih.gov> Hello, +1 to all of Dzenan excellent responses! I?d also link to this SimpleITK Python notebook: http://insightsoftwareconsortium.github.io/SimpleITK-Notebooks/21_Transforms_and_Resampling.html This shows using the suggested Compose filter to ?fuse? two images for registration visualization. HTH, Brad On Sep 29, 2016, at 9:07 AM, D?enan Zuki? > wrote: Hi Ivan, take a look here for registration. I believe it should also be possible to do it in Java. As image fusion can be done on so many ways, depending on what is the objective of the fusion, I don't think there is a filter for that. The closest one is compose, which probably doesn't do what you want. Possible starting point: https://pyscience.wordpress.com/2014/11/02/multi-modal-image-segmentation-with-python-simpleitk/ Regards, D?enan On Thu, Sep 29, 2016 at 4:45 AM, ivan > wrote: Hi everyone, Does anyone know if there is something in SimpleITK for Java (org.itk.simple) for the Image Fusion Merger and something for co-registration? -- View this message in context: http://itk-users.7.n7.nabble.com/ITK-users-SimpleITK-for-Java-Image-Fusion-and-Co-registration-tp37600.html Sent from the ITK - Users mailing list archive at Nabble.com. _____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-users _____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From ivan.granata.na at gmail.com Thu Sep 29 08:03:26 2016 From: ivan.granata.na at gmail.com (ivan) Date: Thu, 29 Sep 2016 05:03:26 -0700 (MST) Subject: [ITK-users] PatchBasedDenoisingImageFilter Funciton NoiseModel (Java-SimpleITK)? In-Reply-To: References: <1475138441833-37598.post@n7.nabble.com> Message-ID: <1475150606408-37605.post@n7.nabble.com> Yes Dzenan thankx but i tried and - filter.setNoiseModel(NoiseModelType.RICIAN); Error: NoiseModelType cannot be resolved to a variable - filter.setNoiseModel(2); Error - The method setNoiseModel(PatchBasedDenoisingImageFilter.NoiseModelType) in the type PatchBasedDenoisingImageFilter is not applicable for the arguments (int) argument 'int' but the same is for ("2") String -- View this message in context: http://itk-users.7.n7.nabble.com/ITK-users-PatchBasedDenoisingImageFilter-Funciton-NoiseModel-Java-SimpleITK-tp37598p37605.html Sent from the ITK - Users mailing list archive at Nabble.com. From ivan.granata.na at gmail.com Thu Sep 29 08:05:52 2016 From: ivan.granata.na at gmail.com (ivan) Date: Thu, 29 Sep 2016 05:05:52 -0700 (MST) Subject: [ITK-users] SimpleITK for Java Image Fusion and Co-registration? In-Reply-To: References: <1475138722111-37600.post@n7.nabble.com> Message-ID: <1475150752914-37606.post@n7.nabble.com> ok for Py but Java is not the same -- View this message in context: http://itk-users.7.n7.nabble.com/ITK-users-SimpleITK-for-Java-Image-Fusion-and-Co-registration-tp37600p37606.html Sent from the ITK - Users mailing list archive at Nabble.com. From blowekamp at mail.nih.gov Thu Sep 29 09:38:12 2016 From: blowekamp at mail.nih.gov (Lowekamp, Bradley (NIH/NLM/LHC) [C]) Date: Thu, 29 Sep 2016 13:38:12 +0000 Subject: [ITK-users] PatchBasedDenoisingImageFilter Funciton NoiseModel (Java-SimpleITK)? In-Reply-To: <1475150606408-37605.post@n7.nabble.com> References: <1475138441833-37598.post@n7.nabble.com> <1475150606408-37605.post@n7.nabble.com> Message-ID: <0322AB4E-2772-4CD7-8067-CF6329503C37@mail.nih.gov> Hi, The ?NoseModelType? type is a member of the PatchBasedDenoisingImageFilter. The correct way to use an enum from this type includes the scope of the class. For your case it is: filter.setNoiseModel(PatchBasedDenoisingImageFilter.NoiseModelType.RICIAN) Please note that this is an enum or int not and not a String. Brad > On Sep 29, 2016, at 8:03 AM, ivan wrote: > > Yes Dzenan thankx but i tried and > > - filter.setNoiseModel(NoiseModelType.RICIAN); Error: NoiseModelType cannot > be resolved to a variable > > > - filter.setNoiseModel(2); Error - The method > setNoiseModel(PatchBasedDenoisingImageFilter.NoiseModelType) in the type > PatchBasedDenoisingImageFilter is not applicable for the > arguments (int) > > > argument 'int' but the same is for ("2") String > > > > -- > View this message in context: http://itk-users.7.n7.nabble.com/ITK-users-PatchBasedDenoisingImageFilter-Funciton-NoiseModel-Java-SimpleITK-tp37598p37605.html > Sent from the ITK - Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users From blowekamp at mail.nih.gov Thu Sep 29 09:40:21 2016 From: blowekamp at mail.nih.gov (Lowekamp, Bradley (NIH/NLM/LHC) [C]) Date: Thu, 29 Sep 2016 13:40:21 +0000 Subject: [ITK-users] SimpleITK for Java Image Fusion and Co-registration? In-Reply-To: <1475150752914-37606.post@n7.nabble.com> References: <1475138722111-37600.post@n7.nabble.com> <1475150752914-37606.post@n7.nabble.com> Message-ID: <18387BD2-EF1B-44D0-9259-E197567C7711@mail.nih.gov> The algorithms, methods and parameters are the same, but you are correct that the syntax is a bit different and requires translation. HTH, Brad > On Sep 29, 2016, at 8:05 AM, ivan wrote: > > ok for Py but Java is not the same > > > > -- > View this message in context: http://itk-users.7.n7.nabble.com/ITK-users-SimpleITK-for-Java-Image-Fusion-and-Co-registration-tp37600p37606.html > Sent from the ITK - Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users From ivan.granata.na at gmail.com Thu Sep 29 08:25:59 2016 From: ivan.granata.na at gmail.com (ivan) Date: Thu, 29 Sep 2016 05:25:59 -0700 (MST) Subject: [ITK-users] PatchBasedDenoisingImageFilter Funciton NoiseModel (Java-SimpleITK)? In-Reply-To: <0322AB4E-2772-4CD7-8067-CF6329503C37@mail.nih.gov> References: <1475138441833-37598.post@n7.nabble.com> <1475150606408-37605.post@n7.nabble.com> <0322AB4E-2772-4CD7-8067-CF6329503C37@mail.nih.gov> Message-ID: <1475151959088-37609.post@n7.nabble.com> i tried also - filter.setNoiseModel(PatchBasedDenoisingImageFilter.NoiseModelType.RICIAN) and result is an error: NoiseModelType cannot be resolved or is not a field -- View this message in context: http://itk-users.7.n7.nabble.com/ITK-users-PatchBasedDenoisingImageFilter-Funciton-NoiseModel-Java-SimpleITK-tp37598p37609.html Sent from the ITK - Users mailing list archive at Nabble.com. From blowekamp at mail.nih.gov Thu Sep 29 10:08:12 2016 From: blowekamp at mail.nih.gov (Lowekamp, Bradley (NIH/NLM/LHC) [C]) Date: Thu, 29 Sep 2016 14:08:12 +0000 Subject: [ITK-users] [ITK] PatchBasedDenoisingImageFilter Funciton NoiseModel (Java-SimpleITK)? In-Reply-To: <1475151959088-37609.post@n7.nabble.com> References: <1475138441833-37598.post@n7.nabble.com> <1475150606408-37605.post@n7.nabble.com> <0322AB4E-2772-4CD7-8067-CF6329503C37@mail.nih.gov> <1475151959088-37609.post@n7.nabble.com> Message-ID: <35DD13E1-E149-4E6E-9475-B67EDDEE8B9F@mail.nih.gov> I believe you have conflicting type names in your file. Your class is called PatchBasedDenoisingImageFilter, and so is the imported SimpleITK PatchBasedDenoisingImageFilter. I would suggest: 1) not reusing the same name 2) try the fully qualified name: filter.setNoiseModel(org.itk.simple.PatchBasedDenoisingImageFilter.NoiseModelType.RICIAN); HTH, Brad > On Sep 29, 2016, at 8:25 AM, ivan wrote: > > i tried also - > filter.setNoiseModel(PatchBasedDenoisingImageFilter.NoiseModelType.RICIAN) > > > and result is an error: NoiseModelType cannot be resolved or is not a field > > > > -- > View this message in context: http://itk-users.7.n7.nabble.com/ITK-users-PatchBasedDenoisingImageFilter-Funciton-NoiseModel-Java-SimpleITK-tp37598p37609.html > Sent from the ITK - Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > _______________________________________________ > Community mailing list > Community at itk.org > http://public.kitware.com/mailman/listinfo/community From ivan.granata.na at gmail.com Thu Sep 29 08:50:24 2016 From: ivan.granata.na at gmail.com (ivan) Date: Thu, 29 Sep 2016 05:50:24 -0700 (MST) Subject: [ITK-users] [ITK] PatchBasedDenoisingImageFilter Funciton NoiseModel (Java-SimpleITK)? In-Reply-To: <35DD13E1-E149-4E6E-9475-B67EDDEE8B9F@mail.nih.gov> References: <1475138441833-37598.post@n7.nabble.com> <1475150606408-37605.post@n7.nabble.com> <0322AB4E-2772-4CD7-8067-CF6329503C37@mail.nih.gov> <1475151959088-37609.post@n7.nabble.com> <35DD13E1-E149-4E6E-9475-B67EDDEE8B9F@mail.nih.gov> Message-ID: <1475153424127-37611.post@n7.nabble.com> filter.setNoiseModel(org.itk.simple.PatchBasedDenoisingImageFilter.NoiseModelType.RICIAN); this is good it seems to work Denoising is ok thx Brad ;) now i must resolve coregistration e fusion in java with simple ITK -- View this message in context: http://itk-users.7.n7.nabble.com/ITK-users-PatchBasedDenoisingImageFilter-Funciton-NoiseModel-Java-SimpleITK-tp37598p37611.html Sent from the ITK - Users mailing list archive at Nabble.com. From ivan.granata.na at gmail.com Thu Sep 29 09:30:18 2016 From: ivan.granata.na at gmail.com (ivan) Date: Thu, 29 Sep 2016 06:30:18 -0700 (MST) Subject: [ITK-users] SimpleITK for Java Image Fusion and Co-registration? In-Reply-To: <18387BD2-EF1B-44D0-9259-E197567C7711@mail.nih.gov> References: <1475138722111-37600.post@n7.nabble.com> <1475150752914-37606.post@n7.nabble.com> <18387BD2-EF1B-44D0-9259-E197567C7711@mail.nih.gov> Message-ID: <1475155818302-37612.post@n7.nabble.com> Please Can anyone help me to translate this algorithm in Java? i must write a Co-registration with SimpleITK in Java import SimpleITK as sitk #read the images fixed_image = sitk.ReadImage('training_001_ct.mha', sitk.sitkFloat32) moving_image = sitk.ReadImage('training_001_mr_T1.mha', sitk.sitkFloat32) #initial alignment of the two volumes transform = sitk.CenteredTransformInitializer(fixed_image, moving_image, sitk.Euler3DTransform(), sitk.CenteredTransformInitializerFilter.GEOMETRY) #multi-resolution rigid registration using Mutual Information registration_method = sitk.ImageRegistrationMethod() registration_method.SetMetricAsMattesMutualInformation(numberOfHistogramBins=50) registration_method.SetMetricSamplingStrategy(registration_method.RANDOM) registration_method.SetMetricSamplingPercentage(0.01) registration_method.SetInterpolator(sitk.sitkLinear) registration_method.SetOptimizerAsGradientDescent(learningRate=1.0, numberOfIterations=100, convergenceMinimumValue=1e-6, convergenceWindowSize=10) registration_method.SetOptimizerScalesFromPhysicalShift() registration_method.SetShrinkFactorsPerLevel(shrinkFactors = [4,2,1]) registration_method.SetSmoothingSigmasPerLevel(smoothingSigmas=[2,1,0]) registration_method.SmoothingSigmasAreSpecifiedInPhysicalUnitsOn() registration_method.SetInitialTransform(transform) registration_method.Execute(fixed_image, moving_image) OR DETAILED, THIS ONE #include "itkImageRegistrationMethodv4.h" #include "itkTranslationTransform.h" #include "itkMattesMutualInformationImageToImageMetricv4.h" #include "itkRegularStepGradientDescentOptimizerv4.h" #include "itkImageFileReader.h" #include "itkImageFileWriter.h" #include "itkResampleImageFilter.h" #include "itkCastImageFilter.h" #include "itkCheckerBoardImageFilter.h" // The following section of code implements a Command observer // used to monitor the evolution of the registration process. // #include "itkCommand.h" class CommandIterationUpdate : public itk::Command { public: typedef CommandIterationUpdate Self; typedef itk::Command Superclass; typedef itk::SmartPointer Pointer; itkNewMacro( Self ); protected: CommandIterationUpdate() {}; public: typedef itk::RegularStepGradientDescentOptimizerv4 OptimizerType; typedef const OptimizerType * OptimizerPointer; void Execute(itk::Object *caller, const itk::EventObject & event) ITK_OVERRIDE { Execute( (const itk::Object *)caller, event); } void Execute(const itk::Object * object, const itk::EventObject & event) ITK_OVERRIDE { OptimizerPointer optimizer = static_cast< OptimizerPointer >( object ); if( ! itk::IterationEvent().CheckEvent( &event ) ) { return; } std::cout << optimizer->GetCurrentIteration() << " "; std::cout << optimizer->GetValue() << " "; std::cout << optimizer->GetCurrentPosition() << std::endl; } }; int main( int argc, char *argv[] ) { if( argc < 4 ) { std::cerr << "Missing Parameters " << std::endl; std::cerr << "Usage: " << argv[0]; std::cerr << " fixedImageFile movingImageFile "; std::cerr << "outputImagefile [defaultPixelValue]" << std::endl; std::cerr << "[checkerBoardAfter] [checkerBoardBefore]" << std::endl; std::cerr << "[numberOfBins] [numberOfSamples]"; std::cerr << "[useExplicitPDFderivatives ] " << std::endl; return EXIT_FAILURE; } const unsigned int Dimension = 2; typedef float PixelType; typedef itk::Image< PixelType, Dimension > FixedImageType; typedef itk::Image< PixelType, Dimension > MovingImageType; typedef itk::TranslationTransform< double, Dimension > TransformType; typedef itk::RegularStepGradientDescentOptimizerv4 OptimizerType; typedef itk::ImageRegistrationMethodv4< FixedImageType, MovingImageType, TransformType > RegistrationType; // Software Guide : BeginLatex // // In this example the image types and all registration components, // except the metric, are declared as in Section \ref{sec:IntroductionImageRegistration}. // The Mattes mutual information metric type is instantiated using the image types. // // Software Guide : EndLatex // Software Guide : BeginCodeSnippet typedef itk::MattesMutualInformationImageToImageMetricv4< FixedImageType, MovingImageType > MetricType; // Software Guide : EndCodeSnippet OptimizerType::Pointer optimizer = OptimizerType::New(); RegistrationType::Pointer registration = RegistrationType::New(); registration->SetOptimizer( optimizer ); // Software Guide : BeginLatex // // The metric is created using the \code{New()} method and then // connected to the registration object. // // Software Guide : EndLatex // Software Guide : BeginCodeSnippet MetricType::Pointer metric = MetricType::New(); registration->SetMetric( metric ); // Software Guide : EndCodeSnippet // Software Guide : BeginLatex // // The metric requires the user to specify the number of bins // used to compute the entropy. In a typical application, 50 histogram bins // are sufficient. Note however, that the number of bins may have dramatic // effects on the optimizer's behavior. // // \index{itk::Mattes\-Mutual\-Information\-Image\-To\-Image\-Metricv4!SetNumberOfHistogramBins()} // // Software Guide : EndLatex // Software Guide : BeginCodeSnippet unsigned int numberOfBins = 24; // Software Guide : EndCodeSnippet if( argc > 7 ) { numberOfBins = atoi( argv[7] ); } // Software Guide : BeginCodeSnippet metric->SetNumberOfHistogramBins( numberOfBins ); // Software Guide : EndCodeSnippet // Software Guide : BeginLatex // // To calculate the image gradients, an image gradient calculator based on // ImageFunction is used instead of image gradient filters. Image gradient // methods are defined in the superclass \code{ImageToImageMetricv4}. // // Software Guide : EndLatex // Software Guide : BeginCodeSnippet metric->SetUseMovingImageGradientFilter( false ); metric->SetUseFixedImageGradientFilter( false ); // Software Guide : EndCodeSnippet typedef itk::ImageFileReader< FixedImageType > FixedImageReaderType; typedef itk::ImageFileReader< MovingImageType > MovingImageReaderType; FixedImageReaderType::Pointer fixedImageReader = FixedImageReaderType::New(); MovingImageReaderType::Pointer movingImageReader = MovingImageReaderType::New(); fixedImageReader->SetFileName( argv[1] ); movingImageReader->SetFileName( argv[2] ); registration->SetFixedImage( fixedImageReader->GetOutput() ); registration->SetMovingImage( movingImageReader->GetOutput() ); // Software Guide : BeginLatex // // Notice that in the ITKv4 registration framework, optimizers always try // to minimize the cost function, and the metrics always return a parameter // and derivative result that improves the optimization, so this metric // computes the negative mutual information. // The optimization parameters are tuned for this example, so they are not // exactly the same as the parameters used in Section // \ref{sec:IntroductionImageRegistration}. // // Software Guide : EndLatex // Software Guide : BeginCodeSnippet optimizer->SetLearningRate( 8.00 ); optimizer->SetMinimumStepLength( 0.001 ); optimizer->SetNumberOfIterations( 200 ); optimizer->ReturnBestParametersAndValueOn(); // Software Guide : EndCodeSnippet // Software Guide : BeginLatex // // Note that large values of the learning rate will make the optimizer // unstable. Small values, on the other hand, may result in the optimizer // needing too many iterations in order to walk to the extrema of the cost // function. The easy way of fine tuning this parameter is to start with // small values, probably in the range of $\{1.0,5.0\}$. Once the other // registration parameters have been tuned for producing convergence, you // may want to revisit the learning rate and start increasing its value until // you observe that the optimization becomes unstable. The ideal value for // this parameter is the one that results in a minimum number of iterations // while still keeping a stable path on the parametric space of the // optimization. Keep in mind that this parameter is a multiplicative factor // applied on the gradient of the metric. Therefore, its effect on the // optimizer step length is proportional to the metric values themselves. // Metrics with large values will require you to use smaller values for the // learning rate in order to maintain a similar optimizer behavior. // // Whenever the regular step gradient descent optimizer encounters // change in the direction of movement in the parametric space, it reduces the // size of the step length. The rate at which the step length is reduced is // controlled by a relaxation factor. The default value of the factor is // $0.5$. This value, however may prove to be inadequate for noisy metrics // since they tend to induce erratic movements on the optimizers and // therefore result in many directional changes. In those // conditions, the optimizer will rapidly shrink the step length while it is // still too far from the location of the extrema in the cost function. In // this example we set the relaxation factor to a number higher than the // default in order to prevent the premature shrinkage of the step length. // // \index{itk::Regular\-Step\-Gradient\-Descent\-Optimizer!SetRelaxationFactor()} // // Software Guide : EndLatex // Software Guide : BeginCodeSnippet optimizer->SetRelaxationFactor( 0.8 ); // Software Guide : EndCodeSnippet // Create the Command observer and register it with the optimizer. // CommandIterationUpdate::Pointer observer = CommandIterationUpdate::New(); optimizer->AddObserver( itk::IterationEvent(), observer ); // One level registration process without shrinking and smoothing. // const unsigned int numberOfLevels = 1; RegistrationType::ShrinkFactorsArrayType shrinkFactorsPerLevel; shrinkFactorsPerLevel.SetSize( 1 ); shrinkFactorsPerLevel[0] = 1; RegistrationType::SmoothingSigmasArrayType smoothingSigmasPerLevel; smoothingSigmasPerLevel.SetSize( 1 ); smoothingSigmasPerLevel[0] = 0; registration->SetNumberOfLevels ( numberOfLevels ); registration->SetSmoothingSigmasPerLevel( smoothingSigmasPerLevel ); registration->SetShrinkFactorsPerLevel( shrinkFactorsPerLevel ); // Software Guide : BeginLatex // // Instead of using the whole virtual domain (usually fixed image domain) for the registration, // we can use a spatial sampled point set by supplying an arbitrary point list over which to // evaluate the metric. The point list is expected to be in the \emph{fixed} image domain, and // the points are transformed into the \emph{virtual} domain internally as needed. The user can // define the point set via \code{SetFixedSampledPointSet()}, and the point set is used // by calling \code{SetUsedFixedSampledPointSet()}. // // Also, instead of dealing with the metric directly, the user may define // the sampling percentage and sampling strategy for the registration framework at each level. // In this case, the registration filter manages the sampling operation over the fixed image space // based on the input strategy (REGULAR, RANDOM) and passes the sampled point set to the metric // internally. // // Software Guide : EndLatex // Software Guide : BeginCodeSnippet RegistrationType::MetricSamplingStrategyType samplingStrategy = RegistrationType::RANDOM; // Software Guide : EndCodeSnippet // Software Guide : BeginLatex // // The number of spatial samples to be // used depends on the content of the image. If the images are smooth and do // not contain many details, the number of spatial samples can usually be as low as $1\%$ // of the total number of pixels in the fixed image. On the other hand, if the images are // detailed, it may be necessary to use a much higher proportion, such as $20\%$ to $50\%$. // Increasing the number of samples improves the smoothness of the metric, // and therefore helps when this metric is used in conjunction with // optimizers that rely of the continuity of the metric values. The trade-off, of // course, is that a larger number of samples results in longer computation // times per every evaluation of the metric. // // One mechanism for bringing the metric to its limit is to disable the // sampling and use all the pixels present in the FixedImageRegion. This can // be done with the \code{SetUseFixedSampledPointSet( false )} method. // You may want to try this // option only while you are fine tuning all other parameters of your // registration. We don't use this method in this current example though. // // It has been demonstrated empirically that the number of samples is not a // critical parameter for the registration process. When you start fine // tuning your own registration process, you should start using high values // of number of samples, for example in the range of $20\%$ to $50\%$ of the // number of pixels in the fixed image. Once you have succeeded to register // your images you can then reduce the number of samples progressively until // you find a good compromise on the time it takes to compute one evaluation // of the metric. Note that it is not useful to have very fast evaluations // of the metric if the noise in their values results in more iterations // being required by the optimizer to converge. You must then study the // behavior of the metric values as the iterations progress, just as // illustrated in section~\ref{sec:MonitoringImageRegistration}. // // \index{itk::Mutual\-Information\-Image\-To\-Image\-Metricv4!Trade-offs} // // Software Guide : EndLatex // Software Guide : BeginCodeSnippet double samplingPercentage = 0.20; // Software Guide : EndCodeSnippet // Software Guide : BeginLatex // // In ITKv4, a single virtual domain or spatial sample point set is used for the // all iterations of the registration process. The use of a single sample set results // in a smooth cost function that can improve the functionality of the optimizer. // // Software Guide : EndLatex // Software Guide : BeginCodeSnippet registration->SetMetricSamplingStrategy( samplingStrategy ); registration->SetMetricSamplingPercentage( samplingPercentage ); // Software Guide : EndCodeSnippet try { registration->Update(); std::cout << "Optimizer stop condition: " << registration->GetOptimizer()->GetStopConditionDescription() << std::endl; } catch( itk::ExceptionObject & err ) { std::cerr << "ExceptionObject caught !" << std::endl; std::cerr << err << std::endl; return EXIT_FAILURE; } TransformType::ParametersType finalParameters = registration->GetOutput()->Get()->GetParameters(); double TranslationAlongX = finalParameters[0]; double TranslationAlongY = finalParameters[1]; // For stability reasons it may be desirable to round up the values of translation // unsigned int numberOfIterations = optimizer->GetCurrentIteration(); double bestValue = optimizer->GetValue(); // Print out results // std::cout << std::endl; std::cout << "Result = " << std::endl; std::cout << " Translation X = " << TranslationAlongX << std::endl; std::cout << " Translation Y = " << TranslationAlongY << std::endl; std::cout << " Iterations = " << numberOfIterations << std::endl; std::cout << " Metric value = " << bestValue << std::endl; std::cout << " Stop Condition = " << optimizer->GetStopConditionDescription() << std::endl; // Software Guide : BeginLatex // // Let's execute this example over two of the images provided in // \code{Examples/Data}: // // \begin{itemize} // \item \code{BrainT1SliceBorder20.png} // \item \code{BrainProtonDensitySliceShifted13x17y.png} // \end{itemize} // // \begin{figure} // \center // \includegraphics[width=0.44\textwidth]{BrainT1SliceBorder20} // \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceShifted13x17y} // \itkcaption[Multi-Modality Registration Inputs]{A T1 MRI (fixed image) and a proton // density MRI (moving image) are provided as input to the registration method.} // \label{fig:FixedMovingImageRegistration2} // \end{figure} // // The second image is the result of intentionally translating the image // \code{Brain\-Proton\-Density\-Slice\-Border20.png} by $(13,17)$ // millimeters. Both images have unit-spacing and are shown in Figure // \ref{fig:FixedMovingImageRegistration2}. The registration process // converges after $46$ iterations and produces the following results: // // \begin{verbatim} // Translation X = 13.0204 // Translation Y = 17.0006 // \end{verbatim} // // These values are a very close match to the true misalignment introduced in // the moving image. // // Software Guide : EndLatex typedef itk::ResampleImageFilter< MovingImageType, FixedImageType > ResampleFilterType; ResampleFilterType::Pointer resample = ResampleFilterType::New(); resample->SetTransform( registration->GetTransform() ); resample->SetInput( movingImageReader->GetOutput() ); FixedImageType::Pointer fixedImage = fixedImageReader->GetOutput(); PixelType defaultPixelValue = 100; if( argc > 4 ) { defaultPixelValue = atoi( argv[4] ); } resample->SetSize( fixedImage->GetLargestPossibleRegion().GetSize() ); resample->SetOutputOrigin( fixedImage->GetOrigin() ); resample->SetOutputSpacing( fixedImage->GetSpacing() ); resample->SetOutputDirection( fixedImage->GetDirection() ); resample->SetDefaultPixelValue( defaultPixelValue ); typedef unsigned char OutputPixelType; typedef itk::Image< OutputPixelType, Dimension > OutputImageType; typedef itk::CastImageFilter< FixedImageType, OutputImageType > CastFilterType; typedef itk::ImageFileWriter< OutputImageType > WriterType; WriterType::Pointer writer = WriterType::New(); CastFilterType::Pointer caster = CastFilterType::New(); writer->SetFileName( argv[3] ); caster->SetInput( resample->GetOutput() ); writer->SetInput( caster->GetOutput() ); writer->Update(); // Software Guide : BeginLatex // // \begin{figure} // \center // \includegraphics[width=0.32\textwidth]{ImageRegistration4Output} // \includegraphics[width=0.32\textwidth]{ImageRegistration4CheckerboardBefore} // \includegraphics[width=0.32\textwidth]{ImageRegistration4CheckerboardAfter} // \itkcaption[MattesMutualInformationImageToImageMetricv4 output images]{The mapped // moving image (left) and the composition of fixed and moving images before // (center) and after (right) registration with Mattes mutual information.} // \label{fig:ImageRegistration4Output} // \end{figure} // // The result of resampling the moving image is presented on the left of // Figure \ref{fig:ImageRegistration4Output}. The center and right parts of // the figure present a checkerboard composite of the fixed and moving // images before and after registration respectively. // // Software Guide : EndLatex // // Generate checkerboards before and after registration // typedef itk::CheckerBoardImageFilter< FixedImageType > CheckerBoardFilterType; CheckerBoardFilterType::Pointer checker = CheckerBoardFilterType::New(); checker->SetInput1( fixedImage ); checker->SetInput2( resample->GetOutput() ); caster->SetInput( checker->GetOutput() ); writer->SetInput( caster->GetOutput() ); resample->SetDefaultPixelValue( 0 ); // Before registration TransformType::Pointer identityTransform = TransformType::New(); identityTransform->SetIdentity(); resample->SetTransform( identityTransform ); if( argc > 5 ) { writer->SetFileName( argv[5] ); writer->Update(); } // After registration resample->SetTransform( registration->GetTransform() ); if( argc > 6 ) { writer->SetFileName( argv[6] ); writer->Update(); } // Software Guide : BeginLatex // // \begin{figure} // \center // \includegraphics[width=0.44\textwidth]{ImageRegistration4TraceTranslations} // \includegraphics[width=0.44\textwidth]{ImageRegistration4TraceTranslations2} // \includegraphics[width=0.6\textwidth,height=5cm]{ImageRegistration4TraceMetric} // \itkcaption[MattesMutualInformationImageToImageMetricv4 output plots]{Sequence // of translations and metric values at each iteration of the optimizer.} // \label{fig:ImageRegistration4TraceTranslations} // \end{figure} // // Figure \ref{fig:ImageRegistration4TraceTranslations} (upper-left) shows // the sequence of translations followed by the optimizer as it searched the // parameter space. The upper-right figure presents a closer look at the // convergence basin for the last iterations of the optimizer. The bottom of // the same figure shows the sequence of metric values computed as the // optimizer searched the parameter space. // // Software Guide : EndLatex // Software Guide : BeginLatex // // You must note however that there are a number of non-trivial issues // involved in the fine tuning of parameters for the optimization. For // example, the number of bins used in the estimation of Mutual Information // has a dramatic effect on the performance of the optimizer. In order to // illustrate this effect, the same example has been executed using a range // of different values for the number of bins, from $10$ to $30$. If you // repeat this experiment, you will notice that depending on the number of // bins used, the optimizer's path may get trapped early on in local minima. // Figure \ref{fig:ImageRegistration4TraceTranslationsNumberOfBins} shows the // multiple paths that the optimizer took in the parametric space of the // transform as a result of different selections on the number of bins used // by the Mattes Mutual Information metric. Note that many of the paths die // in local minima instead of reaching the extrema value on the upper right // corner. // // \begin{figure} // \center // \includegraphics[width=0.8\textwidth]{ImageRegistration4TraceTranslationsNumberOfBins} // \itkcaption[MattesMutualInformationImageToImageMetricv4 number of // bins]{Sensitivity of the optimization path to the number of Bins used for // estimating the value of Mutual Information with Mattes et al. approach.} // \label{fig:ImageRegistration4TraceTranslationsNumberOfBins} // \end{figure} // // // Effects such as the one illustrated here highlight how useless is to // compare different algorithms based on a non-exhaustive search of their // parameter setting. It is quite difficult to be able to claim that a // particular selection of parameters represent the best combination for // running a particular algorithm. Therefore, when comparing the performance // of two or more different algorithms, we are faced with the challenge of // proving that none of the algorithms involved in the comparison are being // run with a sub-optimal set of parameters. // // Software Guide : EndLatex // Software Guide : BeginLatex // // The plots in Figures~\ref{fig:ImageRegistration4TraceTranslations} // and~\ref{fig:ImageRegistration4TraceTranslationsNumberOfBins} were // generated using Gnuplot\footnote{\url{http://www.gnuplot.info/}}. // The scripts used for this purpose are available // in the \code{ITKSoftwareGuide} Git repository under the directory // // ~\code{ITKSoftwareGuide/SoftwareGuide/Art}. // // Data for the plots were taken directly from the output that the // Command/Observer in this example prints out to the console. The output // was processed with the UNIX editor // \code{sed}\footnote{\url{http://www.gnu.org/software/sed/sed.html}} in // order to remove commas and brackets that were confusing for Gnuplot's // parser. Both the shell script for running \code{sed} and for running // {Gnuplot} are available in the directory indicated above. You may find // useful to run them in order to verify the results presented here, and to // eventually modify them for profiling your own registrations. // // \index{Open Science} // // Open Science is not just an abstract concept. Open Science is something // to be practiced every day with the simple gesture of sharing information // with your peers, and by providing all the tools that they need for // replicating the results that you are reporting. In Open Science, the only // bad results are those that can not be // replicated\footnote{\url{http://science.creativecommons.org/}}. Science // is dead when people blindly trust authorities~\footnote{For example: // Reviewers of Scientific Journals.} instead of verifying their statements // by performing their own experiments ~\cite{Popper1971,Popper2002}. // // Software Guide : EndLatex return EXIT_SUCCESS; } -- View this message in context: http://itk-users.7.n7.nabble.com/ITK-users-SimpleITK-for-Java-Image-Fusion-and-Co-registration-tp37600p37612.html Sent from the ITK - Users mailing list archive at Nabble.com. From blowekamp at mail.nih.gov Thu Sep 29 10:56:53 2016 From: blowekamp at mail.nih.gov (Lowekamp, Bradley (NIH/NLM/LHC) [C]) Date: Thu, 29 Sep 2016 14:56:53 +0000 Subject: [ITK-users] SimpleITK for Java Image Fusion and Co-registration? In-Reply-To: <1475155818302-37612.post@n7.nabble.com> References: <1475138722111-37600.post@n7.nabble.com> <1475150752914-37606.post@n7.nabble.com> <18387BD2-EF1B-44D0-9259-E197567C7711@mail.nih.gov> <1475155818302-37612.post@n7.nabble.com> Message-ID: <5E715AAE-04D7-474B-8626-669280DD8F9F@mail.nih.gov> I was just working on translating the ImageRegistration1 example to Java. How does this work: http://review.source.kitware.com/#/c/21596/1/Examples/Java/ImageRegistrationMethod1.java Brad > On Sep 29, 2016, at 9:30 AM, ivan wrote: > > Please Can anyone help me to translate this algorithm in Java? > i must write a Co-registration with SimpleITK in Java > > > > import SimpleITK as sitk > > #read the images > fixed_image = sitk.ReadImage('training_001_ct.mha', sitk.sitkFloat32) > moving_image = sitk.ReadImage('training_001_mr_T1.mha', sitk.sitkFloat32) > > #initial alignment of the two volumes > transform = sitk.CenteredTransformInitializer(fixed_image, > moving_image, > sitk.Euler3DTransform(), > > sitk.CenteredTransformInitializerFilter.GEOMETRY) > > #multi-resolution rigid registration using Mutual Information > registration_method = sitk.ImageRegistrationMethod() > registration_method.SetMetricAsMattesMutualInformation(numberOfHistogramBins=50) > registration_method.SetMetricSamplingStrategy(registration_method.RANDOM) > registration_method.SetMetricSamplingPercentage(0.01) > registration_method.SetInterpolator(sitk.sitkLinear) > registration_method.SetOptimizerAsGradientDescent(learningRate=1.0, > numberOfIterations=100, > > convergenceMinimumValue=1e-6, > convergenceWindowSize=10) > registration_method.SetOptimizerScalesFromPhysicalShift() > registration_method.SetShrinkFactorsPerLevel(shrinkFactors = [4,2,1]) > registration_method.SetSmoothingSigmasPerLevel(smoothingSigmas=[2,1,0]) > registration_method.SmoothingSigmasAreSpecifiedInPhysicalUnitsOn() > registration_method.SetInitialTransform(transform) > registration_method.Execute(fixed_image, moving_image) > > > OR DETAILED, THIS ONE > > > > > > #include "itkImageRegistrationMethodv4.h" > #include "itkTranslationTransform.h" > #include "itkMattesMutualInformationImageToImageMetricv4.h" > #include "itkRegularStepGradientDescentOptimizerv4.h" > > > > #include "itkImageFileReader.h" > #include "itkImageFileWriter.h" > > #include "itkResampleImageFilter.h" > #include "itkCastImageFilter.h" > #include "itkCheckerBoardImageFilter.h" > > > // The following section of code implements a Command observer > // used to monitor the evolution of the registration process. > // > #include "itkCommand.h" > class CommandIterationUpdate : public itk::Command > { > public: > typedef CommandIterationUpdate Self; > typedef itk::Command Superclass; > typedef itk::SmartPointer Pointer; > itkNewMacro( Self ); > > protected: > CommandIterationUpdate() {}; > > public: > typedef itk::RegularStepGradientDescentOptimizerv4 OptimizerType; > typedef const OptimizerType * > OptimizerPointer; > > void Execute(itk::Object *caller, const itk::EventObject & event) > ITK_OVERRIDE > { > Execute( (const itk::Object *)caller, event); > } > > void Execute(const itk::Object * object, const itk::EventObject & event) > ITK_OVERRIDE > { > OptimizerPointer optimizer = static_cast< OptimizerPointer >( object ); > if( ! itk::IterationEvent().CheckEvent( &event ) ) > { > return; > } > std::cout << optimizer->GetCurrentIteration() << " "; > std::cout << optimizer->GetValue() << " "; > std::cout << optimizer->GetCurrentPosition() << std::endl; > } > }; > > int main( int argc, char *argv[] ) > { > if( argc < 4 ) > { > std::cerr << "Missing Parameters " << std::endl; > std::cerr << "Usage: " << argv[0]; > std::cerr << " fixedImageFile movingImageFile "; > std::cerr << "outputImagefile [defaultPixelValue]" << std::endl; > std::cerr << "[checkerBoardAfter] [checkerBoardBefore]" << std::endl; > std::cerr << "[numberOfBins] [numberOfSamples]"; > std::cerr << "[useExplicitPDFderivatives ] " << std::endl; > return EXIT_FAILURE; > } > > const unsigned int Dimension = 2; > typedef float PixelType; > > typedef itk::Image< PixelType, Dimension > FixedImageType; > typedef itk::Image< PixelType, Dimension > MovingImageType; > > typedef itk::TranslationTransform< double, Dimension > > TransformType; > typedef itk::RegularStepGradientDescentOptimizerv4 > OptimizerType; > typedef itk::ImageRegistrationMethodv4< > FixedImageType, > MovingImageType, > TransformType > RegistrationType; > > // Software Guide : BeginLatex > // > // In this example the image types and all registration components, > // except the metric, are declared as in Section > \ref{sec:IntroductionImageRegistration}. > // The Mattes mutual information metric type is instantiated using the > image types. > // > // Software Guide : EndLatex > > // Software Guide : BeginCodeSnippet > typedef itk::MattesMutualInformationImageToImageMetricv4< > FixedImageType, > MovingImageType > MetricType; > // Software Guide : EndCodeSnippet > > OptimizerType::Pointer optimizer = OptimizerType::New(); > RegistrationType::Pointer registration = RegistrationType::New(); > > registration->SetOptimizer( optimizer ); > > > // Software Guide : BeginLatex > // > // The metric is created using the \code{New()} method and then > // connected to the registration object. > // > // Software Guide : EndLatex > > // Software Guide : BeginCodeSnippet > MetricType::Pointer metric = MetricType::New(); > registration->SetMetric( metric ); > // Software Guide : EndCodeSnippet > > > // Software Guide : BeginLatex > // > // The metric requires the user to specify the number of bins > // used to compute the entropy. In a typical application, 50 histogram > bins > // are sufficient. Note however, that the number of bins may have > dramatic > // effects on the optimizer's behavior. > // > // > \index{itk::Mattes\-Mutual\-Information\-Image\-To\-Image\-Metricv4!SetNumberOfHistogramBins()} > // > // Software Guide : EndLatex > > // Software Guide : BeginCodeSnippet > unsigned int numberOfBins = 24; > // Software Guide : EndCodeSnippet > > if( argc > 7 ) > { > numberOfBins = atoi( argv[7] ); > } > > > // Software Guide : BeginCodeSnippet > metric->SetNumberOfHistogramBins( numberOfBins ); > // Software Guide : EndCodeSnippet > > // Software Guide : BeginLatex > // > // To calculate the image gradients, an image gradient calculator based > on > // ImageFunction is used instead of image gradient filters. Image > gradient > // methods are defined in the superclass \code{ImageToImageMetricv4}. > // > // Software Guide : EndLatex > > // Software Guide : BeginCodeSnippet > metric->SetUseMovingImageGradientFilter( false ); > metric->SetUseFixedImageGradientFilter( false ); > // Software Guide : EndCodeSnippet > > > typedef itk::ImageFileReader< FixedImageType > FixedImageReaderType; > typedef itk::ImageFileReader< MovingImageType > MovingImageReaderType; > > FixedImageReaderType::Pointer fixedImageReader = > FixedImageReaderType::New(); > MovingImageReaderType::Pointer movingImageReader = > MovingImageReaderType::New(); > > fixedImageReader->SetFileName( argv[1] ); > movingImageReader->SetFileName( argv[2] ); > > registration->SetFixedImage( fixedImageReader->GetOutput() ); > registration->SetMovingImage( movingImageReader->GetOutput() ); > > > // Software Guide : BeginLatex > // > // Notice that in the ITKv4 registration framework, optimizers always try > // to minimize the cost function, and the metrics always return a > parameter > // and derivative result that improves the optimization, so this metric > // computes the negative mutual information. > // The optimization parameters are tuned for this example, so they are > not > // exactly the same as the parameters used in Section > // \ref{sec:IntroductionImageRegistration}. > // > // Software Guide : EndLatex > > // Software Guide : BeginCodeSnippet > optimizer->SetLearningRate( 8.00 ); > optimizer->SetMinimumStepLength( 0.001 ); > optimizer->SetNumberOfIterations( 200 ); > optimizer->ReturnBestParametersAndValueOn(); > // Software Guide : EndCodeSnippet > > // Software Guide : BeginLatex > // > // Note that large values of the learning rate will make the optimizer > // unstable. Small values, on the other hand, may result in the optimizer > // needing too many iterations in order to walk to the extrema of the cost > // function. The easy way of fine tuning this parameter is to start with > // small values, probably in the range of $\{1.0,5.0\}$. Once the other > // registration parameters have been tuned for producing convergence, you > // may want to revisit the learning rate and start increasing its value > until > // you observe that the optimization becomes unstable. The ideal value > for > // this parameter is the one that results in a minimum number of > iterations > // while still keeping a stable path on the parametric space of the > // optimization. Keep in mind that this parameter is a multiplicative > factor > // applied on the gradient of the metric. Therefore, its effect on the > // optimizer step length is proportional to the metric values themselves. > // Metrics with large values will require you to use smaller values for > the > // learning rate in order to maintain a similar optimizer behavior. > // > // Whenever the regular step gradient descent optimizer encounters > // change in the direction of movement in the parametric space, it reduces > the > // size of the step length. The rate at which the step length is reduced > is > // controlled by a relaxation factor. The default value of the factor is > // $0.5$. This value, however may prove to be inadequate for noisy metrics > // since they tend to induce erratic movements on the optimizers and > // therefore result in many directional changes. In those > // conditions, the optimizer will rapidly shrink the step length while it > is > // still too far from the location of the extrema in the cost function. In > // this example we set the relaxation factor to a number higher than the > // default in order to prevent the premature shrinkage of the step length. > // > // > \index{itk::Regular\-Step\-Gradient\-Descent\-Optimizer!SetRelaxationFactor()} > // > // Software Guide : EndLatex > > // Software Guide : BeginCodeSnippet > optimizer->SetRelaxationFactor( 0.8 ); > // Software Guide : EndCodeSnippet > > // Create the Command observer and register it with the optimizer. > // > CommandIterationUpdate::Pointer observer = CommandIterationUpdate::New(); > optimizer->AddObserver( itk::IterationEvent(), observer ); > > // One level registration process without shrinking and smoothing. > // > const unsigned int numberOfLevels = 1; > > RegistrationType::ShrinkFactorsArrayType shrinkFactorsPerLevel; > shrinkFactorsPerLevel.SetSize( 1 ); > shrinkFactorsPerLevel[0] = 1; > > RegistrationType::SmoothingSigmasArrayType smoothingSigmasPerLevel; > smoothingSigmasPerLevel.SetSize( 1 ); > smoothingSigmasPerLevel[0] = 0; > > registration->SetNumberOfLevels ( numberOfLevels ); > registration->SetSmoothingSigmasPerLevel( smoothingSigmasPerLevel ); > registration->SetShrinkFactorsPerLevel( shrinkFactorsPerLevel ); > > // Software Guide : BeginLatex > // > // Instead of using the whole virtual domain (usually fixed image domain) > for the registration, > // we can use a spatial sampled point set by supplying an arbitrary point > list over which to > // evaluate the metric. The point list is expected to be in the > \emph{fixed} image domain, and > // the points are transformed into the \emph{virtual} domain internally as > needed. The user can > // define the point set via \code{SetFixedSampledPointSet()}, and the > point set is used > // by calling \code{SetUsedFixedSampledPointSet()}. > // > // Also, instead of dealing with the metric directly, the user may define > // the sampling percentage and sampling strategy for the registration > framework at each level. > // In this case, the registration filter manages the sampling operation > over the fixed image space > // based on the input strategy (REGULAR, RANDOM) and passes the sampled > point set to the metric > // internally. > // > // Software Guide : EndLatex > > // Software Guide : BeginCodeSnippet > RegistrationType::MetricSamplingStrategyType samplingStrategy = > RegistrationType::RANDOM; > // Software Guide : EndCodeSnippet > > // Software Guide : BeginLatex > // > // The number of spatial samples to be > // used depends on the content of the image. If the images are smooth and > do > // not contain many details, the number of spatial samples can usually be > as low as $1\%$ > // of the total number of pixels in the fixed image. On the other hand, if > the images are > // detailed, it may be necessary to use a much higher proportion, such as > $20\%$ to $50\%$. > // Increasing the number of samples improves the smoothness of the metric, > // and therefore helps when this metric is used in conjunction with > // optimizers that rely of the continuity of the metric values. The > trade-off, of > // course, is that a larger number of samples results in longer > computation > // times per every evaluation of the metric. > // > // One mechanism for bringing the metric to its limit is to disable the > // sampling and use all the pixels present in the FixedImageRegion. This > can > // be done with the \code{SetUseFixedSampledPointSet( false )} method. > // You may want to try this > // option only while you are fine tuning all other parameters of your > // registration. We don't use this method in this current example though. > // > // It has been demonstrated empirically that the number of samples is not > a > // critical parameter for the registration process. When you start fine > // tuning your own registration process, you should start using high > values > // of number of samples, for example in the range of $20\%$ to $50\%$ of > the > // number of pixels in the fixed image. Once you have succeeded to > register > // your images you can then reduce the number of samples progressively > until > // you find a good compromise on the time it takes to compute one > evaluation > // of the metric. Note that it is not useful to have very fast evaluations > // of the metric if the noise in their values results in more iterations > // being required by the optimizer to converge. You must then study the > // behavior of the metric values as the iterations progress, just as > // illustrated in section~\ref{sec:MonitoringImageRegistration}. > // > // \index{itk::Mutual\-Information\-Image\-To\-Image\-Metricv4!Trade-offs} > // > // Software Guide : EndLatex > > // Software Guide : BeginCodeSnippet > double samplingPercentage = 0.20; > // Software Guide : EndCodeSnippet > > // Software Guide : BeginLatex > // > // In ITKv4, a single virtual domain or spatial sample point set is used > for the > // all iterations of the registration process. The use of a single sample > set results > // in a smooth cost function that can improve the functionality of the > optimizer. > // > // Software Guide : EndLatex > > // Software Guide : BeginCodeSnippet > registration->SetMetricSamplingStrategy( samplingStrategy ); > registration->SetMetricSamplingPercentage( samplingPercentage ); > // Software Guide : EndCodeSnippet > > try > { > registration->Update(); > std::cout << "Optimizer stop condition: " > << registration->GetOptimizer()->GetStopConditionDescription() > << std::endl; > } > catch( itk::ExceptionObject & err ) > { > std::cerr << "ExceptionObject caught !" << std::endl; > std::cerr << err << std::endl; > return EXIT_FAILURE; > } > > TransformType::ParametersType finalParameters = > > registration->GetOutput()->Get()->GetParameters(); > > double TranslationAlongX = finalParameters[0]; > double TranslationAlongY = finalParameters[1]; > > // For stability reasons it may be desirable to round up the values of > translation > // > unsigned int numberOfIterations = optimizer->GetCurrentIteration(); > > double bestValue = optimizer->GetValue(); > > > // Print out results > // > std::cout << std::endl; > std::cout << "Result = " << std::endl; > std::cout << " Translation X = " << TranslationAlongX << std::endl; > std::cout << " Translation Y = " << TranslationAlongY << std::endl; > std::cout << " Iterations = " << numberOfIterations << std::endl; > std::cout << " Metric value = " << bestValue << std::endl; > std::cout << " Stop Condition = " << > optimizer->GetStopConditionDescription() << std::endl; > > // Software Guide : BeginLatex > // > // Let's execute this example over two of the images provided in > // \code{Examples/Data}: > // > // \begin{itemize} > // \item \code{BrainT1SliceBorder20.png} > // \item \code{BrainProtonDensitySliceShifted13x17y.png} > // \end{itemize} > // > // \begin{figure} > // \center > // \includegraphics[width=0.44\textwidth]{BrainT1SliceBorder20} > // > \includegraphics[width=0.44\textwidth]{BrainProtonDensitySliceShifted13x17y} > // \itkcaption[Multi-Modality Registration Inputs]{A T1 MRI (fixed image) > and a proton > // density MRI (moving image) are provided as input to the registration > method.} > // \label{fig:FixedMovingImageRegistration2} > // \end{figure} > // > // The second image is the result of intentionally translating the image > // \code{Brain\-Proton\-Density\-Slice\-Border20.png} by $(13,17)$ > // millimeters. Both images have unit-spacing and are shown in Figure > // \ref{fig:FixedMovingImageRegistration2}. The registration process > // converges after $46$ iterations and produces the following results: > // > // \begin{verbatim} > // Translation X = 13.0204 > // Translation Y = 17.0006 > // \end{verbatim} > // > // These values are a very close match to the true misalignment > introduced in > // the moving image. > // > // Software Guide : EndLatex > > typedef itk::ResampleImageFilter< > MovingImageType, > FixedImageType > ResampleFilterType; > > ResampleFilterType::Pointer resample = ResampleFilterType::New(); > > resample->SetTransform( registration->GetTransform() ); > resample->SetInput( movingImageReader->GetOutput() ); > > FixedImageType::Pointer fixedImage = fixedImageReader->GetOutput(); > > PixelType defaultPixelValue = 100; > > if( argc > 4 ) > { > defaultPixelValue = atoi( argv[4] ); > } > > resample->SetSize( fixedImage->GetLargestPossibleRegion().GetSize() ); > resample->SetOutputOrigin( fixedImage->GetOrigin() ); > resample->SetOutputSpacing( fixedImage->GetSpacing() ); > resample->SetOutputDirection( fixedImage->GetDirection() ); > resample->SetDefaultPixelValue( defaultPixelValue ); > > > typedef unsigned char OutputPixelType; > > typedef itk::Image< OutputPixelType, Dimension > OutputImageType; > > typedef itk::CastImageFilter< > FixedImageType, > OutputImageType > CastFilterType; > > typedef itk::ImageFileWriter< OutputImageType > WriterType; > > WriterType::Pointer writer = WriterType::New(); > CastFilterType::Pointer caster = CastFilterType::New(); > > writer->SetFileName( argv[3] ); > > caster->SetInput( resample->GetOutput() ); > writer->SetInput( caster->GetOutput() ); > writer->Update(); > > > // Software Guide : BeginLatex > // > // \begin{figure} > // \center > // \includegraphics[width=0.32\textwidth]{ImageRegistration4Output} > // > \includegraphics[width=0.32\textwidth]{ImageRegistration4CheckerboardBefore} > // > \includegraphics[width=0.32\textwidth]{ImageRegistration4CheckerboardAfter} > // \itkcaption[MattesMutualInformationImageToImageMetricv4 output > images]{The mapped > // moving image (left) and the composition of fixed and moving images > before > // (center) and after (right) registration with Mattes mutual > information.} > // \label{fig:ImageRegistration4Output} > // \end{figure} > // > // The result of resampling the moving image is presented on the left of > // Figure \ref{fig:ImageRegistration4Output}. The center and right parts > of > // the figure present a checkerboard composite of the fixed and moving > // images before and after registration respectively. > // > // Software Guide : EndLatex > > > // > // Generate checkerboards before and after registration > // > typedef itk::CheckerBoardImageFilter< FixedImageType > > CheckerBoardFilterType; > > CheckerBoardFilterType::Pointer checker = CheckerBoardFilterType::New(); > > checker->SetInput1( fixedImage ); > checker->SetInput2( resample->GetOutput() ); > > caster->SetInput( checker->GetOutput() ); > writer->SetInput( caster->GetOutput() ); > > resample->SetDefaultPixelValue( 0 ); > > // Before registration > TransformType::Pointer identityTransform = TransformType::New(); > identityTransform->SetIdentity(); > resample->SetTransform( identityTransform ); > > if( argc > 5 ) > { > writer->SetFileName( argv[5] ); > writer->Update(); > } > > > // After registration > resample->SetTransform( registration->GetTransform() ); > if( argc > 6 ) > { > writer->SetFileName( argv[6] ); > writer->Update(); > } > > > // Software Guide : BeginLatex > // > // \begin{figure} > // \center > // > \includegraphics[width=0.44\textwidth]{ImageRegistration4TraceTranslations} > // > \includegraphics[width=0.44\textwidth]{ImageRegistration4TraceTranslations2} > // > \includegraphics[width=0.6\textwidth,height=5cm]{ImageRegistration4TraceMetric} > // \itkcaption[MattesMutualInformationImageToImageMetricv4 output > plots]{Sequence > // of translations and metric values at each iteration of the optimizer.} > // \label{fig:ImageRegistration4TraceTranslations} > // \end{figure} > // > // Figure \ref{fig:ImageRegistration4TraceTranslations} (upper-left) > shows > // the sequence of translations followed by the optimizer as it searched > the > // parameter space. The upper-right figure presents a closer look at the > // convergence basin for the last iterations of the optimizer. The bottom > of > // the same figure shows the sequence of metric values computed as the > // optimizer searched the parameter space. > // > // Software Guide : EndLatex > > // Software Guide : BeginLatex > // > // You must note however that there are a number of non-trivial issues > // involved in the fine tuning of parameters for the optimization. For > // example, the number of bins used in the estimation of Mutual > Information > // has a dramatic effect on the performance of the optimizer. In order to > // illustrate this effect, the same example has been executed using a > range > // of different values for the number of bins, from $10$ to $30$. If you > // repeat this experiment, you will notice that depending on the number of > // bins used, the optimizer's path may get trapped early on in local > minima. > // Figure \ref{fig:ImageRegistration4TraceTranslationsNumberOfBins} shows > the > // multiple paths that the optimizer took in the parametric space of the > // transform as a result of different selections on the number of bins > used > // by the Mattes Mutual Information metric. Note that many of the paths > die > // in local minima instead of reaching the extrema value on the upper > right > // corner. > // > // \begin{figure} > // \center > // > \includegraphics[width=0.8\textwidth]{ImageRegistration4TraceTranslationsNumberOfBins} > // \itkcaption[MattesMutualInformationImageToImageMetricv4 number of > // bins]{Sensitivity of the optimization path to the number of Bins used > for > // estimating the value of Mutual Information with Mattes et al. > approach.} > // \label{fig:ImageRegistration4TraceTranslationsNumberOfBins} > // \end{figure} > // > // > // Effects such as the one illustrated here highlight how useless is to > // compare different algorithms based on a non-exhaustive search of their > // parameter setting. It is quite difficult to be able to claim that a > // particular selection of parameters represent the best combination for > // running a particular algorithm. Therefore, when comparing the > performance > // of two or more different algorithms, we are faced with the challenge of > // proving that none of the algorithms involved in the comparison are > being > // run with a sub-optimal set of parameters. > // > // Software Guide : EndLatex > > > // Software Guide : BeginLatex > // > // The plots in Figures~\ref{fig:ImageRegistration4TraceTranslations} > // and~\ref{fig:ImageRegistration4TraceTranslationsNumberOfBins} were > // generated using Gnuplot\footnote{\url{http://www.gnuplot.info/}}. > // The scripts used for this purpose are available > // in the \code{ITKSoftwareGuide} Git repository under the directory > // > // ~\code{ITKSoftwareGuide/SoftwareGuide/Art}. > // > // Data for the plots were taken directly from the output that the > // Command/Observer in this example prints out to the console. The output > // was processed with the UNIX editor > // \code{sed}\footnote{\url{http://www.gnu.org/software/sed/sed.html}} in > // order to remove commas and brackets that were confusing for Gnuplot's > // parser. Both the shell script for running \code{sed} and for running > // {Gnuplot} are available in the directory indicated above. You may find > // useful to run them in order to verify the results presented here, and > to > // eventually modify them for profiling your own registrations. > // > // \index{Open Science} > // > // Open Science is not just an abstract concept. Open Science is > something > // to be practiced every day with the simple gesture of sharing > information > // with your peers, and by providing all the tools that they need for > // replicating the results that you are reporting. In Open Science, the > only > // bad results are those that can not be > // replicated\footnote{\url{http://science.creativecommons.org/}}. > Science > // is dead when people blindly trust authorities~\footnote{For example: > // Reviewers of Scientific Journals.} instead of verifying their > statements > // by performing their own experiments ~\cite{Popper1971,Popper2002}. > // > // Software Guide : EndLatex > > > return EXIT_SUCCESS; > } > > > > > > > > -- > View this message in context: http://itk-users.7.n7.nabble.com/ITK-users-SimpleITK-for-Java-Image-Fusion-and-Co-registration-tp37600p37612.html > Sent from the ITK - Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users From matt.mccormick at kitware.com Thu Sep 29 17:47:16 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Thu, 29 Sep 2016 17:47:16 -0400 Subject: [ITK-users] [ITK] error using Richard-Lucy deconvolution In-Reply-To: <57d2c66c.1d21370a.b7707.edcdSMTPIN_ADDED_BROKEN@mx.google.com> References: <1473353166441-7589179.post@n2.nabble.com> <25402805-5FF6-4A71-83EE-B01F94FFD8C5@mail.nih.gov> <57d2c66c.1d21370a.b7707.edcdSMTPIN_ADDED_BROKEN@mx.google.com> Message-ID: Hi Francisco, I think you found a bug -- the kernel should not require the same Origin as the input image. Please review this patch: http://review.source.kitware.com/#/c/21598/ Thanks, Matt On Fri, Sep 9, 2016 at 10:25 AM, Francisco Oliveira wrote: > Thanks Brad, your suggestion solved my problem. > First we need forcing the input image to have spacing=[1, 1, 1], origin=[0, 0, 0] and the direction equals to identity matrix. Then we can apply the filter and after we set back the original spacing, origin and directions to the deconvoluted image (of course we need to save them before). > > Francisco > > > -----Mensagem original----- > De: Lowekamp, Bradley (NIH/NLM/LHC) [C] [mailto:blowekamp at mail.nih.gov] > Enviada: sexta-feira, 9 de setembro de 2016 13:56 > Para: Francisco Oliveira; Cory Quammen > Cc: Matt McCormick; ITK > Assunto: Re: [ITK-users] error using Richard-Lucy deconvolution > > Hello, > > I was able to reproduce your problem in SimpleITK: > > In [1]: import SimpleITK as sitk > > In [2]: img = sitk.ReadImage("/scratch/blowekamp/build/itkSimpleFilters/ExternalData/test/Input/DSA.png") > > In [3]: img = sitk.VectorIndexSelectionCast(img, 0, sitk.sitkFloat32) > > In [4]: k = sitk.Image(11,11, sitk.sitkFloat32) > > In [5]: k[5,4]=.01; k[5,5]=1 > > In [6]: out = sitk.RichardsonLucyDeconvolution(img,k) > > ????????? > NOTE: OK with both origins of 0 > ????????? > > > In [7]: sitk.Show(out) > > > In [9]: img.SetOrigin([10,10]) > > In [10]: out = sitk.RichardsonLucyDeconvolution(img,k) > --------------------------------------------------------------------------- > RuntimeError Traceback (most recent call last) > in () > ----> 1 out = sitk.RichardsonLucyDeconvolution(img,k) > > /home/blowekamp/.virtualenvs/sitk-test/lib/python2.7/site-packages/SimpleITK/SimpleITK.pyc in RichardsonLucyDeconvolution(*args, **kwargs) > 57544 > 57545 """ >> 57546 return _SimpleITK.RichardsonLucyDeconvolution(*args, **kwargs) > 57547 class STAPLEImageFilter(ImageFilter_3): > 57548 """ > > RuntimeError: Exception thrown in SimpleITK RichardsonLucyDeconvolution: /tmp/SimpleITK-build/ITK-prefix/include/ITK-4.10/itkImageToImageFilter.hxx:250: > itk::ERROR: DivideOrZeroOutImageFilter(0x4085740): Inputs do not occupy the same physical space! > InputImage Origin: [1.0000000e+01, 1.0000000e+01], InputImage_1 Origin: [0.0000000e+00, 0.0000000e+00] > Tolerance: 1.0000000e-06 > > In [11]: out = sitk.WienerDeconvolution(img,k) > > In [12]: out = sitk.TikhonovDeconvolution(img,k) > > > > > You should be able to set with images to the same origin to bypass this exception. > > > I am not sure if this filter is suppose to require that both images have the same grids or not. If it does, the check should happen earlier on in the VerifyInputInformation method. > > But as other Deconvolution filters I tested in SimpleITK seem to expect different origins, I think it may be a bug in this filter. > > Brad > >> On Sep 9, 2016, at 3:42 AM, Francisco Oliveira wrote: >> >> Hi Matt, >> I already tried that and it didn't work. Independently the kernel image I use the error is the same and the origin and spacing are always the same [0, 0, 0] and [1, 1, 1], respectively. >> >> Francisco >> >> -----Mensagem original----- >> De: Matt McCormick [mailto:matt.mccormick at kitware.com] >> Enviada: quinta-feira, 8 de setembro de 2016 19:22 >> Para: Francisco >> Cc: insight-users at itk.org >> Assunto: Re: [ITK-users] error using Richard-Lucy deconvolution >> >> Hi Francisco, >> >> As the error message indicates, the filter requires both inputs to have the same "information", i.e. Origin and Spacing, since it assumes that they occupy the same domain in physical space. >> >> HTH, >> Matt >> >> On Thu, Sep 8, 2016 at 12:46 PM, Francisco wrote: >>> Hi all, >>> I'm trying to use itkRichardLucyDeconvolutionImageFilter but I have >>> always the following error independently of the size, origin, >>> spacing, ... of the input image and the kernel image. If I use other >>> deconvolution filter (for instance >>> itkLandweberDeconvolutionImageFilter) it works perfectly. I?m using the code example available in the ITK. I'm using itk-4.4.0 and VS2008. >>> >>> itk::ExceptionObject (0185E9CC) >>> Location: "unknown" >>> File: >>> c:\libraries\itk-4.4.0\source\modules\core\common\include\itkImageToI >>> m >>> ageF >>> ilter.hxx >>> Line: 247 >>> Description: itk::ERROR: DivideOrZeroOutImageFilter(03631DB0): Inputs >>> do not occupy the same physical space! >>> InputImage Origin: [-2.8658594e+002, -2.1658594e+002, >>> 9.9893402e+002], >>> InputImage_1 Origin: [0.0000000e+000, 0.0000000e+000, 0.0000000e+000] >>> Tolerance: 4.0000000e-006 >>> InputImage Spacing: [4.0000000e+000, 4.0000000e+000, 4.0000000e+000], >>> InputImage_1 Spacing: [1.0000000e+000, 1.0000000e+000, 1.0000000e+000] >>> Tolerance: 4.0000000e-006 >>> >>> >>> >>> >>> -- >>> View this message in context: >>> http://itk-insight-users.2283740.n2.nabble.com/error-using-Richard-Lu >>> c y-deconvolution-tp7589179.html Sent from the ITK Insight Users >>> mailing list archive at Nabble.com. >>> _____________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Kitware offers ITK Training Courses, for more information visit: >>> http://www.kitware.com/products/protraining.php >>> >>> Please keep messages on-topic and check the ITK FAQ at: >>> http://www.itk.org/Wiki/ITK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/insight-users >> >> ----- >> N?o foram detetados v?rus nesta mensagem. >> Verificado por AVG - www.avg.com >> Vers?o: 2016.0.7752 / Base de dados de V?rus: 4649/12974 - Data de >> Lan?amento: 09/08/16 >> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users > > > ----- > N?o foram detetados v?rus nesta mensagem. > Verificado por AVG - www.avg.com > Vers?o: 2016.0.7752 / Base de dados de V?rus: 4649/12974 - Data de Lan?amento: 09/08/16 > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > _______________________________________________ > Community mailing list > Community at itk.org > http://public.kitware.com/mailman/listinfo/community From jp4work at gmail.com Thu Sep 29 22:44:20 2016 From: jp4work at gmail.com (JIA Pei) Date: Thu, 29 Sep 2016 19:44:20 -0700 Subject: [ITK-users] ITK Module, Can I enable all? In-Reply-To: References: Message-ID: Wow... Thank you so much everyone... so many warm reply... Thank you so much... On Wed, Sep 28, 2016 at 9:23 AM, Matt McCormick wrote: > Hello Pei, > > To add to the other nice suggestions, when ITK_BUILD_DEFAULT_MODULES > is ON (the default), all 100+ default modules in ITK are built. More > details on enabling modules can be found in the "Advanced Module > Configuration" section of the ITK Software Guide: > > https://itk.org/ITKSoftwareGuide/html/Book1/ITKSoftwareGuide-Book1ch2. > html#x27-170002 > > Welcome to ITK! > > Matt > > On Tue, Sep 27, 2016 at 5:40 PM, JIA Pei wrote: > > > > Hi, all: > > > > I'm trying to build ITK-git . Just want to know what modules can I > enable? I > > prefer enable all ???? > > > > > > Module_AnalyzeObjectMapIO OFF > > Module_AnisotropicDiffusionLBR OFF > > Module_BridgeNumPy OFF > > Module_Cuberille OFF > > Module_FixedPointInverseDispla OFF > > Module_GenericLabelInterpolato OFF > > Module_HigherOrderAccurateGrad OFF > > Module_IOFDF OFF > > Module_IOSTL OFF > > Module_IOTransformDCMTK OFF > > Module_ITKDCMTK OFF > > Module_ITKIODCMTK OFF > > Module_ITKIOMINC OFF > > Module_ITKIOPhilipsREC OFF > > Module_ITKIOTransformMINC OFF > > Module_ITKLevelSetsv4Visualiza OFF > > Module_ITKMINC OFF > > Module_ITKOpenJPEG OFF > > Module_ITKReview OFF > > Module_ITKVideoBridgeOpenCV OFF > > Module_ITKVideoBridgeVXL OFF > > Module_ITKVtkGlue OFF > > Module_LabelErodeDilate OFF > > Module_LesionSizingToolkit OFF > > Module_MGHIO OFF > > Module_MinimalPathExtraction OFF > > Module_MorphologicalContourInt OFF > > Module_MultipleImageIterator OFF > > Module_ParabolicMorphology OFF > > Module_PerformanceBenchmarking OFF > > Module_PrincipalComponentsAnal OFF > > Module_RLEImage OFF > > Module_SCIFIO OFF > > Module_SkullStrip OFF > > Module_SmoothingRecursiveYvvGa OFF > > Module_SphinxExamples OFF > > Module_SplitComponents OFF > > Module_SubdivisionQuadEdgeMesh OFF > > Module_TubeTKITK OFF > > Module_TwoProjectionRegistrati OFF > > Module_VariationalRegistration OFF > > Module_WikiExamples OFF > > > > > > > > Cheers > > > > -- > > > > Pei JIA, Ph.D. > > > > Email: jp4work at gmail.com > > cell in Canada: +1 778-863-5816 > > cell in China: +86 186-8244-3503 > > > > Welcome to Vision Open > > http://www.visionopen.com > > > > _____________________________________ > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > > http://www.kitware.com/opensource/opensource.html > > > > Kitware offers ITK Training Courses, for more information visit: > > http://www.kitware.com/products/protraining.php > > > > Please keep messages on-topic and check the ITK FAQ at: > > http://www.itk.org/Wiki/ITK_FAQ > > > > Follow this link to subscribe/unsubscribe: > > http://public.kitware.com/mailman/listinfo/insight-users > > > -- Pei JIA, Ph.D. Email: jp4work at gmail.com cell in Canada: +1 778-863-5816 cell in China: +86 186-8244-3503 Welcome to Vision Open http://www.visionopen.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From francisco.oliveira at fe.up.pt Fri Sep 30 05:01:26 2016 From: francisco.oliveira at fe.up.pt (Francisco Oliveira) Date: Fri, 30 Sep 2016 10:01:26 +0100 Subject: [ITK-users] [ITK] error using Richard-Lucy deconvolution In-Reply-To: References: <1473353166441-7589179.post@n2.nabble.com> <25402805-5FF6-4A71-83EE-B01F94FFD8C5@mail.nih.gov> <57d2c66c.1d21370a.b7707.edcdSMTPIN_ADDED_BROKEN@mx.google.com> Message-ID: <001801d21af9$39dd9ed0$ad98dc70$@oliveira@fe.up.pt> Hi Matt, I don't know if you are aware that a similar problem happens when the input image does not have spacing equal to 1 mm and the direction matrix equals to identity matrix. Besides, even that you set the origin, spacing and direction of the kernel equal to the input image the same error occurs because the origin, spacing and direction of the kernel is not updated. The implementation of this part of the filter should be equal to the other iterative deconvolution filters, like the itkLandweberDeconvolutionImageFilter. Thanks, Francisco -----Mensagem original----- De: Matt McCormick [mailto:matt.mccormick at kitware.com] Enviada: quinta-feira, 29 de setembro de 2016 22:47 Para: Francisco Oliveira Cc: Lowekamp, Bradley (NIH/NLM/LHC) [C]; Cory Quammen; ITK Assunto: Re: [ITK] [ITK-users] error using Richard-Lucy deconvolution Hi Francisco, I think you found a bug -- the kernel should not require the same Origin as the input image. Please review this patch: http://review.source.kitware.com/#/c/21598/ Thanks, Matt On Fri, Sep 9, 2016 at 10:25 AM, Francisco Oliveira wrote: > Thanks Brad, your suggestion solved my problem. > First we need forcing the input image to have spacing=[1, 1, 1], origin=[0, 0, 0] and the direction equals to identity matrix. Then we can apply the filter and after we set back the original spacing, origin and directions to the deconvoluted image (of course we need to save them before). > > Francisco > > > -----Mensagem original----- > De: Lowekamp, Bradley (NIH/NLM/LHC) [C] > [mailto:blowekamp at mail.nih.gov] > Enviada: sexta-feira, 9 de setembro de 2016 13:56 > Para: Francisco Oliveira; Cory Quammen > Cc: Matt McCormick; ITK > Assunto: Re: [ITK-users] error using Richard-Lucy deconvolution > > Hello, > > I was able to reproduce your problem in SimpleITK: > > In [1]: import SimpleITK as sitk > > In [2]: img = > sitk.ReadImage("/scratch/blowekamp/build/itkSimpleFilters/ExternalData > /test/Input/DSA.png") > > In [3]: img = sitk.VectorIndexSelectionCast(img, 0, sitk.sitkFloat32) > > In [4]: k = sitk.Image(11,11, sitk.sitkFloat32) > > In [5]: k[5,4]=.01; k[5,5]=1 > > In [6]: out = sitk.RichardsonLucyDeconvolution(img,k) > > ????????? > NOTE: OK with both origins of 0 > ????????? > > > In [7]: sitk.Show(out) > > > In [9]: img.SetOrigin([10,10]) > > In [10]: out = sitk.RichardsonLucyDeconvolution(img,k) > --------------------------------------------------------------------------- > RuntimeError Traceback (most recent call last) > in () > ----> 1 out = sitk.RichardsonLucyDeconvolution(img,k) > > /home/blowekamp/.virtualenvs/sitk-test/lib/python2.7/site-packages/SimpleITK/SimpleITK.pyc in RichardsonLucyDeconvolution(*args, **kwargs) > 57544 > 57545 """ >> 57546 return _SimpleITK.RichardsonLucyDeconvolution(*args, **kwargs) > 57547 class STAPLEImageFilter(ImageFilter_3): > 57548 """ > > RuntimeError: Exception thrown in SimpleITK RichardsonLucyDeconvolution: /tmp/SimpleITK-build/ITK-prefix/include/ITK-4.10/itkImageToImageFilter.hxx:250: > itk::ERROR: DivideOrZeroOutImageFilter(0x4085740): Inputs do not occupy the same physical space! > InputImage Origin: [1.0000000e+01, 1.0000000e+01], InputImage_1 Origin: [0.0000000e+00, 0.0000000e+00] > Tolerance: 1.0000000e-06 > > In [11]: out = sitk.WienerDeconvolution(img,k) > > In [12]: out = sitk.TikhonovDeconvolution(img,k) > > > > > You should be able to set with images to the same origin to bypass this exception. > > > I am not sure if this filter is suppose to require that both images have the same grids or not. If it does, the check should happen earlier on in the VerifyInputInformation method. > > But as other Deconvolution filters I tested in SimpleITK seem to expect different origins, I think it may be a bug in this filter. > > Brad > >> On Sep 9, 2016, at 3:42 AM, Francisco Oliveira wrote: >> >> Hi Matt, >> I already tried that and it didn't work. Independently the kernel image I use the error is the same and the origin and spacing are always the same [0, 0, 0] and [1, 1, 1], respectively. >> >> Francisco >> >> -----Mensagem original----- >> De: Matt McCormick [mailto:matt.mccormick at kitware.com] >> Enviada: quinta-feira, 8 de setembro de 2016 19:22 >> Para: Francisco >> Cc: insight-users at itk.org >> Assunto: Re: [ITK-users] error using Richard-Lucy deconvolution >> >> Hi Francisco, >> >> As the error message indicates, the filter requires both inputs to have the same "information", i.e. Origin and Spacing, since it assumes that they occupy the same domain in physical space. >> >> HTH, >> Matt >> >> On Thu, Sep 8, 2016 at 12:46 PM, Francisco wrote: >>> Hi all, >>> I'm trying to use itkRichardLucyDeconvolutionImageFilter but I have >>> always the following error independently of the size, origin, >>> spacing, ... of the input image and the kernel image. If I use other >>> deconvolution filter (for instance >>> itkLandweberDeconvolutionImageFilter) it works perfectly. I?m using the code example available in the ITK. I'm using itk-4.4.0 and VS2008. >>> >>> itk::ExceptionObject (0185E9CC) >>> Location: "unknown" >>> File: >>> c:\libraries\itk-4.4.0\source\modules\core\common\include\itkImageTo >>> I >>> m >>> ageF >>> ilter.hxx >>> Line: 247 >>> Description: itk::ERROR: DivideOrZeroOutImageFilter(03631DB0): >>> Inputs do not occupy the same physical space! >>> InputImage Origin: [-2.8658594e+002, -2.1658594e+002, >>> 9.9893402e+002], >>> InputImage_1 Origin: [0.0000000e+000, 0.0000000e+000, 0.0000000e+000] >>> Tolerance: 4.0000000e-006 >>> InputImage Spacing: [4.0000000e+000, 4.0000000e+000, >>> 4.0000000e+000], >>> InputImage_1 Spacing: [1.0000000e+000, 1.0000000e+000, 1.0000000e+000] >>> Tolerance: 4.0000000e-006 >>> >>> >>> >>> >>> -- >>> View this message in context: >>> http://itk-insight-users.2283740.n2.nabble.com/error-using-Richard-L >>> u c y-deconvolution-tp7589179.html Sent from the ITK Insight Users >>> mailing list archive at Nabble.com. >>> _____________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Kitware offers ITK Training Courses, for more information visit: >>> http://www.kitware.com/products/protraining.php >>> >>> Please keep messages on-topic and check the ITK FAQ at: >>> http://www.itk.org/Wiki/ITK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/insight-users >> >> ----- >> N?o foram detetados v?rus nesta mensagem. >> Verificado por AVG - www.avg.com >> Vers?o: 2016.0.7752 / Base de dados de V?rus: 4649/12974 - Data de >> Lan?amento: 09/08/16 >> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users > > > ----- > N?o foram detetados v?rus nesta mensagem. > Verificado por AVG - www.avg.com > Vers?o: 2016.0.7752 / Base de dados de V?rus: 4649/12974 - Data de > Lan?amento: 09/08/16 > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > _______________________________________________ > Community mailing list > Community at itk.org > http://public.kitware.com/mailman/listinfo/community ----- N?o foram detetados v?rus nesta mensagem. Verificado por AVG - www.avg.com Vers?o: 2016.0.7797 / Base de dados de V?rus: 4656/13115 - Data de Lan?amento: 09/29/16 From filippo.brogi at topic.nl Fri Sep 30 08:35:05 2016 From: filippo.brogi at topic.nl (Filippo Brogi) Date: Fri, 30 Sep 2016 05:35:05 -0700 (MST) Subject: [ITK-users] zoom 3d image. Message-ID: <1475238905105-37617.post@n7.nabble.com> Hello everyone. As a result of a 3D segmentation I get a binary image with the segmented part in white. I would like to enlarge the white part by a scalar factor along size[0] and size[1], without changing the size of the image. I'm currenlty using BinaryDilateImageFilter, but is growing also along size[2]. Any suggestion? Thanks -- View this message in context: http://itk-users.7.n7.nabble.com/zoom-3d-image-tp37617.html Sent from the ITK - Users mailing list archive at Nabble.com. From chinander at gmail.com Fri Sep 30 10:09:31 2016 From: chinander at gmail.com (Mike Chinander) Date: Fri, 30 Sep 2016 09:09:31 -0500 Subject: [ITK-users] zoom 3d image. In-Reply-To: <1475238905105-37617.post@n7.nabble.com> References: <1475238905105-37617.post@n7.nabble.com> Message-ID: The SliceBySliceImageFilter is what you want https://itk.org/Doxygen/html/classitk_1_1SliceBySliceImageFilter.html On Fri, Sep 30, 2016 at 7:35 AM, Filippo Brogi wrote: > Hello everyone. > As a result of a 3D segmentation I get a binary image with the segmented > part in white. I would like to enlarge the white part by a scalar factor > along size[0] and size[1], without changing the size of the image. I'm > currenlty using BinaryDilateImageFilter, but is growing also along size[2]. > Any suggestion? Thanks > > > > -- > View this message in context: http://itk-users.7.n7.nabble. > com/zoom-3d-image-tp37617.html > Sent from the ITK - Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.mccormick at kitware.com Fri Sep 30 10:31:48 2016 From: matt.mccormick at kitware.com (Matt McCormick) Date: Fri, 30 Sep 2016 10:31:48 -0400 Subject: [ITK-users] [ITK] error using Richard-Lucy deconvolution In-Reply-To: <57ee29e1.01cdc20a.91aff.cfbeSMTPIN_ADDED_BROKEN@mx.google.com> References: <1473353166441-7589179.post@n2.nabble.com> <25402805-5FF6-4A71-83EE-B01F94FFD8C5@mail.nih.gov> <57d2c66c.1d21370a.b7707.edcdSMTPIN_ADDED_BROKEN@mx.google.com> <57ee29e1.01cdc20a.91aff.cfbeSMTPIN_ADDED_BROKEN@mx.google.com> Message-ID: Hi Francisco, Thanks for the feedback. I have updated the patch to also check Spacing and Direction in the new test. Thanks, Matt On Fri, Sep 30, 2016 at 5:01 AM, Francisco Oliveira wrote: > Hi Matt, > I don't know if you are aware that a similar problem happens when the input image does not have spacing equal to 1 mm and the direction matrix equals to identity matrix. Besides, even that you set the origin, spacing and direction of the kernel equal to the input image the same error occurs because the origin, spacing and direction of the kernel is not updated. > > The implementation of this part of the filter should be equal to the other iterative deconvolution filters, like the itkLandweberDeconvolutionImageFilter. > > Thanks, > Francisco > > > -----Mensagem original----- > De: Matt McCormick [mailto:matt.mccormick at kitware.com] > Enviada: quinta-feira, 29 de setembro de 2016 22:47 > Para: Francisco Oliveira > Cc: Lowekamp, Bradley (NIH/NLM/LHC) [C]; Cory Quammen; ITK > Assunto: Re: [ITK] [ITK-users] error using Richard-Lucy deconvolution > > Hi Francisco, > > I think you found a bug -- the kernel should not require the same Origin as the input image. Please review this patch: > > http://review.source.kitware.com/#/c/21598/ > > Thanks, > Matt > > On Fri, Sep 9, 2016 at 10:25 AM, Francisco Oliveira wrote: >> Thanks Brad, your suggestion solved my problem. >> First we need forcing the input image to have spacing=[1, 1, 1], origin=[0, 0, 0] and the direction equals to identity matrix. Then we can apply the filter and after we set back the original spacing, origin and directions to the deconvoluted image (of course we need to save them before). >> >> Francisco >> >> >> -----Mensagem original----- >> De: Lowekamp, Bradley (NIH/NLM/LHC) [C] >> [mailto:blowekamp at mail.nih.gov] >> Enviada: sexta-feira, 9 de setembro de 2016 13:56 >> Para: Francisco Oliveira; Cory Quammen >> Cc: Matt McCormick; ITK >> Assunto: Re: [ITK-users] error using Richard-Lucy deconvolution >> >> Hello, >> >> I was able to reproduce your problem in SimpleITK: >> >> In [1]: import SimpleITK as sitk >> >> In [2]: img = >> sitk.ReadImage("/scratch/blowekamp/build/itkSimpleFilters/ExternalData >> /test/Input/DSA.png") >> >> In [3]: img = sitk.VectorIndexSelectionCast(img, 0, sitk.sitkFloat32) >> >> In [4]: k = sitk.Image(11,11, sitk.sitkFloat32) >> >> In [5]: k[5,4]=.01; k[5,5]=1 >> >> In [6]: out = sitk.RichardsonLucyDeconvolution(img,k) >> >> ????????? >> NOTE: OK with both origins of 0 >> ????????? >> >> >> In [7]: sitk.Show(out) >> >> >> In [9]: img.SetOrigin([10,10]) >> >> In [10]: out = sitk.RichardsonLucyDeconvolution(img,k) >> --------------------------------------------------------------------------- >> RuntimeError Traceback (most recent call last) >> in () >> ----> 1 out = sitk.RichardsonLucyDeconvolution(img,k) >> >> /home/blowekamp/.virtualenvs/sitk-test/lib/python2.7/site-packages/SimpleITK/SimpleITK.pyc in RichardsonLucyDeconvolution(*args, **kwargs) >> 57544 >> 57545 """ >>> 57546 return _SimpleITK.RichardsonLucyDeconvolution(*args, **kwargs) >> 57547 class STAPLEImageFilter(ImageFilter_3): >> 57548 """ >> >> RuntimeError: Exception thrown in SimpleITK RichardsonLucyDeconvolution: /tmp/SimpleITK-build/ITK-prefix/include/ITK-4.10/itkImageToImageFilter.hxx:250: >> itk::ERROR: DivideOrZeroOutImageFilter(0x4085740): Inputs do not occupy the same physical space! >> InputImage Origin: [1.0000000e+01, 1.0000000e+01], InputImage_1 Origin: [0.0000000e+00, 0.0000000e+00] >> Tolerance: 1.0000000e-06 >> >> In [11]: out = sitk.WienerDeconvolution(img,k) >> >> In [12]: out = sitk.TikhonovDeconvolution(img,k) >> >> >> >> >> You should be able to set with images to the same origin to bypass this exception. >> >> >> I am not sure if this filter is suppose to require that both images have the same grids or not. If it does, the check should happen earlier on in the VerifyInputInformation method. >> >> But as other Deconvolution filters I tested in SimpleITK seem to expect different origins, I think it may be a bug in this filter. >> >> Brad >> >>> On Sep 9, 2016, at 3:42 AM, Francisco Oliveira wrote: >>> >>> Hi Matt, >>> I already tried that and it didn't work. Independently the kernel image I use the error is the same and the origin and spacing are always the same [0, 0, 0] and [1, 1, 1], respectively. >>> >>> Francisco >>> >>> -----Mensagem original----- >>> De: Matt McCormick [mailto:matt.mccormick at kitware.com] >>> Enviada: quinta-feira, 8 de setembro de 2016 19:22 >>> Para: Francisco >>> Cc: insight-users at itk.org >>> Assunto: Re: [ITK-users] error using Richard-Lucy deconvolution >>> >>> Hi Francisco, >>> >>> As the error message indicates, the filter requires both inputs to have the same "information", i.e. Origin and Spacing, since it assumes that they occupy the same domain in physical space. >>> >>> HTH, >>> Matt >>> >>> On Thu, Sep 8, 2016 at 12:46 PM, Francisco wrote: >>>> Hi all, >>>> I'm trying to use itkRichardLucyDeconvolutionImageFilter but I have >>>> always the following error independently of the size, origin, >>>> spacing, ... of the input image and the kernel image. If I use other >>>> deconvolution filter (for instance >>>> itkLandweberDeconvolutionImageFilter) it works perfectly. I?m using the code example available in the ITK. I'm using itk-4.4.0 and VS2008. >>>> >>>> itk::ExceptionObject (0185E9CC) >>>> Location: "unknown" >>>> File: >>>> c:\libraries\itk-4.4.0\source\modules\core\common\include\itkImageTo >>>> I >>>> m >>>> ageF >>>> ilter.hxx >>>> Line: 247 >>>> Description: itk::ERROR: DivideOrZeroOutImageFilter(03631DB0): >>>> Inputs do not occupy the same physical space! >>>> InputImage Origin: [-2.8658594e+002, -2.1658594e+002, >>>> 9.9893402e+002], >>>> InputImage_1 Origin: [0.0000000e+000, 0.0000000e+000, 0.0000000e+000] >>>> Tolerance: 4.0000000e-006 >>>> InputImage Spacing: [4.0000000e+000, 4.0000000e+000, >>>> 4.0000000e+000], >>>> InputImage_1 Spacing: [1.0000000e+000, 1.0000000e+000, 1.0000000e+000] >>>> Tolerance: 4.0000000e-006 >>>> >>>> >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://itk-insight-users.2283740.n2.nabble.com/error-using-Richard-L >>>> u c y-deconvolution-tp7589179.html Sent from the ITK Insight Users >>>> mailing list archive at Nabble.com. >>>> _____________________________________ >>>> Powered by www.kitware.com >>>> >>>> Visit other Kitware open-source projects at >>>> http://www.kitware.com/opensource/opensource.html >>>> >>>> Kitware offers ITK Training Courses, for more information visit: >>>> http://www.kitware.com/products/protraining.php >>>> >>>> Please keep messages on-topic and check the ITK FAQ at: >>>> http://www.itk.org/Wiki/ITK_FAQ >>>> >>>> Follow this link to subscribe/unsubscribe: >>>> http://public.kitware.com/mailman/listinfo/insight-users >>> >>> ----- >>> N?o foram detetados v?rus nesta mensagem. >>> Verificado por AVG - www.avg.com >>> Vers?o: 2016.0.7752 / Base de dados de V?rus: 4649/12974 - Data de >>> Lan?amento: 09/08/16 >>> >>> _____________________________________ >>> Powered by www.kitware.com >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Kitware offers ITK Training Courses, for more information visit: >>> http://www.kitware.com/products/protraining.php >>> >>> Please keep messages on-topic and check the ITK FAQ at: >>> http://www.itk.org/Wiki/ITK_FAQ >>> >>> Follow this link to subscribe/unsubscribe: >>> http://public.kitware.com/mailman/listinfo/insight-users >> >> >> ----- >> N?o foram detetados v?rus nesta mensagem. >> Verificado por AVG - www.avg.com >> Vers?o: 2016.0.7752 / Base de dados de V?rus: 4649/12974 - Data de >> Lan?amento: 09/08/16 >> >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> _______________________________________________ >> Community mailing list >> Community at itk.org >> http://public.kitware.com/mailman/listinfo/community > > ----- > N?o foram detetados v?rus nesta mensagem. > Verificado por AVG - www.avg.com > Vers?o: 2016.0.7797 / Base de dados de V?rus: 4656/13115 - Data de Lan?amento: 09/29/16 > From dzenanz at gmail.com Fri Sep 30 10:40:26 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Fri, 30 Sep 2016 10:40:26 -0400 Subject: [ITK-users] zoom 3d image. In-Reply-To: References: <1475238905105-37617.post@n7.nabble.com> Message-ID: Hi Filippo, you can also set structuring element with size along third dimension equal to 0. Regards, D?enan On Fri, Sep 30, 2016 at 10:09 AM, Mike Chinander wrote: > The SliceBySliceImageFilter is what you want > > https://itk.org/Doxygen/html/classitk_1_1SliceBySliceImageFilter.html > > On Fri, Sep 30, 2016 at 7:35 AM, Filippo Brogi > wrote: > >> Hello everyone. >> As a result of a 3D segmentation I get a binary image with the segmented >> part in white. I would like to enlarge the white part by a scalar factor >> along size[0] and size[1], without changing the size of the image. I'm >> currenlty using BinaryDilateImageFilter, but is growing also along >> size[2]. >> Any suggestion? Thanks >> >> >> >> -- >> View this message in context: http://itk-users.7.n7.nabble.c >> om/zoom-3d-image-tp37617.html >> Sent from the ITK - Users mailing list archive at Nabble.com. >> _____________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://www.kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://public.kitware.com/mailman/listinfo/insight-users >> > > > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From filippo.brogi at topic.nl Fri Sep 30 09:35:49 2016 From: filippo.brogi at topic.nl (Filippo Brogi) Date: Fri, 30 Sep 2016 06:35:49 -0700 (MST) Subject: [ITK-users] zoom 3d image. In-Reply-To: References: <1475238905105-37617.post@n7.nabble.com> Message-ID: <1475242549783-37621.post@n7.nabble.com> Hello, I'm using a 3D ball. How can I avoid the dilation along dimension[2]. StructuringElement3DType::RadiusType radius1; radius1.Fill(r); StructuringElement3DType structuringElement = StructuringElement3DType::Ball( radius1, true ); mpEndoMaskDilater->SetKernel(structuringElement); Could you suggest a different structuring element? Thanks -- View this message in context: http://itk-users.7.n7.nabble.com/zoom-3d-image-tp37617p37621.html Sent from the ITK - Users mailing list archive at Nabble.com. From tevain at telecom-paristech.fr Fri Sep 30 11:34:55 2016 From: tevain at telecom-paristech.fr (Timothee Evain) Date: Fri, 30 Sep 2016 17:34:55 +0200 (CEST) Subject: [ITK-users] [ITK] zoom 3d image. In-Reply-To: <1475242549783-37621.post@n7.nabble.com> References: <1475238905105-37617.post@n7.nabble.com> <1475242549783-37621.post@n7.nabble.com> Message-ID: <1468745645.76916376.1475249695025.JavaMail.zimbra@enst.fr> Hi, A structuring element is just a neighborhood in ITK, so you could design any arbitrary shape. I link a previous post that was the same question : https://cmake.org/pipermail/insight-users/2015-July/052243.html HTH, Tim ----- Mail original ----- De: "Filippo Brogi" ?: insight-users at itk.org Envoy?: Vendredi 30 Septembre 2016 15:35:49 Objet: Re: [ITK] [ITK-users] zoom 3d image. Hello, I'm using a 3D ball. How can I avoid the dilation along dimension[2]. StructuringElement3DType::RadiusType radius1; radius1.Fill(r); StructuringElement3DType structuringElement = StructuringElement3DType::Ball( radius1, true ); mpEndoMaskDilater->SetKernel(structuringElement); Could you suggest a different structuring element? Thanks -- View this message in context: http://itk-users.7.n7.nabble.com/zoom-3d-image-tp37617p37621.html Sent from the ITK - Users mailing list archive at Nabble.com. _____________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://www.kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-users _______________________________________________ Community mailing list Community at itk.org http://public.kitware.com/mailman/listinfo/community From dzenanz at gmail.com Fri Sep 30 14:39:13 2016 From: dzenanz at gmail.com (=?UTF-8?B?RMW+ZW5hbiBadWtpxIc=?=) Date: Fri, 30 Sep 2016 14:39:13 -0400 Subject: [ITK-users] [ITK] zoom 3d image. In-Reply-To: <1468745645.76916376.1475249695025.JavaMail.zimbra@enst.fr> References: <1475238905105-37617.post@n7.nabble.com> <1475242549783-37621.post@n7.nabble.com> <1468745645.76916376.1475249695025.JavaMail.zimbra@enst.fr> Message-ID: After radius1.Fill(r); add radius1[2]=0; Regards, D?enan On Fri, Sep 30, 2016 at 11:34 AM, Timothee Evain < tevain at telecom-paristech.fr> wrote: > Hi, > > A structuring element is just a neighborhood in ITK, so you could design > any arbitrary shape. > I link a previous post that was the same question : > https://cmake.org/pipermail/insight-users/2015-July/052243.html > > HTH, > > Tim > > ----- Mail original ----- > De: "Filippo Brogi" > ?: insight-users at itk.org > Envoy?: Vendredi 30 Septembre 2016 15:35:49 > Objet: Re: [ITK] [ITK-users] zoom 3d image. > > Hello, > I'm using a 3D ball. How can I avoid the dilation along dimension[2]. > > StructuringElement3DType::RadiusType radius1; > radius1.Fill(r); > StructuringElement3DType structuringElement = > StructuringElement3DType::Ball( radius1, true ); > mpEndoMaskDilater->SetKernel(structuringElement); > > > Could you suggest a different structuring element? > Thanks > > > > -- > View this message in context: http://itk-users.7.n7.nabble. > com/zoom-3d-image-tp37617p37621.html > Sent from the ITK - Users mailing list archive at Nabble.com. > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > _______________________________________________ > Community mailing list > Community at itk.org > http://public.kitware.com/mailman/listinfo/community > _____________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://www.kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/insight-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: