{"blog_title":"BiBoLoG","type":"rich","height":"190","provider_url":"https://hatena.blog","version":"1.0","categories":["MATLAB"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fguernsey.hatenadiary.org%2Fentry%2F20100206%2F1265438799\" title=\"\u753b\u50cf\u306e\u30de\u30b9\u30ad\u30f3\u30b0\u51e6\u7406\u306b\u306f bitand \u3092\u4f7f\u304a\u3046 - BiBoLoG\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://guernsey.hatenadiary.org/","image_url":null,"description":"and \u3092\u3068\u3063\u305f\u3089 logical \u578b\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3067\u3054\u3056\u308b\uff0ebitand \u306b\u3057\u307e\u3057\u3087\u3046\uff0e\u6b21\u5143\u3092\u5408\u308f\u305b\u308b\u305f\u3081\uff0cbw \u3092 a \u306b\u8abf\u6574\u3057\u3066\u3044\u308b\uff0e color = imread('color.png'); bw = imread('bw.png'); % b = bitand( color, bw); % happens error a(:,:,1) = bw; a(:,:,2) = bw; a(:,:,3) = bw; b = bitand( color, a); \u3042\u308b PC \u3067\u5b9f\u884c\u3057\u305f\u3089 MATLAB \u304c\u30a8\u30e9\u30fc\u843d\u3061\u3057\u305f\u3067\u3054\u3056\u308b\uff0e\u5225 PC \u3067\u52d5\u4f5c\u78ba\u8a8d\u3057\u305f\uff0e","width":"100%","author_url":"https://blog.hatena.ne.jp/Guernsey/","title":"\u753b\u50cf\u306e\u30de\u30b9\u30ad\u30f3\u30b0\u51e6\u7406\u306b\u306f bitand \u3092\u4f7f\u304a\u3046","provider_name":"Hatena Blog","url":"https://guernsey.hatenadiary.org/entry/20100206/1265438799","author_name":"Guernsey","published":"2010-02-06 15:46:39"}