ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Artifacts in magnified layer - 16-bit grayscale

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
yeohray2 Posted - Nov 29 2020 : 21:30:19
I am using a magnified layer on a 16-bit grayscale image. When the image is not zoomed, the magnified layer (at 100%) appears ok.



When the underlying image is zoomed in, the magnified layers starts showing artifacts.



Moving the magnified layer out of the way shows the 'normal' image again.



Is there a way to avoid the magnified layer showing the artifacts? I have tried changing the pixel format and the zoom filters, but the artifacts still appear. Thank you.
5   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Dec 01 2020 : 23:21:25
OK, thanks for the update.

Nigel
Xequte Software
www.imageen.com
yeohray2 Posted - Dec 01 2020 : 22:50:43
Thanks, turned out the artifacts was caused by me not setting the Manify.Source value to iemBackgroundLayer.
xequte Posted - Dec 01 2020 : 19:57:53
Hi

I was unable to reproduce that with the demo:

\Demos\Testing\Display\Magnify2\Magnify2.dpr

Can you give me the precise steps?

Are you enabling the resample filter for the layer?

TIEImageLayer( ImageEnView1.Layers[1] ).ResampleFilter := rfFastLinear;
TIEImageLayer( ImageEnView1.Layers[1] ).UseResampleFilter := True;

Nigel
Xequte Software
www.imageen.com
yeohray2 Posted - Nov 30 2020 : 08:21:02
Here it is, as an attachment.

attach/yeohray2/2020113082051_IM_0001.zip
93.19 KB
xequte Posted - Nov 30 2020 : 04:15:32
Hi

Can you post this image, or email it to me.


Nigel
Xequte Software
www.imageen.com