Forum

Author Topic: Filter points by color  (Read 3915 times)

Milderinne

  • Newbie
  • *
  • Posts: 34
    • View Profile
Filter points by color
« on: May 15, 2016, 08:48:15 PM »
Hello,

is it possible to filter sparse or dense point cloud by color? Removing unwished points with a known color?
Any help is appreciated. I did not find any topic about this.

Thanks in advance.

Milderinne

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Filter points by color
« Reply #1 on: May 16, 2016, 09:03:18 PM »
Actually, I solved that already with
Code: [Select]
mask = PhotoScan.utils.createDifferenceMask(camera.photo.image(), (red,green,blue), colTolerance, fit_colors = False)
Anyhow, I still wonder, if I could input 2 colors to filter?

stephan

  • Full Member
  • ***
  • Posts: 129
    • View Profile
Re: Filter points by color
« Reply #2 on: June 10, 2016, 01:00:13 AM »
Hi Milderinne,

Please could you show an example of how you did this ? I'm trying to do something similar and I can't figure it out...

Cheers,