image pixel value multiplication with constant using customized multiplier function
3 views (last 30 days)
Show older comments
SHOBA MOHAN on 8 Jun 2017
Commented: Adam on 8 Jun 2017
I wrote a matlab code for a 16 bit multiplier, the function name is mul_16b_mari, checked its functionality and worked fine. I have to use this multiplier to perform image pixel multiplication with an constant 3. I tried by using the code which is given below but didn't work and got the error subscripted assignment dimension mismatch. Can someone help me to rectify this issue. The input image size is 512x512x3. The size of each pixel is 8 bit. I tried with an image of 16 bit pixel size too but got the same error.
I = imread('image_output.bmp');
Adam on 8 Jun 2017
Should be obvious if you use the debugger with a breakpoint on the line that your error message presumably points to, but which you didn't share with us.
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!