TagLab icon indicating copy to clipboard operation
TagLab copied to clipboard

TagLab crashes when using the maps alignment tool

Open Carol-Symbiomics opened this issue 11 months ago • 0 comments

Hi Max!

I was trying to use the aligining tool but taglab crashed a few minutes after confirming the alignment.

I was wondering if you could perhaps give me a hand in figuring out what is happening. Do the orthoimages have to be georeference for the alignment tool to work? These were the last lines on the command prompt:

C:\Users\96655\OneDrive\Desktop\Carol_Buitrago\Conda_environments\env38\lib\site-packages\rasterio\__init__.py:226: NotGeoreferencedWarning: Dataset has no geotransform set. The identity matrix may be returned.
  s = DatasetReader(path, driver=driver, sharing=sharing, **kwargs)
[ WARN:[email protected]] global grfmt_tiff.cpp:716 cv::TiffDecoder::readData OpenCV TIFF: TIFFRGBAImageOK: Sorry, can not handle images with 32-bit samples
Traceback (most recent call last):
  File "C:\Users\96655\OneDrive\Desktop\Carol_Buitrago\TagLab-main\source\QtAlignmentToolWidget.py", line 1715, in onConfirmAlignment
    newFilename, w, h = self.__updateChannel(ch, tag2, -rot, T, [leftB, rightB, topB, bottomB])
  File "C:\Users\96655\OneDrive\Desktop\Carol_Buitrago\TagLab-main\source\QtAlignmentToolWidget.py", line 1860, in __updateChannel
    (h, w, c) = img.shape
AttributeError: 'NoneType' object has no attribute 'shape''

Carol-Symbiomics avatar Mar 05 '24 15:03 Carol-Symbiomics