Page 1 of 1

Despeckle and Deskew feature

Posted: Fri Sep 12, 2014 1:58 pm
by Dorwol
In the feature list of "Image-XChange SDK" I found this info:
Apply filters: Despeckle, Deskew, DustScratch, Matrix, Median, Noise
But I don't find this two features in the documentation. Can you tell me, how I can use Despeckle and Deskew on an image?

THX!

Re: Despeckle and Deskew feature

Posted: Wed Sep 17, 2014 7:55 am
by Serg - Tracker Dev
You can find the mentioned features (DustScratch, Matrix, Median, Noise) in functions IMG_PageFilter... :

Code: Select all

HRESULT IMG_PageFilterDustScratch(_XCPage page, UINT radius, UINT thresh, UINT flags);
HRESULT IMG_PageFilterMatrix(_XCPage page, const IXC_MatrixFilterDefinition* pMatrixDef, UINT flags);
HRESULT IMG_PageFilterMedian(_XCPage page, UINT radius, UINT flags);
HRESULT IMG_PageFilterNoise(_XCPage page, LPRECT rect, UINT level, UINT type);
But Despeckle and Deskew have similar functions too:

Code: Select all

HRESULT IMG_PageFilterDespeckle(_XCPage page, UINT flags);
HRESULT IMG_PageDeskew(_XCPage page, COLORREF bkColor, IXC_FreeRotate type, UINT flags);

Re: Despeckle and Deskew feature

Posted: Wed Sep 17, 2014 9:53 am
by Dorwol
Thank you

Re: Despeckle and Deskew feature

Posted: Wed Sep 17, 2014 11:03 am
by Tracker Supp-Stefan
:)