fatal error: itkMultiScaleHessianBasedMeasureImageFilter.h: No such file or directory #include "itkMultiScaleHessianBasedMeasureImageFilter.h" - image-segmentation

I am trying to run the itkMultiScaleHessianBasedMeasureImageFilter program for blood vessels segmentation given in the below link
https://itk.org/ITKExamples/src/Nonunit/Review/SegmentBloodVesselsWithMultiScaleHessianBasedMeasure/Documentation.html
But I am getting the following error.
fatal error: itkMultiScaleHessianBasedMeasureImageFilter.h: No such file or directory
I am unable to understand that for Input, 2D slice/image should give or 3D image series of CT scan?
Also, I tried the code from
https://itk.org/ITKExamples/src/Filtering/ImageFeature/SegmentBloodVessels/Documentation.html
but this is also not working.
Can Someone please provide the solution?

With ITK 4.x and earlier, some of the classes were in Review module, which is turned off by default. That means you need to set CMake variable Module_ITKReview to ON when configuring/compiling ITK.

Related

Amesim FMU initialization issue

I have a HU submodels FMU that is not running in a Simulink model.
I use Matlab2020b, FMIkit2.7 and the FMU created with Amesim 2019.1.
This is the error message:
AME_LIC_CACHE_INIT set to 100
Impossible to open file 'pV/pV_FrontAxle_Variant1.txt'.
Impossible to open file 'pV/pV_FrontAxle_Variant1.txt'.
Fatal error in FXA001 instance 1.
Terminating the program.
Simcenter Amesim model: initialization failed.
Failed to exit initialization mode
Failed to exit initialization mode. The FMU crashed (exception code: UNKOWN_EXEPTION_CODE).
I give 2 parameter in .txt file for the FXA001. It is worked in older versions of the model.
I tried to give the full path, copy the files to the folder where the model was and still not found.
Has anyone ever had such an issue?
Thank you!
Based on my experience, this issue might happen if the two text files do not have a header mentioning the Amesim table format they use.
For example for a so-called ā€œ1Dā€ table:
#Table format: 1D
Otherwise the files may not be embedded properly when exporting the FMU.

Tc3_EventLogger library error in BeckHoff TwinCat3

When i'm trying to compile a program in TwinCat 3 using the library Tc3_EventLogger. I'm using TwinCat3 Build 4018.58.
I receive the following errors (Please take a look at the image below):
TC3 Compile Error Picture
These are the errors I received as plain text :
'Verbose' is no component of 'TCEVENTSEVERITY' [tc3_eventlogger, 3.1.28.0
(beckhoff automation gmbh)].
Cannot convert type 'Unknown type: 'TcEventSeverity.Verbose'' to type
'TCEVENTSEVERITY' [tc3_eventlogger, 3.1.28.0 (beckhoff automation gmbh)].
Initialisation of constant variable 'EMPTY_SEVERITY' not constant [tc3_eventlogger, 3.1.28.0 (beckhoff automation gmbh)].
I already tried to delete and add the library again but that didn't solve the problem.
How can I solve it?
Thanks

Libmbed.a needed by '.../freedomboard_servo.elf'

I was going through the example of FRDM-KL25Z library in MATLAB Simulink and having some problems when deploying it to the board.
1) Most of the H files are missing in the directory during (compiling?) and was FIXED by downloading individually from website.
2) After the H files are fixed, MATLAB prompt me another error stating FILE_DIR/TOOLCHAIN_GCC_ARM/libmbed.a' needed by ".../freedom_board_servo.elf'
I'm quite new to this field so was hoping someone can guide me through these errors as I have been stuck here doing nothing for few days fixing errors and errors.
Thanks.libmbed.a ERROR
Hi all the problem is fixed by changing the directory of the file.
During installation MATLAB have named the directory wrongly "8e73be2a2ac1" was supposed to be named to "mbed-8e73be2a2ac1".

Error using matlab.io.fits.openFile - cannot open FITS files

I am running a code that uses the fitsread function to open my fits movies and analyse them. It was working perfectly fine until about a week ago, when, without me doing anything, it started giving the following error whenever I try to run it:
Error using matlab.io.fits.openFile (line 48)
Unable to open file. File might be corrupt or filename might have unsupported
characters.
Error in fitsread>read_image_hdu (line 412)
fptr = fits.openFile(info.Filename);
Error in fitsread (line 125)
data = read_image_hdu(info,1,raw,pixelRegion);
I have tried manually checking the properties of such files using the fitsinfo function and nothing was wrong with the files themselves. I have also tried to re-set the default MATLAB path, delete them from the working folder and re-download them from a central University server where they were originally stored upon acquisition on a microscope, but it didn't help either. A collaborator has tried running the same code on his machine and it works well. I get this same error on both MATLAB versions R2011b and R2015b. It originally used to work on R2011b with the same files.
Thanks in advance to whoever will be able to help!

open cv cv::neon_cvtColorBGRA2GRAY issue

I am converting an image in cartoon like, My application run well in simulator. And desired output is coming, but problem is that when I run my app on device it gives error on below line.
if TARGET_IPHONE_SIMULATOR
cv::cvtColor(bgr, gray, CV_BGRA2GRAY);
else
cv::neon_cvtColorBGRA2GRAY(bgr, gray);// got error in this line
endif
error : no member name neon_cvtColorBGRA2GRAY in namespace cv
Thanks
This function is not a part of OpenCV. It must have been manually coded to the cv namespace. With that being said, you will need to provide the code that implements that function. After a quick search, it seems like this is what you want:
https://github.com/BloodAxe/OpenCV-Tutorial/blob/master/OpenCV%20Tutorial/cvneon.cpp
Just take this .cpp file and the respective .h file from this repo and add them to your project.