-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual artifacts on the sample optimized images #1
Comments
Yes. I also have noticed that. I don't know why that's happening.. Its not like it appears in every image. They are occuring in full dark / full white parts. May be median smoothing can be done to lower the effect of this noice. As median noice is an effective way to remove S&P noice. |
I have a question, why when I return self like in the code:
The problem says: |
@tuanhm11299 in the last line you are returning the result of the call to a callable under the name Let’s see. In object oriented Python, it’s a common practice to use |
Not sure if I am understanding correctly.but if you intend to return the object corresponding to the current class instance, you may just use |
Oh i see, maybe new versions of Python have no return like my code :D |
I am not sure that defining a a class inside another class is very “pythonic”. What I would expect is something like defining a new class that inherits from the previous one. Concerning the return statement, you may do something like |
Yeah that's what I meant, sir. :D |
I noticed that two of the sample optimized images shown in the Readme file have noticeable visual artifacts, that in my opinion shouldn't be present. Please take a look at this screenshot of a detail from
p1_opti_by_pkikani.jpeg
:And this one from
m2_opti_by_pkikani.jpg
:Notice that dust-like scattered pixels? I am not sure what is causing them, but unless the optimized images are meant to be used in very low resolution, it may be a problem.
The text was updated successfully, but these errors were encountered: