Trouble with function returning a variable which has a image set
Show older comments
I have a function which creates patches for the given image. It returns a cell which contains all the patches. If the image I pass is of some format 350*350*3. It works well but if the image is of format 256*150 , it returns the cell with empty images. Funny thing is if i debug the code it create the patches inside the cell fine , but when its returning those patches inside the cell, the cell becomes empty. Code Attached
Answers (0)
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!