|
AlbumShaper 1.0a3
|
#include <qimage.h>#include <qstring.h>#include <qapplication.h>#include "redEye.h"#include "redEye_internal.h"#include "../../gui/statusWidget.h"
Go to the source code of this file.
Macros | |
| #define | MIN_RED_VAL 40 |
Functions | |
| QImage * | removeRedeyeRegions (QString filename, QPoint topLeftExtreme, QPoint bottomRightExtreme, StatusWidget *statusWidget) |
| void | findRegionOfInterest (QPoint topLeftExtreme, QPoint bottomRightExtreme) |
| void | pushPixel (int x, int y, int id) |
| void | findBlobs () |
| void | sortBlobsByDecreasingSize () |
| void | findBestTwoBlobs () |
| bool | IDedPixel (int x, int y) |
| double | desaturateAlpha (int x, int y) |
| void | desaturateBlobs () |
| void | desaturateEntireImage (QPoint topLeftExtreme, QPoint bottomRightExtreme) |
| #define MIN_RED_VAL 40 |
Definition at line 302 of file redEye.cpp.
Referenced by findBlobs(), and findRegionOfInterest().
| double desaturateAlpha | ( | int | x, |
| int | y ) |
Definition at line 572 of file redEye.cpp.
References IDedPixel().
Referenced by desaturateBlobs().
| void desaturateBlobs | ( | ) |
Definition at line 612 of file redEye.cpp.
References bottomRight, desaturateAlpha(), editedImage, and topLeft.
Referenced by removeRedeyeRegions().
| void desaturateEntireImage | ( | QPoint | topLeftExtreme, |
| QPoint | bottomRightExtreme ) |
Definition at line 643 of file redEye.cpp.
References editedImage.
Referenced by removeRedeyeRegions().
| void findBestTwoBlobs | ( | ) |
Definition at line 506 of file redEye.cpp.
References blobCount, id1, id2, ids, ratios, and sizes.
Referenced by removeRedeyeRegions().
| void findBlobs | ( | ) |
Definition at line 372 of file redEye.cpp.
References blobAspectRatios, blobBottomRight, blobIDs, blobPixelCount, blobSizes, blobTopLeft, bottomRight, MIN_RED_VAL, pushPixel(), rawImage, regionHeight, regionOfInterest, regionWidth, spreadablePixels, and topLeft.
Referenced by removeRedeyeRegions().
| void findRegionOfInterest | ( | QPoint | topLeftExtreme, |
| QPoint | bottomRightExtreme ) |
Definition at line 305 of file redEye.cpp.
References bottomRight, StatusWidget::incrementProgress(), MIN_RED_VAL, newProgress, rawImage, status, topLeft, and updateIncrement.
Referenced by removeRedeyeRegions().
| bool IDedPixel | ( | int | x, |
| int | y ) |
Definition at line 561 of file redEye.cpp.
References bottomRight, id1, id2, regionIndex(), regionOfInterest, regionWidth, and topLeft.
Referenced by desaturateAlpha().
| void pushPixel | ( | int | x, |
| int | y, | ||
| int | id ) |
Definition at line 350 of file redEye.cpp.
References blobBottomRight, blobPixelCount, blobTopLeft, regionHeight, regionOfInterest, regionWidth, and spreadablePixels.
Referenced by findBlobs().
| QImage * removeRedeyeRegions | ( | QString | filename, |
| QPoint | topLeftExtreme, | ||
| QPoint | bottomRightExtreme, | ||
| StatusWidget * | statusWidget ) |
Definition at line 206 of file redEye.cpp.
References desaturateBlobs(), desaturateEntireImage(), editedImage, findBestTwoBlobs(), findBlobs(), findRegionOfInterest(), id1, newProgress, rawImage, StatusWidget::setStatus(), StatusWidget::showProgressBar(), sortBlobsByDecreasingSize(), status, topLeft, and updateIncrement.
Referenced by EditingInterface::removeRedeye().
| void sortBlobsByDecreasingSize | ( | ) |
Definition at line 468 of file redEye.cpp.
References blobAspectRatios, blobCount, blobIDs, blobSizes, ids, ratios, and sizes.
Referenced by removeRedeyeRegions().