sami-badawi / shapelogic-scala

Generic computer vision in Scala
http://shapelogicscala.org/
MIT License
13 stars 3 forks source link

Make it easier to include plugins in the GUI #13

Closed sami-badawi closed 7 years ago

sami-badawi commented 7 years ago

Make it easier to include plugins in the GUI. Right now this is all done in one class: GuiMenuBuilder which is getting big now.

sami-badawi commented 7 years ago

Did first work on a plugin structure.

org.shapelogic.sc.operation.Transforms

  def makeImageTransformWithNameSeq: Seq[ImageTransformWithName] = {
    Seq(
      ImageTransformWithName(inverseTransformByte, "Inverse"),
      ImageTransformWithName(ImageOperationBandSwap.redBlueImageOperationTransform, "Swap"),
      ImageTransformWithName(Color2GrayOperation.makeByteTransform, "To Gray"),
      ImageTransformWithName(blackTransformByte, "Make image Black"),
      ImageTransformWithName(whiteTransformByte, "Make image White"))
  }
sami-badawi commented 7 years ago

Start work on also defining image transforms with a dialog outside the GUI.

sami-badawi commented 7 years ago

All image transforms with a dialog is now added outside the GUI class GuiMenuBuilder