How luumod/simpleips works
This is a Qt/OpenCV desktop image-processing application. The main workflow is opening an image, choosing adjustable processing operations, and viewing or saving the result; a mixed-processing mode supports previews and undo snapshots. The README also documents drawing, screenshots, histogram/equalization tools, and video interfaces. The excerpts establish shared image state, operation classes, and parts of video capture, but not all runtime dispatch paths, so uncertain links are omitted or marked dashed.
Main entry points: widget.h Main window · videocapwork.cpp Video capture · ShowImgWidget.h Image views · Res.h Image state
Components 20
Application UI
- Main window
Include/Widget/widget.h - Image views
Include/Widget/ShowImgWidget.h - Screenshot UI
Include/Widget/CaptureWidget.h - Drawing UI
Include/Widget/DrawWidget.h - Image inspection
Include/Widget/LookWidget.h
Image workflow
- Image state
Include/assist/Res.h
Image operations
- Basic operations
source/BaseOperate.cpp - Blur
source/Blur.cpp - Threshold
source/Threshold.cpp - Morphology
source/Morphology.cpp - Connected regions
source/Connected.cpp - Contours
source/Contours.cpp - Image enhancement
source/Showeffect.cpp
Video workflow
- Video capture
source/videocapwork.cpp - Frame filtering
source/framefilter.cpp - Frame operations
source/frameoperator.cpp - Video display
source/videowidget.cpp
Shared support
- Image conversion
Include/assist/Mat2QImage.h - Graphics scene
source/GraphicsScene.cpp
Other components
- User
Connections 18
- User → Main window: uses
- Main window → Image state: manages image state
Include/assist/Res.h - Main window → Blur: selects operations
source/Blur.cpp - Main window → Threshold: selects operations
- Main window → Morphology: selects operations
- Main window → Connected regions: selects operations
source/Connected.cpp - Main window → Contours: selects operations
source/Contours.cpp - Main window → Image enhancement: selects operations
source/Showeffect.cpp - Main window → Basic operations: selects operations
source/BaseOperate.cpp - Main window → Image views: displays images
- Screenshot UI → Image views: shows capture
source/CaptureWidget.cpp - Image inspection → Image views: opens view
source/LookWidget.cpp - Drawing UI → Graphics scene: uses scene
- Image state → Image conversion: converts matrices
- Video capture → Frame filtering: imports filter
source/videocapwork.cpp - Main window → Video capture: offers video interface
source/videocapwork.cpp - Video capture → Frame operations: dispatches frames
- Video capture → Video display: supplies frames