Error compositing images after stippling #4

Closed
opened 2023-12-16 14:05:54 +00:00 by mattmcw · 0 comments
Owner

Example stacktrace:

Traceback (most recent call last):
  File "/space/SRC/marker_separation/py/separate.py", line 38, in <module>
    Separate(args)
  File "/space/SRC/marker_separation/py/separate.py", line 33, in __init__
    Posterize(self.input, self.pallete, args.colors, args.output, args.headless, args.jobs)
  File "/space/SRC/marker_separation/py/posterize.py", line 65, in __init__
    self.preview()
  File "/space/SRC/marker_separation/py/posterize.py", line 224, in preview
    composite[mask > 0] = np.array(convert_color(layer['color'], self.pallete_space, 'BGR'))
IndexError: boolean index did not match indexed array along dimension 0; dimension is 576 but corresponding boolean dimension is 914
Example stacktrace: ``` Traceback (most recent call last): File "/space/SRC/marker_separation/py/separate.py", line 38, in <module> Separate(args) File "/space/SRC/marker_separation/py/separate.py", line 33, in __init__ Posterize(self.input, self.pallete, args.colors, args.output, args.headless, args.jobs) File "/space/SRC/marker_separation/py/posterize.py", line 65, in __init__ self.preview() File "/space/SRC/marker_separation/py/posterize.py", line 224, in preview composite[mask > 0] = np.array(convert_color(layer['color'], self.pallete_space, 'BGR')) IndexError: boolean index did not match indexed array along dimension 0; dimension is 576 but corresponding boolean dimension is 914 ```
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mattmcw/marker_separation#4
No description provided.