Hello! I am using x86 assembly language (MASM) and GUI Turbo Assembler to create a high-performance imaging library, capable of performing various operations on grayscale (PGM) and color (PPM) images in Netpbm format. One of the features I want to implement is Contrast Adjustment, which involves scaling pixel values around from the midpoint of the image, typically requiring multiplying pixel values by a given factor. Since iterating over pixels in assembly can be time-consuming, especially for large images, I would like to use AVX instructions to optimize performance. Could you please assist me coding the Contrast Adjustment feature using AVX instructions in assembly language x86 (MASM) and GUI Turbo Assembler? T
Hello! I am using x86 assembly language (MASM) and GUI Turbo Assembler to create a high-performance imaging library, capable of performing various operations on grayscale (PGM) and color (PPM) images in Netpbm format. One of the features I want to implement is Contrast Adjustment, which involves scaling pixel values around from the midpoint of the image, typically requiring multiplying pixel values by a given factor. Since iterating over pixels in assembly can be time-consuming, especially for large images, I would like to use AVX instructions to optimize performance. Could you please assist me coding the Contrast Adjustment feature using AVX instructions in assembly language x86 (MASM) and GUI Turbo Assembler? Thank you.
Step by step
Solved in 3 steps