Forum

Author Topic: Incompatible dense cloud colors  (Read 5487 times)

Mike25660

  • Newbie
  • *
  • Posts: 20
    • View Profile
Incompatible dense cloud colors
« on: January 14, 2018, 06:55:55 AM »
I have a project set up with three image sets. Two sets were imported into chunks and individually aligned. Then those two chunks were aligned and merged together to create a third chunk. Next, a third image set was imported and aligned. The chunk of the third photo set was then aligned with the previously aligned and merged chunk of the first two image sets. The spare cloud looked fine at that point with results of the three original image sets properly aligned. When the Merge Chunk command was used proceed with processing this error was reported: Incompatible dense cloud colors.

I saw another question from May 2017 about this error but no helpful guidance about its meaning. Any suggestions about how to deal with this would be appreciated. Thanks

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Incompatible dense cloud colors
« Reply #1 on: January 14, 2018, 08:17:47 AM »
Hello Mike25660,

Which version of PhotoScan you are using and were all chunks processed in the same version?
Best regards,
Alexey Pasumansky,
Agisoft LLC

Mike25660

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Incompatible dense cloud colors
« Reply #2 on: January 14, 2018, 08:49:25 AM »
Alexey,

I am using v 1.3.4 build 5067 (64 bit). The chunks were processed in this version on the same computer.


Mike25660

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Incompatible dense cloud colors
« Reply #3 on: January 15, 2018, 08:37:52 AM »
Alexey,

My usual workflow with more than one chunk is to align and merge the chunks before further processing. Today, I processed my three chunks into the dense clouds. The three dense cloud chunks were aligned and look great. Once again, when I tried merging the three dense cloud chunks, this was reported in the console window:

2018-01-14 21:12:02 Dense clouds have different color format, they are merged as RGB
2018-01-14 21:12:03 Finished processing in 10.834 sec (exit code 0)
2018-01-14 21:12:03 Error: Incompatible dense cloud colors

All my photos were shot in RAW format and converted to TIFFs. The same procedure was used to process all the images. No attempt was made to alter the format of the images. They are all color images. Does the dense cloud color format have any relationship to the image format? Would it matter if the images were converted to a format different than TIFF?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Incompatible dense cloud colors
« Reply #4 on: January 15, 2018, 12:38:42 PM »
Hello Mike25660,

I'm not able to reproduce the issue on the projects with higher bit depth than 8-bit per channel.

I can suggest to try version 1.4.0 for merging and see if it works, if not, it would be helpful to get the small sample project with two chunks that cannot be merged with the dense cloud due to the same error.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Mike25660

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Incompatible dense cloud colors
« Reply #5 on: January 16, 2018, 04:14:02 AM »
Alexey,

I installed version 1.4.0, opened my file, and tried to merge the chunks. The same error message occurred. You can get my project and image files here:
https://www.dropbox.com/sh/ve3cbj7y59y4q51/AAD3v-jJGdsPE2-D7cFqnuXJa?dl=0

The workflow I'm using worked on about 10 other close-range projects without any problems, but the last one I did was about 10 months ago. I'm using the same computer and camera as before. Now, I'm planning to do many more close-range projects so I hope you can help me get this resolved. Thanks

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Incompatible dense cloud colors
« Reply #6 on: January 16, 2018, 04:09:01 PM »
Hello Mike25660,

Thank you for providing the sample data.

It appears that the issue is related to the sparse cloud points colors, not to the dense clouds. We'll fix it in the 1.4.1 update. If necessary, we can send you the project with the merged chunk for your project.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Mike25660

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Incompatible dense cloud colors
« Reply #7 on: January 16, 2018, 07:12:26 PM »
Alexey,

There is no time pressure for completing this project, but if you don't mind sending me your file that would be great. Otherwise, I don't mind waiting for the update.

Your help is greatly appreciated.

Mike

Mike25660

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Incompatible dense cloud colors
« Reply #8 on: January 18, 2018, 07:01:29 AM »
Alexey,

I downloaded the file you made for me and tried to continue processing by aligning the photos of the merged chunk with reset alignment checked. It ran for a while and then issued this message:

2018-01-17 19:21:24 Error: Kernel matchBruteForce_Hamming: CL_UNKNOWN_ERROR_CODE_-14 (-14) at line 374

Also, with version 1.4.0 installed I no longer see Gradual Selection on the Edit menu, and I don't see anything about it in the Change Log. Has the Gradual Selection been removed or replaced by something else?

Mike

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Incompatible dense cloud colors
« Reply #9 on: January 18, 2018, 08:58:35 AM »
Hello Mike,

Gradual selection is available from Model menu.

As for the processing error, can you specify which GPUs are installed on your computer and what are the versions of the OS and GPU drivers?
Best regards,
Alexey Pasumansky,
Agisoft LLC

Mike25660

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Incompatible dense cloud colors
« Reply #10 on: January 19, 2018, 02:09:20 AM »
Alexey,

Just to check things out I began a completely new project file with just one of my original chunks of 12 images. Here is the complete display from the console window:

2018-01-18 08:35:09 Agisoft PhotoScan Professional Version: 1.4.0 build 5650 (64 bit)
2018-01-18 08:35:09 Platform: Windows
2018-01-18 08:35:09 CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (laptop)
2018-01-18 08:35:09 CPU family: 6 model: 94 signature: 506E3h
2018-01-18 08:35:09 RAM: 31.8 GB
2018-01-18 08:35:10 OpenGL Vendor: NVIDIA Corporation
2018-01-18 08:35:10 OpenGL Renderer: GeForce GTX 965M/PCIe/SSE2
2018-01-18 08:35:10 OpenGL Version: 4.6.0 NVIDIA 390.65
2018-01-18 08:35:10 Maximum Texture Size: 16384
2018-01-18 08:35:10 Quad Buffered Stereo: not enabled
2018-01-18 08:35:10 ARB_vertex_buffer_object: supported
2018-01-18 08:35:10 ARB_texture_non_power_of_two: supported
2018-01-18 08:35:10 Using simple console. Rich console can be enabled in Preferences dialog.
2018-01-18 08:35:50 Loading photos...
2018-01-18 08:35:50 Finished processing in 0.015 sec (exit code 1)
2018-01-18 08:36:58 AlignPhotos: accuracy = High, preselection = none, keypoint limit = 60000, tiepoint limit = 0, constrain features by mask = 0, adaptive fitting = 0
2018-01-18 08:36:58 Matching photos...
2018-01-18 08:36:58 Detecting points...
2018-01-18 08:36:59 Using device: GeForce GTX 965M, 8 compute units, 4096 MB global memory, compute capability 5.2
2018-01-18 08:36:59   driver version: 9010, runtime version: 5050
2018-01-18 08:36:59   max work group size 1024
2018-01-18 08:36:59   max work item sizes [1024, 1024, 64]
2018-01-18 08:36:59 Using device: Intel(R) HD Graphics 530, 24 compute units, 13024 MB global memory, OpenCL 2.0
2018-01-18 08:36:59   driver version: 22.20.16.4749, platform version: OpenCL 2.0
2018-01-18 08:36:59   max work group size 256
2018-01-18 08:36:59   max work item sizes [256, 256, 256]
2018-01-18 08:36:59   max mem alloc size 2047 MB
2018-01-18 08:36:59 Building kernels for Intel(R) HD Graphics 530...
2018-01-18 08:37:01 [CPU] photo 0: 60000 points
2018-01-18 08:37:01 [GPU] photo 1: 60000 points
2018-01-18 08:37:03 Kernels compilation done in 3.725 seconds
2018-01-18 08:37:03 [GPU] photo 4: 60000 points
2018-01-18 08:37:04 [CPU] photo 3: 60000 points
2018-01-18 08:37:04 Building kernels for Intel(R) HD Graphics 530...
2018-01-18 08:37:04 Kernels compilation done in 0.407 seconds
2018-01-18 08:37:05 [GPU] photo 2: 60000 points
2018-01-18 08:37:05 [GPU] photo 5: 60000 points
2018-01-18 08:37:06 [CPU] photo 6: 60000 points
2018-01-18 08:37:06 [GPU] photo 7: 60000 points
2018-01-18 08:37:07 [GPU] photo 8: 60000 points
2018-01-18 08:37:08 [GPU] photo 10: 60000 points
2018-01-18 08:37:09 [CPU] photo 9: 60000 points
2018-01-18 08:37:09 [GPU] photo 11: 60000 points
2018-01-18 08:37:09 points detected in 11.293 sec
2018-01-18 08:37:10 Matching points...
2018-01-18 08:37:10 Using device: GeForce GTX 965M, 8 compute units, 4096 MB global memory, compute capability 5.2
2018-01-18 08:37:10   driver version: 9010, runtime version: 5050
2018-01-18 08:37:10   max work group size 1024
2018-01-18 08:37:10   max work item sizes [1024, 1024, 64]
2018-01-18 08:37:10 Using device: Intel(R) HD Graphics 530, 24 compute units, 13024 MB global memory, OpenCL 2.0
2018-01-18 08:37:10   driver version: 22.20.16.4749, platform version: OpenCL 2.0
2018-01-18 08:37:10   max work group size 256
2018-01-18 08:37:10   max work item sizes [256, 256, 256]
2018-01-18 08:37:10   max mem alloc size 2047 MB
2018-01-18 08:57:57 Finished processing in 1258.84 sec (exit code 0)
2018-01-18 08:57:57 Error: Kernel matchBruteForce_Hamming: CL_UNKNOWN_ERROR_CODE_-14 (-14) at line 374
>>>

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Incompatible dense cloud colors
« Reply #11 on: January 19, 2018, 08:14:35 AM »
Hello Mike,

Seems that the issue is related to the integrated graphic card, so I can suggest to disable Intel HD card in the GPU preferences of PhotoScan.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Mike25660

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Incompatible dense cloud colors
« Reply #12 on: January 22, 2018, 05:07:04 AM »
Alexey,

As you suggested, disabling the integrated graphics card let the processing complete. Thanks again.

Just to clarify the situation, is it the case that the issue about sparse/dense cloud color error will be resolved in the next update?

Mike

Sabrina

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Incompatible dense cloud colors
« Reply #13 on: April 25, 2018, 10:58:25 AM »
Hello!

Yesterday I had the same experience:
I took photos of a statue and because I didn't cover the satue's head enough (it's 4 meters high), I took a second bunch of photos with another focal length and bigger distance to the object. Due to the different focal length I processed the photos in separate chunks.

Both photo-series where captured in RAW and transformed to tiff.

The pointbased alignemnt worked fine, but when merging those chunks:
Error: incompatible dense cloud colors.

After reading this forum thread, I also tried to deactivate integrated GPU with no success.

Finally I found out, that I accidentially transfered the RAW into tiff with different color depth: 8 Bit RGB and 16 Bit RGB.
That was actually why merging didn't work! So I put both to 8 Bit and there was no problem anymore.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Incompatible dense cloud colors
« Reply #14 on: April 25, 2018, 11:58:01 AM »
Hello Sabrina,

Which version of PhotoScan you are using? Can you provide the output from the Console pane related to the failed operation?

P.S. as for the disabling GPU - that advice was related to the different issue, not to the colors.
Best regards,
Alexey Pasumansky,
Agisoft LLC