T O P I C R E V I E W |
zhengyuanyi27 |
Posted - May 01 2021 : 01:58:32 Could somebody tell me whether Is it possible to set a threshold range, such as 100-200, all the pixels <100 and the pixels >200 will be black. I tried ImageEnVect1.Proc.ConvertToBWThreshold(100), while it can only set the pixels <100 be black. Thanks!!
|
2 L A T E S T R E P L I E S (Newest First) |
zhengyuanyi27 |
Posted - May 05 2021 : 06:13:22 Hi Nigel, Thanks!! |
xequte |
Posted - May 03 2021 : 21:30:38 Hi
If this is a grayscale image, you should be able to do it using
CastColorRange( CreateRGB( 0,0,0 ), CreateRGB( 100, 100, 100 ), CreateRGB( 0,0,0 )); CastColorRange( CreateRGB( 200, 200, 200 ), CreateRGB( 255, 255, 255), CreateRGB( 0,0,0 ));
https://www.imageen.com/help/TImageEnProc.CastColorRange.html
Otherwise just work directly with the scanlines:
https://www.imageen.com/help/TIEBitmap.ScanLine.html
Nigel Xequte Software www.imageen.com
|
|
|