I am working with python programming language, my field is image processing, and I did FFT2 via Scipy, numpy, and OpenCV.
I need to code PSF and MTF to an image would you tell me how to code them in python?
I think there are one of the 2 solutions that is applicable on images :
1. Using the Numerical aperture to calculate the psf based on the diffraction pattern (like the Airy disk)
2. DE-convolution (I think is common)
https://www.zeiss.com/microscopy/int/solutions/reference/basic-microscopy/the-point-spread-function.html
Once the psf is obtained this represent the phase of the OTF , OTF is the Fourier transform of the psf and MTF is the absolute value of the OTF
You can take a cue from here:
https://pypi.org/project/psf/
https://www.edmundoptics.com/resources/application-notes/optics/introduction-to-modulation-transfer-function/
I got this answer from stackoverflow about how to quantize a simple input using python: https://stackoverflow.com/questions/38152081/how-do-you-quantize-a-simple-input-using-python It is works...
08 September 2019 859 4 View
I think SPSS application and Microsoft Excel not enough to undergraduate study for biology students, do you think that Python language could be one of the best programming languages for them? If...
07 August 2019 2,394 8 View
I'd like to make PSF i.e. Point spread function to an image I am using python, if any one can help me and tell me the idea or the mechanism to code it in python? I tried FFT2 via OpenCV, then via...
07 August 2019 5,877 0 View
31 July 2019 2,551 0 View
PyQt5 & tkinter libraries are GUIs for python. These libraries are not easy of use, e.g. in C# and Delphi I can drag and drop the objects in my form to use it. But, in python this is not...
15 July 2019 8,181 6 View
I am using PyWavelets to make wavelike transform to the images by using python language. PyWavelets convert my images to grayscale images, How can I use PyWavelets with color images?
09 July 2019 4,217 3 View
I am using python language and I tried Pycharm, VS Code, Vim, Spyder from anaconda, I am confused I can't find which is the best among them. Can you help me to find the best if I forget another...
09 July 2019 4,154 35 View
06 July 2019 6,670 6 View
Pyinstaller very complicated library for python programmers, do you advice me to use other options to make my programs executable for python language?
06 July 2019 7,602 3 View
06 July 2019 4,938 4 View
I'm currently exploring the application of Python in textile engineering, specifically in areas like data analysis, process automation, and the development of smart textiles. I'm interested in...
10 August 2024 7,429 2 View
Request Python code from this article : Gender equity of authorship in pulmonary medicine over the past decade. THANKS!
08 August 2024 6,242 2 View
Visual Studio Code (VS Code) has become a popular choice among developers for several reasons: 1. **Free and Open Source**: VS Code is free to use and open source, making it accessible to...
07 August 2024 7,013 4 View
Hi all, my experimental XPS results shown that my C3N5 sample consists of N-H bond, hence in this case I should incorporate the N-H bond into my DFT modelling. However, I do notice several papers...
07 August 2024 8,414 2 View
After immunohistochemistry of previously fixed in PFA and EtOH and then frozen 20 μm sections of zebrafish brain, DAPI staining is very weak (right) compared to the same sections stained without...
05 August 2024 9,637 2 View
I need the python code to forecast what crop production will be in the next decade considering climate and crop production variables as seen in the attached.csv file.
05 August 2024 2,977 3 View
Hello everyone, I am currently working on a research project that aims to integrate machine learning techniques into an open source SIEM tool to automate the creation of security use cases from...
04 August 2024 3,196 2 View
Hi everyone I need a file with a dirty and clean potato image
04 August 2024 7,199 4 View
I fabricated Ti3C2Tx using concentrated HF 40%, I plot an XRD as attached image below.. please let to know if I obtained it or not.
02 August 2024 6,789 4 View
I want to do wavelet transform of some compounds for their comparative study? Kindly help me in this regard and provide with proper procedure.
31 July 2024 4,170 0 View