photogrametry problem on new version

Hello everyone

I hope everything is fine. I tried and used photogametry in the previous 3d slicer version, there was no problem, but I installed the new version (5.8.1), I open it, but it does not open when taking pictures and gives the script these errors written below. I looked at Google but I couldn’t solve it. I don’t know if this problem is the connection or the lack of files. I would appreciate your help.

All the best

[Qt] libpng warning: iCCP: profile ‘ICC Profile’: ‘CMYK’: invalid ICC profile color space

[Qt] libpng warning: iCCP: known incorrect sRGB profile

Using CPU for SAM.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

Traceback (most recent call last):

File “/Users/alaettinkaya/foto3d/SlicerPhotogrammetry-master/Photogrammetry/Photogrammetry.py”, line 1188, in onImageSetSelected

self.restoreSetState(self.currentSet)

File “/Users/alaettinkaya/foto3d/SlicerPhotogrammetry-master/Photogrammetry/Photogrammetry.py”, line 1277, in restoreSetState

self.refreshButtonStatesBasedOnCurrentState()

File “/Users/alaettinkaya/foto3d/SlicerPhotogrammetry-master/Photogrammetry/Photogrammetry.py”, line 1362, in refreshButtonStatesBasedOnCurrentState

st = self.imageStates[self.currentImageIndex][“state”]

KeyError: 0

Traceback (most recent call last):

File “/Users/alaettinkaya/foto3d/SlicerPhotogrammetry-master/Photogrammetry/Photogrammetry.py”, line 1133, in onProcessFoldersClicked

self.restoreSetState(self.currentSet)

File “/Users/alaettinkaya/foto3d/SlicerPhotogrammetry-master/Photogrammetry/Photogrammetry.py”, line 1277, in restoreSetState

self.refreshButtonStatesBasedOnCurrentState()

File “/Users/alaettinkaya/foto3d/SlicerPhotogrammetry-master/Photogrammetry/Photogrammetry.py”, line 1362, in refreshButtonStatesBasedOnCurrentState

st = self.imageStates[self.currentImageIndex][“state”]

KeyError: 0

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00dc750) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e88b00) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageMapToColors (0x7fbee00e9f30) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageShiftScale (0x7fbee00f4740) has 0 connections but is not optional.

[VTK] Input port 0 of algorithm vtkImageRGBToHSI (0x600003e8b000) has 0 connections but is not optional.

@akaya
Based on the log files you shared, I think you are using the locally cloned version of the repo. Depending on when you downloaded or cloned the repo, I would make sure you are running the latest version. Extension is now part of the extension catalogue.

But more importantly, from the paths, i think you are using a Mac. We do NOT support Mac or windows officially, due to the challenges of installing all other necessary libraries (such as docker) and configuring them. Only Linux is supported. But if you are up for challenge, you can follow the instructions from this link to try:

Also, make sure you are using a preview version. I don’t think we tested extensively with the stable.

The easiest way to run Photogrammetry extension is actually to use it through MorphoCloud:
https://instances.morpho.cloud It will probably be faster too, thanks to large GPUs in these systems.

@akaya

On my Mac with a recent Preview, everything works fine up to running ODM. I don’t have docker on my mac, so that part I can’t test… But if you have docker installed correctly, the rest should be working:

Also as a comparison, using the CPU and the lowest resolution SAM model, on my Mac estimated processing time for 64 photos is 25 minutes. On MorphoCloud the same 64 photos would take 2-3 minutes. There are 320 photos in this set.

Same with the 3D model reconstruction… So you will really benefit from using it on the cloud.