[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Equals operator does not copy an image
From: |
Andreas Weber |
Subject: |
Re: Equals operator does not copy an image |
Date: |
Sun, 06 Dec 2015 10:11:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 |
Am 06.12.2015 um 09:58 schrieb Jonathan Camilleri:
> I just noticed that the equals operator '=' removes the dimension of an
> image, rendering it to grayscale.
>
> imread('04356.jpg');
>
> ans(:,:,1) =
>
> Columns 1 through 15:
> ....
> I need a method to decode these numbers.
You describe yourself as "IT Professional". How probable is it that
there is a problem in such a basic function or is it more likely that
it's your fault? You should learn how indexing works in matrices.
Andy