How can I correct this error in LOOKTIF of COMSTAT program? I cannot proceed with thresholding and COMSTAT analysis because of this error.

1 view (last 30 days)
The program found 8 tif files in the current directory /Users/sanchezzoe/Desktop/C48A1GFP All the images are listed above.
Enter number of the image you want to view > 3 ??? Undefined function or method 'display_images_func' for input arguments of type 'uint8'.
Error in ==> looktif at 120 display_images_func(bb,'gray', 's', [filename, ' - Original']);
  2 Comments
Wayne Ayre
Wayne Ayre on 24 Aug 2014
I had this problem as well. Just put all your files into one folder (including the "function" files and your tif image and info files that you want to process). The reason you're getting the error is because Matlab can't find the display_images_func.m file it needs to run the LOOKTIF.m and LOOK.m files (this is located in the comstat/functions folder).
Star Strider
Star Strider on 24 Aug 2014
Copy your comment to an Answer. It seems like a solution to Zoe’s problem, and will help others with a similar problem find it.

Sign in to comment.

Answers (1)

Wayne Ayre
Wayne Ayre on 29 Aug 2014
I had this problem as well. Just put all your files into one folder (including the "function" files and your tif image and info files that you want to process). The reason you're getting the error is because Matlab can't find the display_images_func.m file it needs to run the LOOKTIF.m and LOOK.m files (this is located in the comstat/functions folder).

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!